joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4755f0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f9c5
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x56fcac]
xor eax, ebp
mov dword [ebp - 0x70], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0x490], 0
jne 0x47564f
mov ecx, dword [ebp - 0xd4]
cmp dword [ecx + 0x304], 0
je 0x47564f
mov ecx, dword [ebp - 0xd4]
call fcn.00478e10
jmp 0x475701
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 0x494], 0
jne 0x475701
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0x304], 0
je 0x475701
push 4
call fcn.004aaa2e
add esp, 4
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x98], 0
je 0x4756b4
mov ecx, dword [ebp - 0xd4]
push ecx
push 0x478fb0
mov ecx, dword [ebp - 0x98]
call fcn.0040b000
mov dword [ebp - 0xd8], eax
jmp 0x4756be
mov dword [ebp - 0xd8], 0
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x94], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x475701
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + 0x854], 1
mov ecx, dword [ebp - 0x90]
call fcn.0040b090
mov edx, dword [ebp - 0xd4]
add edx, 0x154
push edx
push 0x5316b8
mov eax, dword [ebp - 0xd4]
add eax, 0x138
push eax
push 0x5316c0
lea ecx, [ebp - 0xb4]
push ecx
call fcn.0041af30
add esp, 0xc
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00408600
add esp, 0xc
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.004086c0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd0]
call fcn.00401e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb4]
call fcn.00401e70
push 0x44
push 0
lea edx, [ebp - 0x6c]
push edx
call fcn.004ec1b0
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
mov word [ebp - 0x3c], 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0xd4]
add ecx, 0xc8
call fcn.004059a0
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.004059a0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x475835
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.004059a0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x47584f
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xd4]
call fcn.00476ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00401e70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x70]
xor ecx, ebp
call fcn.004ead41
mov esp, ebp
pop ebp
ret
Function at 0x477230
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x18c
call fcn.004059a0
push eax
push 1
push str.NextDisplay
push 0x5317fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x477260
jmp 0x477276
push 1
push 0
push 0x467
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esp, ebp
pop ebp
ret
Function at 0x478820
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fca0
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x56fcac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x878], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.004059a0
push eax
mov eax, dword [ebp + 0x40]
push eax
lea ecx, [ebp + 8]
call fcn.004059a0
push eax
push str._s__d___s_
lea ecx, [ebp - 0x814]
push ecx
call fcn.004ece98
add esp, 0x14
push 3
push 0
push 0
push 0
push 0
push 0x5739f0
mov ecx, dword [ebp - 0x878]
call fcn.004bcdff
push 0x44
push 0
lea edx, [ebp - 0x874]
push edx
call fcn.004ec1b0
add esp, 0xc
mov dword [ebp - 0x874], 0x44
mov word [ebp - 0x844], 1
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x874]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x814]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
jne 0x478923
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x874]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x814]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x828]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401e70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ead41
mov esp, ebp
pop ebp
ret 0x3c
Function at 0x478e70
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fd5e
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x56fcac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x280], ecx
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x21c]
push ecx
push 0
push str.kuai8
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x278], esp
lea eax, [ebp - 0x21c]
push eax
call fcn.00401e30
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x288], ecx
mov dword [ebp - 4], 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x27c], esp
push str.http:__d1.kuai8.com_setup_kuai8_qidong.exe
call fcn.00401e30
mov dword [ebp - 0x28c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x280]
call fcn.00478770
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x478f90
push 0x44
push 0
lea edx, [ebp - 0x274]
push edx
call fcn.004ec1b0
add esp, 0xc
mov dword [ebp - 0x274], 0x44
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x274]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x280]
mov dword [eax + 0x854], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ead41
mov esp, ebp
pop ebp
ret
Function at 0x47da00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x1c]
imul edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x24]
mov dword [eax + 8], edx
cmp dword [ebp + 0xc], 0
jne 0x47da28
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call fcn.0047c100
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x47dadb
cmp dword [ebp + 8], 0
jne 0x47da9c
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x1c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004aaa5e
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x1c]
shl edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004eca20
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0047c140
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov ecx, esp
push 0
call fcn.0046abf0
push ecx
mov ecx, esp
push 0x535418
call fcn.0046abf0
mov ecx, dword [ebp - 0x24]
add ecx, 0x20
push ecx
call fcn.0047b1d0
add esp, 0x18
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004eb346
add esp, 0x10
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 5], al
cmp dword [ebp - 4], 0
je 0x47db1b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.004aaa63
add esp, 4
movzx eax, byte [ebp - 5]
test eax, eax
je 0x47db6f
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x24]
add edx, dword [eax + 8]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x14], edx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x1c]
push eax
push 0x18
mov ecx, dword [ebp - 0x24]
add ecx, 0x24
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.004873f0
push ecx
mov ecx, esp
push 0x535430
call fcn.0046abf0
mov eax, dword [ebp - 0x24]
add eax, 0x20
push eax
call fcn.0047b1d0
add esp, 0x18
jmp 0x47db77
mov ecx, dword [ebp - 0x24]
call fcn.0047cb20
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 8
Function at 0x489330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 8]
push eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004aaa63
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.004aaa5e
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x489440
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
shl eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x489480
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48dcf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
call fcn.004798b0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x48dd24
xor eax, eax
jmp 0x48ddca
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x48dd50
xor eax, eax
jmp 0x48ddca
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004eca20
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.0047a6b0
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x492810
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x56fcac]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x12c], ecx
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.004ec1b0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x118], 2
jne 0x49287a
cmp dword [ebp - 0x124], 6
jne 0x49287a
cmp dword [ebp - 0x120], 1
jne 0x49287a
mov al, 1
jmp 0x49287c
xor al, al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ead41
mov esp, ebp
pop ebp
ret

Function at 0x494f30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
call fcn.004798b0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x494f64
xor eax, eax
jmp 0x49500a
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x494f90
xor eax, eax
jmp 0x49500a
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004eca20
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.0047a6b0
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ba854
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4ba88d
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b4e5a
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046e450
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x4bc749
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4bc78c
call fcn.004b27fb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4bc78c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4bc7a7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004bc303
test ebx, ebx
mov esi, eax
je 0x4bc7a5
test edi, edi
je 0x4bc7a5
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4bd1fb
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x523fad
call fcn.004f2e70
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4bd220
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4bd26c
call fcn.004b3e12
push eax
lea ecx, [ebp - 0x10]
call fcn.0046ea60
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004b2d1b
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0046ead0
mov eax, esi
call fcn.004f2f48
ret 8

Function at 0x4c33fe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x4c341e
cmp dword [edi + 0x54], 0
jne 0x4c341e
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004b27fb
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004c33c5
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
Function at 0x4c3988
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x4c39ce
call fcn.004b27fb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4c39ce
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4c3a11
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4c39fa
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4c39fa
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4c3a0e
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4c8e0b
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4c8e34
call fcn.004b27fb
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x4c8e57
push eax
push dword [esi + 4]
call fcn.004c8d96
push esi
push eax
mov ecx, 0x573ce4
call fcn.004c8811
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4d6e66
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x4d6e6f
xor eax, eax
jmp 0x4d6ed8
cmp dword [esp + 8], 0
jne 0x4d6e7b
call fcn.004b3bc7
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004f066a
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4d6eb6
push dword [esi + 0x10]
call fcn.004f2150
test eax, eax
pop ecx
jne 0x4d6eb6
mov esi, dword [esi + 0xc]
call fcn.004f0d5b
push esi
push dword [eax]
push 1
call fcn.004db71b
push dword [esi + 0x10]
call fcn.004f217f
test eax, eax
pop ecx
je 0x4d6ed5
push dword [esi + 0x10]
call fcn.004f5335
push eax
call fcn.0047ad60
pop ecx
pop ecx
jmp 0x4d6ea4
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x4d6ee1
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x4d6eeb
call fcn.004b3bc7
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.004eb346
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x4d6f18
mov esi, dword [esi + 0xc]
call fcn.004f0d5b
push esi
push dword [eax]
push 1
call fcn.004db71b
pop esi
ret 8

Function at 0x4ead41
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56fcac]
jne 0x4ead4b
repz ret
jmp fcn.004f7f2c
Function at 0x50ae07
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004f65ad
xor ebx, ebx
cmp dword [0x574b94], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x50aedc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x50ae47
xor eax, eax
jmp 0x50afa0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x50ae40
push eax
call fcn.004f654a
mov dword [esp], 0x541820
push edi
mov dword [0x574b94], eax
call esi
push eax
call fcn.004f654a
mov dword [esp], 0x54180c
push edi
mov dword [0x574b98], eax
call esi
push eax
call fcn.004f654a
mov dword [0x574b9c], eax
lea eax, [ebp - 8]
push eax
call fcn.004f357f
test eax, eax
pop ecx
pop ecx
je 0x50aeaa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004ebff3
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x50aedc
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004f654a
cmp eax, ebx
pop ecx
mov dword [0x574ba4], eax
je 0x50aedc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004f654a
pop ecx
mov dword [0x574ba0], eax
mov eax, dword [0x574ba0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x50af55
cmp dword [0x574ba4], esi
je 0x50af55
push eax
call fcn.004f65b6
pop ecx
call eax
cmp eax, ebx
je 0x50af22
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x574ba4]
call fcn.004f65b6
pop ecx
call eax
test eax, eax
je 0x50af22
test byte [ebp - 0x18], 1
jne 0x50af55
lea eax, [ebp - 0xc]
push eax
call fcn.004f362e
test eax, eax
pop ecx
je 0x50af3d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004ebff3
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x50af4c
or dword [ebp + 0x10], 0x200000
jmp 0x50af86
or dword [ebp + 0x10], 0x40000
jmp 0x50af86
mov eax, dword [0x574b98]
cmp eax, esi
je 0x50af86
push eax
call fcn.004f65b6
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x50af86
mov eax, dword [0x574b9c]
cmp eax, esi
je 0x50af86
push dword [ebp - 4]
push eax
call fcn.004f65b6
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x574b94]
call fcn.004f65b6
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret