joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4abd10
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x430], eax
cmp dword [edi + 0x54], 8
lea esi, [edi + 0x40]
mov eax, esi
jb 0x4abd41
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4abf28
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x4abd72
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4abd64
mov ecx, dword [esi]
push ecx
call eax
add esp, 4
test eax, eax
je 0x4abf28
xor eax, eax
mov dword [ebp - 0x41c], 0
push 0x410
push eax
mov word [ebp - 0x42c], ax
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x418], 7
call fcn.004c49e0
lea eax, [edi + 0x28]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4abdaf
mov eax, dword [eax]
push eax
push dword [0x53a6ec]
lea eax, [ebp - 0x414]
push str.___s_s
push eax
call fcn.00497ec0
lea ecx, [ebp - 0x414]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4abdd3
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.00405360
cmp dword [ebp + 0x10], 0
je 0x4abe42
push dword [0x53a6f0]
lea eax, [ebp - 0x414]
push 0x4fec14
push eax
call fcn.00497ec0
lea ecx, [ebp - 0x414]
add esp, 0xc
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4abe20
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.00405360
push ebx
push dword [0x53a49c]
lea eax, [ebp - 0x414]
push str.___s_d
push eax
call fcn.00497ec0
lea ecx, [ebp - 0x414]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4abe66
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.00405360
push dword [ebp - 0x430]
lea eax, [ebp - 0x414]
push dword [0x53a6f4]
push str.___s_s
push eax
call fcn.00497ec0
lea ecx, [ebp - 0x414]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4abeb1
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.00405360
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
jb 0x4abee8
mov eax, dword [ebp - 0x42c]
cmp dword [esi + 0x14], 8
jb 0x4abef0
mov esi, dword [esi]
push 0xa
push 0
push eax
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
lea ecx, [ebp - 0x42c]
cmp eax, 0x20
setg bl
call fcn.00407320
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4abf40
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.004833a0
test eax, eax
je 0x4ac0da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
cmp dword [esi + 0x158], 8
mov dword [ebp - 4], eax
lea eax, [esi + 0x144]
jb 0x4abf74
mov eax, dword [eax]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push dword [ebp + 8]
push 0x4fecc8
push eax
call fcn.004832c0
add esp, 0x14
cmp dword [esi + 0x16c], 0
je 0x4abfee
cmp dword [esi + 0x184], 0
je 0x4abfee
cmp dword [esi + 0x19c], 0
je 0x4abfee
cmp dword [esi + 0x1a0], 8
lea eax, [esi + 0x18c]
jb 0x4abfb8
mov eax, dword [eax]
cmp dword [esi + 0x188], 8
lea ecx, [esi + 0x174]
jb 0x4abfc9
mov ecx, dword [ecx]
cmp dword [esi + 0x170], 8
lea edx, [esi + 0x15c]
jb 0x4abfda
mov edx, dword [edx]
push eax
push ecx
push edx
lea eax, [ebp - 4]
push str.___icon__s____iconIndex__s____server_mark__s_
push eax
call fcn.0048bfb0
add esp, 0x14
push 0
push str.UserServer_LoginServer_Class
call dword [sym.imp.USER32.dll_FindWindowW]
or ebx, 0xffffffff
mov dword [ebp + 8], eax
test eax, eax
je 0x4ac06d
call fcn.004833a0
test eax, eax
je 0x4ac0da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add esi, 0x12c
add eax, 0x10
mov dword [ebp + 0xc], eax
cmp dword [esi + 0x14], 8
jb 0x4ac02d
mov esi, dword [esi]
mov edi, dword [ebp - 4]
lea eax, [ebp + 0xc]
push edi
push esi
push str.__s___s
push eax
call fcn.0048bfb0
mov esi, dword [ebp + 0xc]
push esi
push 0x402
push dword [ebp + 8]
call fcn.004a5a60
add esp, 0x1c
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4ac0bc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4ac0bc
push dword [esi + 4]
lea eax, [ebp - 4]
push str.___ipc_d
push eax
call fcn.0048bfb0
add esi, 0x12c
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4ac091
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ac0b9
cmp dword [esi + 0x14], 8
jb 0x4ac0a4
mov esi, dword [esi]
mov edi, dword [ebp - 4]
push 5
push 0
push edi
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4ac0bc
mov edi, dword [ebp - 4]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4ac0d1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00483200
int3
Function at 0x4ad730
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
sub eax, 0x3e9
je 0x4ad7d0
sub eax, 1
jne 0x4ad779
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 1
call esi
push 2
movzx edi, ax
call esi
or ax, di
mov ecx, 0xf
bt ax, cx
jb 0x4ad781
push 0x3ea
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx esi, ax
sub esi, dword [ebx + 0x40]
shr eax, 0x10
push 0xfffffffffffffff0
push dword [ebx + 4]
movsx edi, ax
sub edi, dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4ad7b3
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
jmp 0x4ad7b6
mov eax, dword [ebx + 4]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10
push 0x3e9
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x18]
call dword [eax + 0x74]
test eax, eax
jne 0x4ad779
cmp dword [ebx + 0x38], 5
je 0x4ad779
mov eax, dword [0x543020]
test eax, eax
jne 0x4ad81d
push 0x543eb0
push 0x2c
call fcn.004c203f
add esp, 8
test eax, eax
je 0x4ad816
mov ecx, eax
call fcn.00485670
jmp 0x4ad818
xor eax, eax
mov dword [0x543020], eax
push 5
push str.switch_panel__mode:__d
push str.web_view_base
push eax
call fcn.00486af0
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x18]
add esp, 0x10
call dword [eax + 8]
test eax, eax
je 0x4ad84a
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x18]
push 0
call dword [eax + 0x20]
mov ecx, dword [ebx + 0x50]
push str.core_error
mov eax, dword [ecx]
call dword [eax + 0x1a0]
mov ecx, dword [ebx + 0x50]
push 1
mov eax, dword [ecx]
call dword [eax + 0x4c]
pop esi
mov dword [ebx + 0x38], 5
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x4be0c2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x4be111
mov esi, dword [ebp + 0x18]
lea eax, [ebp + 0x10]
push edi
push eax
push esi
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4be111
cmp esi, dword [ebp + 0x10]
je 0x4be10c
push 0x50f7a0
push 1
push edi
push edi
call fcn.004bd755
jmp 0x4be11f
xor eax, eax
inc eax
jmp 0x4be124
mov eax, 0x50f7a0
push eax
push eax
push edi
push edi
call fcn.004bd7a2
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x4bf311
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4bf33b
mov eax, 0x50f7a0
push eax
push eax
push 0
push 0
call fcn.004bd7a2
add esp, 0x10
xor eax, eax
pop ebp
ret
xor eax, eax
inc eax
pop ebp
ret

Function at 0x4c007d
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x4c03dd
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x4c069c
Capabilities:
Check mutex on windows

Disassembly:
push 0xa4
mov eax, 0x4f5b3b
call fcn.004c2c98
mov esi, ecx
mov dword [ebp - 0xa0], esi
xor ebx, ebx
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
push 0x41
lea eax, [ebp - 0x98]
push eax
call fcn.004c0e6d
add esp, 0x14
xor eax, eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x98]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x9c], edi
test edi, edi
je 0x4c07e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4c0715
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], ebx
call fcn.004c0ccc
test eax, eax
je 0x4c074a
mov dword [esi], eax
mov eax, dword [esi]
inc dword [eax + 0x5bc]
or dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test ebx, ebx
jne 0x4c07e8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4c07e8
push 0x5c0
call fcn.004c09a7
pop ecx
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4c076d
push edi
mov ecx, eax
call fcn.004c0829
jmp 0x4c076f
mov eax, ebx
mov byte [ebp - 4], bl
mov dword [esi], eax
test eax, eax
je 0x4c07f0
xor ebx, ebx
inc ebx
mov dword [ebp - 0xb0], ebx
push eax
call fcn.004c0e0c
pop ecx
test eax, eax
jne 0x4c0723
mov dword [ebp - 0xa8], 3
push 0x533d5c
lea eax, [ebp - 0xa8]
jmp 0x4c0805
mov eax, esi
call fcn.004c2c1c
ret
mov dword [ebp - 0xa4], 1
push 0x533d5c
lea eax, [ebp - 0xa4]
push eax
call fcn.004c5942
int3
Function at 0x4c0829
Capabilities:
Allocate thread local storage

Disassembly:
push 4
mov eax, 0x4f5b6e
call fcn.004c2c2d
mov esi, ecx
mov dword [ebp - 0x10], esi
and dword [esi], 0
lea ecx, [esi + 8]
or dword [esi + 4], 0xffffffff
call fcn.004c066d
and dword [ebp - 4], 0
and dword [esi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x4c0875
mov eax, dword [ebp + 8]
mov dword [esi], eax
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004c2c07
ret 4
push 0x533d5c
lea eax, [ebp + 8]
mov dword [ebp + 8], 2
push eax
call fcn.004c5942
int3

Function at 0x4c0a41
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebx]
add ecx, 8
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x5a8]
mov dword [ecx + 0x5b0], eax
call fcn.004c0bd5
mov edi, eax
test edi, edi
je 0x4c0acc
mov eax, dword [ebp - 4]
cmp eax, dword [edi]
jne 0x4c0a7c
mov esi, edi
jmp 0x4c0ab8
push dword [edi]
push 1
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
jne 0x4c0ab1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4c0aa4
mov ecx, dword [ebx]
push edi
add ecx, 8
call fcn.004c0b70
jmp 0x4c0ab8
push 0x502a70
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4c0ab8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx]
add ecx, 8
call fcn.004c0bd5
mov edi, eax
test edi, edi
jne 0x4c0a71
test esi, esi
jne 0x4c0ae1
mov ecx, dword [ebx]
add ecx, 8
call fcn.004c0d5d
mov esi, eax
test esi, esi
je 0x4c0ae1
mov eax, dword [ebp - 4]
mov dword [esi], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x4e5744
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e55c3

Function at 0x4e6d3f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e66ad

Function at 0x4e6d4a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e68e8
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x105c2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105c21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x105c207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105c206a
add dl, dl
jne 0x105c2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105c20dc
xor eax, eax
add dl, dl
jne 0x105c2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105c217d
add dl, dl
jne 0x105c20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105c20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105c20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105c20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105c20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105c2075
mov eax, 1
add dl, dl
jne 0x105c20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105c20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105c20e1
sub eax, ebx
mov ebx, 1
jne 0x105c2128
mov ecx, 1
add dl, dl
jne 0x105c210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105c2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105c2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105c2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105c213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105c214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105c2136
cmp eax, 0x7d00
jae 0x105c216d
cmp eax, 0x500
jb 0x105c2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105c2075
cmp eax, 0x7f
ja 0x105c2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105c2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105c219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x105c2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5f800180
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3c3e4c57
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x43c89e
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.https:__live.douyin.com_
mov ecx, 2
call fcn.00401904
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x43c8e3
push ebx
call fcn.00576318
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 8
call fcn.0057631e
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
mov eax, str.Host:_live.douyin.com_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_116.0.0.0_Safari_537.36_r_n
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
push 0
lea eax, [ebp - 4]
push eax
call fcn.0043cadb
mov ebx, eax
test ebx, ebx
je 0x43c9ef
push ebx
call fcn.00576318
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x43c9ff
push ebx
call fcn.00576318
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x43ca0f
push ebx
call fcn.00576318
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x43ca1f
push ebx
call fcn.00576318
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x43ca2f
push ebx
call fcn.00576318
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x43ca3f
push ebx
call fcn.00576318
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x43ca4f
push ebx
call fcn.00576318
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x43ca5f
push ebx
call fcn.00576318
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x43ca6f
push ebx
call fcn.00576318
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x57e580
call fcn.0057632a
add esp, 0x10
call fcn.00576318
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x43caae
push eax
mov ebx, eax
call fcn.00401899
inc eax
push eax
call fcn.0057631e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x43cab3
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x43cac4
push ebx
call fcn.00576318
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x43cad4
push ebx
call fcn.00576318
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4