joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413eff
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45cec8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004079b6
mov dword [ebp - 0x14], eax
cmp dword [0x6947b0], esi
jne 0x413ff2
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x413f7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4140d2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4140d2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4140d2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x6947b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x6947b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x6947b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6947c0], eax
test eax, eax
je 0x413fef
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6947bc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x414017
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41400a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41402c
push 4
pop eax
jmp 0x4140d4
cmp dword [ebp - 0x14], esi
je 0x41402c
push dword [0x6947b0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x414011
mov eax, dword [0x6947bc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41408a
cmp dword [0x6947c0], edi
je 0x41408a
push eax
call ebx
push dword [0x6947c0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41408a
test eax, eax
je 0x41408a
call ecx
test eax, eax
je 0x41407f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41407f
test byte [ebp - 8], 1
jne 0x41408a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4140ba
mov eax, dword [0x6947b4]
cmp eax, edi
je 0x4140b7
push eax
call ebx
test eax, eax
je 0x4140b7
call eax
mov esi, eax
test esi, esi
je 0x4140b7
mov eax, dword [0x6947b8]
cmp eax, edi
je 0x4140b7
push eax
call ebx
test eax, eax
je 0x4140b7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x6947b0]
call ebx
test eax, eax
je 0x4140d2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4140d4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bf0
mov esp, ebp
pop ebp
ret
Function at 0x409e00
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42e200
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push ebp
push esi
mov esi, ecx
or ebp, 0xffffffff
mov eax, dword [esi + 0x64]
cmp eax, ebp
je case.default.0x409e37
dec eax
cmp eax, 5
ja case.default.0x409e37
jmp dword [eax*4 + 0x409fe0]
push 4
push 0x43c580
push 0x43a3b4
mov ecx, esi
call fcn.00425daa
cmp eax, 6
jne 0x409fc6
mov byte [esi + 0x335], 1
mov byte [esi + 0x334], 0
jmp 0x409fc6
push 2
mov ecx, esi
call fcn.00427032
jmp 0x409fc6
push esi
lea ecx, [esp + 0x10]
call fcn.0040d810
lea ecx, [esp + 0xc]
mov dword [esp + 0x19c], 0
call fcn.00423a22
mov dword [esp + 0x19c], 1
lea eax, [esp + 0x124]
mov dword [esp + 0x124], 0x430624
mov dword [esp + 8], eax
mov eax, dword [esp + 0x128]
mov byte [esp + 0x19c], 5
test eax, eax
je 0x409ed6
push eax
call fcn.004234b3
add esp, 4
lea ecx, [esp + 0x110]
mov dword [esp + 0x110], 0x430624
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x114]
mov byte [esp + 0x19c], 6
test eax, eax
je 0x409f08
push eax
call fcn.004234b3
add esp, 4
push 0x40a0d0
push 0xa
lea edx, [esp + 0xc8]
push 8
push edx
mov byte [esp + 0x1ac], 2
call fcn.00416291
lea ecx, [esp + 0x68]
mov byte [esp + 0x19c], 1
call fcn.0040c4f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x19c], ebp
call fcn.004236f5
jmp 0x409fc6
push esi
lea ecx, [esp + 0x13c]
call fcn.0040e6e0
lea ecx, [esp + 0x138]
mov dword [esp + 0x19c], 7
call fcn.00423a22
lea ecx, [esp + 0x138]
mov dword [esp + 0x19c], ebp
call fcn.004236f5
jmp 0x409fc6
mov ecx, esi
call fcn.00402370
mov ecx, esi
mov byte [esi + 0x334], 0
call fcn.0040a0e0
pop esi
pop ebp
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
add esp, 0x198
ret
push 1
push 0
push 0
push str.http:__www.nieo.com.tw
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [esi + 0x64], ebp
mov ecx, dword [esp + 0x194]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x198
ret

Function at 0x40bbd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
mov ebx, dword [esp + 0x10]
sub eax, edi
cmp eax, ebx
jae 0x40bbf1
call esi
sub eax, edi
cmp eax, ebx
jb 0x40bbe9
pop edi
pop esi
pop ebx
ret 4
Function at 0x40e130
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x34
lea eax, [esp]
push ebp
push esi
push edi
mov ebp, ecx
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea esi, [ebp + 0x74]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0040c590
mov ecx, dword [0x43a4b4]
lea edi, [ebp + 0x60]
push ecx
push edi
mov ecx, esi
call fcn.0040d7d0
test eax, eax
je 0x40e18c
mov edx, dword [eax + 0x20]
push eax
mov eax, dword [eax + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0040d030
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x30], 0x129
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], 0x142
mov dword [esp + 0x3c], 0x1f
mov dword [esp + 0x40], 0xda
mov dword [esp + 0x44], 0xaf
mov dword [esp + 0x48], 0x109
mov dword [esp + 0x4c], 0xc8
call ebx
test eax, eax
je 0x40e24c
mov edx, dword [0x43a4b0]
mov ecx, esi
push edx
push edi
call fcn.0040d7d0
test eax, eax
je 0x40e210
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
push eax
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, esi
call fcn.0040d030
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x40e24c
mov ecx, dword [0x43a4ac]
push ecx
push edi
mov ecx, esi
call fcn.0040d7d0
test eax, eax
je 0x40e245
mov edx, dword [eax + 0x20]
push eax
mov eax, dword [eax + 0x1c]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.0040d030
mov byte [ebp + 0xc8], 1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call ebx
test eax, eax
pop ebx
je 0x40e2ee
mov edx, dword [0x43a4a8]
mov ecx, esi
push edx
push edi
call fcn.0040d7d0
test eax, eax
je 0x40e28e
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
push eax
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0040d030
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x40e2ee
mov ecx, dword [0x43a4a4]
push ecx
push edi
mov ecx, esi
call fcn.0040d7d0
test eax, eax
je 0x40e2c3
mov edx, dword [eax + 0x20]
push eax
mov eax, dword [eax + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0040d030
lea esi, [ebp + 0x5c]
lea ecx, [ebp + 0xcc]
push esi
call fcn.004251f4
mov edx, dword [esi]
mov eax, dword [edx - 8]
test eax, eax
jne 0x40e2e7
push str.FrankLiao
mov ecx, esi
call fcn.004241e1
mov byte [ebp + 0xc8], 1
pop edi
pop esi
pop ebp
add esp, 0x34
ret
Function at 0x40e540
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x34
lea eax, [esp]
push ebp
push esi
push edi
mov ebp, ecx
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea esi, [ebp + 0x60]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0040c590
mov ecx, dword [0x43a4b4]
lea edi, [ebp + 0xb4]
push ecx
push edi
mov ecx, esi
call fcn.0040d7d0
test eax, eax
je 0x40e59f
mov edx, dword [eax + 0x20]
push eax
mov eax, dword [eax + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0040d030
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x30], 0x129
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], 0x142
mov dword [esp + 0x3c], 0x1f
mov dword [esp + 0x40], 0xd3
mov dword [esp + 0x44], 0x9b
mov dword [esp + 0x48], 0x102
mov dword [esp + 0x4c], 0xb4
call ebx
test eax, eax
je 0x40e65c
mov edx, dword [0x43a2ec]
mov ecx, esi
push edx
push edi
call fcn.0040d7d0
test eax, eax
je 0x40e623
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
push eax
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, esi
call fcn.0040d030
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x40e65c
mov ecx, dword [0x43a2d4]
push ecx
push edi
mov ecx, esi
call fcn.0040d7d0
test eax, eax
je 0x40e658
mov edx, dword [eax + 0x20]
push eax
mov eax, dword [eax + 0x1c]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.0040d030
mov byte [ebp + 0x5c], 1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call ebx
test eax, eax
pop ebx
je 0x40e6d3
mov edx, dword [0x43a4d4]
mov ecx, esi
push edx
push edi
call fcn.0040d7d0
test eax, eax
je 0x40e69a
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
push eax
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0040d030
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x40e6d3
mov ecx, dword [0x43a4cc]
push ecx
push edi
mov ecx, esi
call fcn.0040d7d0
test eax, eax
je 0x40e6cf
mov edx, dword [eax + 0x20]
push eax
mov eax, dword [eax + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0040d030
mov byte [ebp + 0x5c], 1
pop edi
pop esi
pop ebp
add esp, 0x34
ret
Function at 0x419d82
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x43b710
cmp edx, dword [eax]
je 0x419da4
add eax, 8
inc ecx
cmp eax, 0x43b7a0
jl 0x419d95
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x43b710]
jne 0x419ed2
mov eax, dword [0x43e5bc]
cmp eax, 1
je 0x419eac
test eax, eax
jne 0x419dd5
cmp dword [0x43b2e0], 1
je 0x419eac
cmp edx, 0xfc
je 0x419ed2
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x419e0c
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041a010
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041a100
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x419e4f
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041a100
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4332d0
push edi
call fcn.0041c6b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041a010
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041a020
lea eax, [ebp - 0xa0]
push 0x4332b0
push eax
call fcn.0041a020
push dword [esi + 0x43b714]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041a020
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041c627
add esp, 0x2c
pop edi
jmp 0x419ed2
lea eax, [ebp + 8]
lea esi, [esi + 0x43b714]
push 0
push eax
push dword [esi]
call fcn.0041a100
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x421630
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00417580
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4216fb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4216fb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4216ae
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4216b9
or bh, 8
and edi, 0x8000000
je 0x4216d4
mov eax, dword [0x43fd5c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4216fb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421ad0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x421afb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x421b1f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x421b3a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x4251f4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x42522c
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.004242c0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00424298
jmp 0x425238
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x426777
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 0x4267b9
call fcn.0042ae43
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4267b9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4267b0
xor eax, eax
jmp 0x4267c1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004267c7
pop edi
pop esi
pop ebx
ret 4

Function at 0x42b668
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 0x42b696
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42b6b4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042b5ce
jmp 0x42b6b4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42b6b4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0042b5ce
test edi, edi
mov eax, edi
jne 0x42b69e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40aa30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46888b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045d366
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40aab2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045b27d
mov eax, dword [eax]
push 0x47f1c0
push eax
call fcn.0044e0e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045d5f1
test bl, bl
je 0x40aab2
push 0x47f1c0
lea ecx, [esp + 0xc]
call fcn.0045d981
push 0x482d3c
lea ecx, [esp + 0xc]
call fcn.0045d981
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40aaee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045d5f1
jmp 0x40abb9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40ab72
lea edx, [esp + 0x7c]
push 0x482d38
push edx
call fcn.0044e0e4
add esp, 8
test eax, eax
je 0x40ab72
lea eax, [esp + 0x7c]
push 0x482d34
push eax
call fcn.0044e0e4
add esp, 8
test eax, eax
je 0x40ab72
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ab02
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045d5f1
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40b3b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40b412
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40b420
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46890b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4891f0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40b558
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b486
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d5f1
xor eax, eax
jmp 0x40b5cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045d72e
push esi
lea ecx, [esp + 0xc]
call fcn.0045d9bd
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40b5ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040b3b0
test eax, eax
jne 0x40b5ad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040b3b0
test eax, eax
jne 0x40b5ad
lea eax, [esp + 0x14]
push 0x482d50
push eax
call fcn.0044f120
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b58c
lea ecx, [esp + 0x14]
push 0x482d4c
push ecx
call fcn.0044f0a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b58c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b58f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045d6de
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b49e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d5f1
xor eax, eax
jmp 0x40b5cf
mov byte [esi], 0
push 0x482d48
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045d5f1
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4