joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478d00
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e7531
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x478d3d
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.004de6fd
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.004dda45
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.00471ad0
lea ecx, [esp + 8]
call fcn.004de96c
lea ecx, [esp + 0x30]
call fcn.004ddba9
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.004dda45
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.00471f70
lea ecx, [esp + 0x74]
call fcn.004ddba9
lea ecx, [esp + 8]
call fcn.004de96d
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.0046f6e0
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.004719e0
mov ecx, esi
call fcn.004725f0
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.004719e0
mov ecx, esi
call fcn.004725f0
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.004719e0
mov ecx, esi
call fcn.004725f0
mov ecx, dword [edi + 0x5c]
call fcn.0046eec0
push eax
mov ecx, esi
call fcn.0046eed0
mov ecx, dword [edi + 0x5c]
call fcn.0046f480
push eax
mov ecx, esi
call fcn.0046f420
mov ecx, dword [edi + 0x5c]
call fcn.0046f5a0
push eax
mov ecx, esi
call fcn.0046f550
mov ecx, dword [edi + 0x5c]
push 0
call fcn.0046e7a0
push eax
mov ecx, esi
call fcn.0046e7b0
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.004ddb21
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.004ddb21
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004de786
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x47a580
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e7757
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.004d4a90
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.004d4a90
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.0047b0a0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x47b0f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e7830
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004e0aa1
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x47b123
xor al, al
jmp 0x47b24f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x47b145
xor al, al
jmp 0x47b24f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x47b158
xor al, al
jmp 0x47b24f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x47b16c
xor al, al
jmp 0x47b24f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.004d4b55
test eax, eax
jne 0x47b1a0
xor al, al
jmp 0x47b24f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x5d920c
mov dword [esp + 0x20], ebp
call fcn.004e0aa1
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004dd6fa
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004dd751
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x47b234
mov ax, word [ebx]
test ax, ax
je 0x47b226
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.0047b270
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x47b20a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004dd751
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x47b7b0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004dedaa
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x47b7f6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.004c4918
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x6c028c
push ecx
call fcn.004c6464
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x47e920
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x47e986
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x47e986
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x47e967
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x47ed10
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x47ed48
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x47f9d0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x47fa19
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x47fe90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7b80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0047fa40
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0047fac0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0047fac0
lea ecx, [esi + 0xc]
call fcn.004d6865
lea ecx, [esi + 0x10]
call fcn.004d6865
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00481050
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00481050
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00481050
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004d68da
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d68da
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x486a90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x486adc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x486adc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x486ac6
push eax
call ebp
test ax, ax
jl 0x486ad4
inc esi
add edi, 4
cmp esi, 6
jb 0x486ab8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00486790
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4892a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x489300
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x489300
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x489300
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x489300
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x489310
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x493870
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x4939a0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x71f1a8]
sub esp, 0x138
test eax, eax
je 0x4939cc
push 0x118
push eax
lea eax, [esp + 8]
push eax
call fcn.004c53c0
add esp, 0xc
mov byte [esp + 0x118], 0
jmp 0x4939dc
lea ecx, [esp]
push ecx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebp
push esi
push edi
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x493a01
lea eax, [esp + 0xc]
dec eax
cmp byte [eax + ecx], 0x5c
jne 0x493a01
dec ecx
test ecx, ecx
jg 0x4939f6
mov esi, dword [esp + 0x148]
mov byte [esp + ecx + 0xc], 0
lea edx, [esp + 0xc]
push edx
push str._s_sqlite_
push esi
call fcn.004c6464
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea eax, [edi + esi]
push eax
push 0xf
call fcn.004a32f0
add esp, 0x14
mov ecx, 0xf
xor eax, eax
xor edx, edx
mov al, byte [edi + esi]
mov ebp, 0x3e
div ebp
inc edi
dec ecx
mov dl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], dl
jne 0x493a3e
push esi
mov byte [edi + esi], 0
call fcn.00493870
add esp, 4
test eax, eax
jne 0x493a0d
pop edi
pop esi
pop ebp
add esp, 0x138
ret

Function at 0x493ae0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
test esi, esi
push edi
jle 0x493b2b
mov ebx, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx]
lea eax, [esp + 0x1c]
push 0
push eax
push esi
push edi
push ecx
call ebp
test eax, eax
je 0x493b2b
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jbe 0x493b1c
sub esi, ecx
add edi, ecx
test esi, esi
jg 0x493afa
test eax, eax
je 0x493b2b
cmp esi, ecx
jg 0x493b2b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
ret

Function at 0x493be0
Capabilities:
Get file size

Disassembly:
mov ecx, dword [esp + 4]
lea eax, [esp + 4]
push esi
push eax
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [esp + 8]
push 1
push 0
push 0
push eax
call fcn.004c4a10
mov ecx, eax
xor eax, eax
add ecx, esi
pop esi
adc edx, eax
mov eax, dword [esp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
ret

Function at 0x493c20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x493c2d
xor eax, eax
pop esi
ret
call fcn.00493c70
test eax, eax
jne 0x493c4c
push edi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
cmp ecx, 0x104
jbe 0x493c4c
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x493c5c
xor eax, eax
pop esi
ret
and al, 0x10
xor ecx, ecx
cmp al, 0x10
pop esi
sete cl
mov eax, ecx
ret
Function at 0x499360
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 8]
mov cl, byte [esi + 0x41]
mov eax, dword [esi + 0x18]
test cl, cl
jne 0x49937d
mov eax, dword [esp + 0xc]
pop esi
mov dword [eax], 1
xor eax, eax
ret
mov ecx, dword [esi + 0x1c]
xor edx, edx
inc ecx
mov word [esi + 0x3a], 0
mov dword [esi + 0x1c], ecx
mov dx, word [eax + 0x14]
cmp ecx, edx
jl 0x49943a
mov cl, byte [eax + 4]
test cl, cl
jne 0x4993d8
mov edx, dword [eax + 0x44]
xor ecx, ecx
mov cl, byte [eax + 8]
lea eax, [ecx + edx + 8]
push eax
call fcn.00497e00
push eax
push esi
call fcn.00498fa0
add esp, 0xc
test eax, eax
jne 0x499458
push esi
call fcn.00499000
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx], 0
pop esi
ret
push eax
call fcn.00499460
add esp, 4
test eax, eax
jne 0x49940b
push esi
call fcn.004994a0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
xor edx, edx
add esp, 4
mov dx, word [eax + 0x14]
cmp ecx, edx
jl 0x49941d
push eax
call fcn.00499460
add esp, 4
test eax, eax
je 0x4993e5
mov eax, dword [esp + 0xc]
mov dword [eax], 1
mov byte [esi + 0x41], 0
xor eax, eax
pop esi
ret
mov ecx, dword [esp + 0xc]
mov dword [ecx], 0
mov dl, byte [eax + 6]
test dl, dl
je 0x49944b
push ecx
push esi
call fcn.00499360
add esp, 8
pop esi
ret
mov ecx, dword [esp + 0xc]
mov dword [ecx], 0
mov cl, byte [eax + 4]
test cl, cl
je 0x49944f
xor eax, eax
pop esi
ret
push esi
call fcn.00499000
add esp, 4
pop esi
ret
Function at 0x4a05b0
Capabilities:
Reference sql statements

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
cmp edi, 2
jl 0x4a0633
mov ebx, dword [esp + 0x10]
xor eax, eax
xor ecx, ecx
xor edx, edx
mov al, byte [ebx + edi - 1]
mov dl, byte [ebx]
mov cl, byte [eax + 0x5da5d0]
mov eax, ecx
xor ecx, ecx
mov cl, byte [edx + 0x5da5d0]
lea eax, [eax + eax*2]
shl ecx, 2
xor eax, ecx
mov ecx, 0x7f
xor eax, edi
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + str._QhZ]
mov esi, eax
dec esi
js 0x4a0633
xor ecx, ecx
mov cl, byte [esi + 0x5dad14]
cmp ecx, edi
jne 0x4a0626
xor edx, edx
push edi
mov dx, word [esi*2 + 0x5dad88]
push ebx
add edx, 0x5daa10
push edx
call fcn.0048bed0
add esp, 0xc
test eax, eax
je 0x4a063c
xor eax, eax
mov al, byte [esi + 0x5daca0]
mov esi, eax
dec esi
jns 0x4a05fb
pop edi
pop esi
mov eax, 0x1b
pop ebx
ret
xor eax, eax
pop edi
mov al, byte [esi + 0x5dae6c]
pop esi
pop ebx
ret
Function at 0x4d8cba
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d8cf2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d6d35
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d6d0d
jmp 0x4d8cfe
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4da4b1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4da4f3
call fcn.004e0aa1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4da4f3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4da4ea
xor eax, eax
jmp 0x4da4fb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004da501
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e0fd1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4e0fff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e101d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e0f37
jmp 0x4e101d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e101d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e0f37
test edi, edi
mov eax, edi
jne 0x4e1007
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4012ba
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov dword [ebp - 0x13c], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
sub esp, 8
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0xffffffff
jne 0x401302
mov dword [ebp - 0x140], 0
jmp 0x4013c0
mov dword [ebp - 0x138], 0x128
lea eax, [ebp - 0x138]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
call sub.KERNEL32.dll_Process32First
sub esp, 8
test eax, eax
jne 0x401348
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov dword [ebp - 0x140], 0
jmp 0x4013c0
lea eax, [ebp - 0x138]
add eax, 0x24
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcmpA
sub esp, 8
test eax, eax
jne 0x401375
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x140], eax
jmp 0x4013c0
lea eax, [ebp - 0x138]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
call sub.KERNEL32.dll_Process32Next
sub esp, 8
test eax, eax
je 0x401396
jmp 0x401348
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov dword [esp], 0
call sub.KERNEL32.dll_SetLastError
sub esp, 4
mov dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
leave
ret
Function at 0x401760
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.00401cc0
call sym.___main
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x401798
jmp 0x401836
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x401797
cmp cl, 0x22
je 0x4017f0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x401810
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x401810
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x4017d0
jmp 0x401810
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x4017f0
cmp cl, 0x22
je 0x401872
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x401830
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x401820
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x401854
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x401810

Function at 0x401ff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x1010ed8f
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.1010ee0e
jae 0x1010ed9b
xor ecx, ecx
call fcn.1010ee0e
jae 0x1010edc5
xor eax, eax
call fcn.1010ee0e
jae 0x1010edd6
mov al, 0x10
call fcn.1010ee0e
adc al, al
jae 0x1010edb7
jne 0x1010ee03
stosb byte es:[edi], al
jmp 0x1010ed9c
call fcn.1010ee1a
dec ecx
loop 0x1010ede2
mov eax, ebp
call fcn.1010ee18
jmp 0x1010ee04
lodsb al, byte [esi]
shr eax, 1
je 0x1010ee2a
adc ecx, 2
mov ebp, eax
jmp 0x1010ee04
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.1010ee18
cmp eax, 0x7d00
jae 0x1010ee02
cmp eax, 0x500
jae 0x1010ee03
cmp eax, 0x7f
ja 0x1010ee04
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1010ed9c
pop ebp
ret 8

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

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