joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001150
Capabilities:
Resolve dns

Disassembly:
sub esp, 4
mov dword [esp], 0
push esi
push edi
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x10001197
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x100011a3
movsx edx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
lea edi, [esp + 8]
mov ecx, edx
mov esi, dword [eax]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 4
ret 4
xor eax, eax
pop edi
pop esi
add esp, 4
ret 4

Function at 0x100018b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x14
push esi
push edi
push 6
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
push 4
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 1
push ecx
mov dword [eax], esi
push 1
push 6
push esi
call dword [sym.imp.WSOCK32.dll_setsockopt]
lea ecx, [esp + 0xc]
xor eax, eax
mov edx, dword [esp + 0x24]
mov dword [ecx], eax
push edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov word [esp + 0x10], 2
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 0xe], ax
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.WSOCK32.dll_htonl]
lea ecx, [esp + 0xc]
push 0x10
mov dword [esp + 0x14], eax
push ecx
push esi
call dword [sym.imp.WSOCK32.dll_connect]
test eax, eax
je 0x1000193d
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
xor eax, eax
pop edi
pop esi
add esp, 0x14
ret 0x10
mov edi, dword [esp + 0x28]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentConsoleFontEx]
push eax
push edi
push esi
call dword [sym.imp.WSOCK32.dll_send]
mov eax, esi
pop edi
pop esi
add esp, 0x14
ret 0x10
Function at 0x4021a7
Capabilities:
Create process on windows

Disassembly:
push 1
push 0x4554e0
push 0
push str.http:__www.reallegal.com_binderpull.asp
push str.open
call fcn.00406bea
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x4021c7
Capabilities:
Create process on windows

Disassembly:
push esi
lea esi, [ecx + 0x4b0]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4021de
mov esi, dword [esi]
jmp 0x4021e3
mov esi, str.http:__www.deposchedule.com_
push 1
push 0x4554e0
push 0
push esi
push str.open
call fcn.00406bea
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40543e
xor al, al
jmp 0x40544d
mov edx, dword [esp + 8]
mov ecx, eax
shr ecx, 4
mov al, 1
and cl, al
mov byte [edx], cl
ret 8

Function at 0x4058da
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x38c]
test eax, eax
je 0x405aa1
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
and dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0x15c]
push eax
call ebx
lea eax, [ebp - 0x15c]
push 0x5c
push eax
call fcn.00433220
pop ecx
test eax, eax
pop ecx
je 0x405aa1
lea eax, [ebp - 0x15c]
push 0x5c
push eax
call fcn.00433220
and byte [eax], 0
push str.TEMP
call fcn.00433fa0
add esp, 0xc
test eax, eax
je 0x405956
push eax
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4059be
push 0x455c08
call fcn.00433fa0
test eax, eax
pop ecx
je 0x405977
push eax

Function at 0x405966
Capabilities:
Get common file path

Disassembly:
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4059be
mov edi, 0x104
push edi
call fcn.00433b6e
pop ecx
mov dword [ebp - 8], eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push dword [ebp - 8]
lea eax, [ebp - 0x15c]
push eax
invalid
invalid
add al, 0xc2
inc esp
Function at 0x40e99d
Capabilities:
Read .ini file

Disassembly:
lea eax, [ecx + 4]
push eax
mov eax, dword [ecx]
push dword [esp + 0x10]
push dword [esp + 0xc]
call dword [eax + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
ret 0xc

Function at 0x4123cc
Capabilities:
Get common file path

Disassembly:
mov eax, 0x449c20
call fcn.00433058
sub esp, 0x260
push ebx
mov dword [ebp - 0x10], ecx
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.00415490
push 0x20
xor esi, esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll__lopen]
mov edi, eax
cmp edi, 0xffffffff
je 0x412537
mov esi, dword [sym.imp.KERNEL32.dll__llseek]
push 2
push 0xfffffffffffffff4
push edi
call esi
mov ebx, dword [sym.imp.KERNEL32.dll__lread]
lea eax, [ebp - 0x18]
push 4
push eax
push edi
call ebx
cmp dword [ebp - 0x18], 0xe79a45c9
jne 0x412489
xor eax, eax
cmp dword [ebp + 0xc], eax
jne 0x412469
and byte [ebp - 0x26c], al
push eax
push eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp + 8]
call fcn.0040d196
add esp, 0x10
test eax, eax
jne 0x412489
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004154a5
xor eax, eax
jmp 0x412545
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0xc]
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 0x18]
test eax, eax
jne 0x412489
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
xor esi, esi
jmp 0x412537
push 2
push 0xfffffffffffffffc
push edi
call esi
lea eax, [ebp - 0x14]
push 4
push eax
push edi
call ebx
cmp eax, 4
jne 0x4124f1
xor ebx, ebx
push ebx
push ebx
push edi
call esi
lea eax, [ebp - 0x168]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x168]
push str.etrnview.exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
invalid
invalid

Function at 0x414ce8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004339b0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, esi
xor edx, edx
and edi, 0x3f
jbe 0x414d31
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, edx
and ecx, 3
mov eax, edx
movzx ebx, byte [ebx]
shl ecx, 3
shr eax, 2
shl ebx, cl
lea eax, [ebp + eax*4 - 0x40]
xor dword [eax], ebx
inc dword [ebp + 0xc]
inc edx
cmp edx, edi
jb 0x414d0d
pop ebx
mov ecx, esi
mov eax, esi
and ecx, 3
push 1
shr eax, 2
lea ecx, [ecx*8 + 7]
pop edx
and eax, 0xf
shl edx, cl
lea eax, [ebp + eax*4 - 0x40]
xor dword [eax], edx
cmp edi, 0x37
jbe 0x414d71
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.00412fa2
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004339b0
add esp, 0x14
mov eax, esi
shl eax, 3
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
shr esi, 0x1d
shl eax, 3
or esi, eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], esi
push dword [ebp + 8]
call fcn.00412fa2
pop ecx
pop ecx
pop edi
pop esi
leave
ret
Function at 0x4154c2
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004335a0
pop ecx
mov edx, 0x456690
mov ecx, dword [ebp + 0xc]
push 4
xor edi, edi
mov dword [ebp - 0xc], eax
sub edx, ecx
mov dword [ebp - 4], 0x12
pop ebx
xor esi, esi
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
movsx eax, di
shl esi, 8
mov al, byte [eax + ebx]
and eax, 0xff
or esi, eax
inc edi
cmp di, word [ebp - 0xc]
jl 0x41550e
xor edi, edi
dec dword [ebp - 8]
jne 0x4154f2
mov eax, dword [edx + ecx]
push 4
xor eax, esi
pop ebx
mov dword [ecx], eax
add ecx, ebx
dec dword [ebp - 4]
jne 0x4154ed
mov eax, dword [ebp + 0x10]
mov esi, ebx
mov ecx, 0x4566d8
mov edx, 0x100
sub ecx, dword [ebp + 0x10]
mov edi, dword [ecx + eax]
mov dword [eax], edi
add eax, ebx
dec edx
jne 0x415536
dec esi
jne 0x415529
and dword [ebp - 4], 0
and dword [ebp - 8], 0
mov esi, dword [ebp + 0xc]
push 9
pop edi
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004155af
mov eax, dword [ebp - 4]
add esp, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
add esi, 8
dec edi
jne 0x415551
mov esi, dword [ebp + 0x10]
mov edi, 0x80
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004155af
mov eax, dword [ebp - 4]
add esp, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
add esi, 8
dec edi
jne 0x415580
dec ebx
jne 0x41557b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4155af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [ebx]
mov edi, dword [ecx]
mov dword [ebp + 8], esi
mov dword [ebp + 0x10], 0x10
mov ecx, dword [ebp + 8]
push dword [ebp + 0x14]
xor eax, dword [ecx]
push eax
mov dword [ebp - 4], eax
call fcn.00415443
add dword [ebp + 8], 4
pop ecx
xor eax, edi
dec dword [ebp + 0x10]
mov edi, dword [ebp - 4]
pop ecx
jne 0x4155cd
mov ecx, eax
mov eax, dword [esi + 0x40]
xor eax, ecx
mov ecx, dword [esi + 0x44]
xor ecx, edi
pop edi
mov dword [ebx], ecx
mov ecx, dword [ebp + 0xc]
pop esi
pop ebx
mov dword [ecx], eax
leave
ret

Function at 0x415634
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [eax]
mov ebx, dword [ecx]
push edi
lea edi, [esi + 0x44]
mov dword [ebp + 0x10], 0x10
xor eax, dword [edi]
push dword [ebp + 0x14]
push eax
mov dword [ebp - 4], eax
call fcn.00415443
pop ecx
xor eax, ebx
mov ebx, dword [ebp - 4]
sub edi, 4
dec dword [ebp + 0x10]
pop ecx
jne 0x415652
mov edx, dword [ebp + 8]
mov ecx, eax
mov eax, dword [esi + 4]
pop edi
xor eax, ecx
mov ecx, dword [esi]
xor ecx, ebx
pop esi
mov dword [edx], ecx
mov ecx, dword [ebp + 0xc]
pop ebx
mov dword [ecx], eax
leave
ret
Function at 0x416dc1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jle 0x416df7
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
push edi
mov eax, dword [ecx]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x45771c]
xor edi, eax
inc edx
dec esi
mov dword [ecx], edi
jne 0x416dd4
pop edi
pop ebx
pop esi
ret

Function at 0x4172d2
Capabilities:
Copy file

Disassembly:
mov eax, 0x449cdc
call fcn.00433058
sub esp, 0x250
push ebx
push esi
push edi
mov edi, 0x44ce68
push 0x104
mov dword [ebp - 0x1c], edi
call fcn.00442636
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x18], esi
mov byte [esi], bl
push 0x80
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x24], edi
call fcn.00442636
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x20], edi
mov byte [edi], bl
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 1
call fcn.00416e21
call fcn.00406bde
push eax
lea ecx, [ebp - 0x158]
call fcn.00416e94
push dword [0x457b3c]
push edi
call fcn.00433480
cmp byte [ebp + 0x18], bl
pop ecx
pop ecx
je 0x41735d
push dword [0x457b40]
push edi
call fcn.00433490
pop ecx
pop ecx
push 0x4585ec
push edi
call fcn.00433490
push esi
push str.E_Transcript
push 0x417944
push ebx
push 0x4585e8
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004170cf
add esp, 0x30
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x417489
call fcn.00406bf0
mov edx, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call dword [edx + 8]
push 0x2e
push esi
call fcn.00433220
pop ecx
cmp eax, ebx
pop ecx
je 0x4173cc
push str..exe
push eax
call fcn.00436330
pop ecx
test eax, eax
pop ecx
jne 0x4173cc
mov byte [ebp - 0xd], 1
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp byte [ebp - 0xd], bl
jne 0x41742d
cmp byte [ebp + 0x18], bl
je 0x41742d
push 0x2e
push esi
call fcn.00433220
pop ecx
cmp eax, ebx
pop ecx
je 0x417404
push str..ptx
push eax
call fcn.00433480
pop ecx
pop ecx
lea eax, [ebp - 0x25c]
push 1
push eax
lea eax, [ebp + 0x18]
push dword [ebp + 0x14]
mov dword [ebp + 0x18], ebx
push eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push esi
call fcn.00406bf0
mov ecx, eax
call fcn.00412046
jmp 0x417438
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41744d
push ebx
push ebx
push dword [0x457b44]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x5c
push esi
call fcn.00433220
push esi
push 0x461188
mov byte [eax], bl
call fcn.00433480
add esp, 0x10
call fcn.00406bde
push eax
lea ecx, [ebp - 0x158]
call fcn.00416fd3
push edi
call fcn.0044265f
push esi
call fcn.0044265f
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41e61f
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
mov dword [ebp - 0xc], esi
je 0x41e643
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x41e64a
xor eax, eax
jmp 0x41e7af
push eax
call fcn.0041e7b4
cmp dword [ebp + 0x18], esi
mov dword [ebp - 8], eax
je 0x41e669
push 1
push dword [ebp + 0x18]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [ebp - 0xc], eax
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SetStretchBltMode]
push edi
push 3
push dword [ebp + 8]
call ebx
mov esi, dword [ebp + 0x14]
push 0xcc0020
push 0
mov edi, dword [ebp + 0xc]
push dword [ebp - 4]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
push dword [ebp - 8]
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi + 0xc]
sub ecx, eax
push ecx
mov ecx, dword [edi]
sub edx, ecx
push edx
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_StretchDIBits]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
test eax, eax
mov dword [ebp - 0x10], ecx
jne 0x41e78d
push eax
push dword [ebp - 4]
push dword [ebp - 4]
call fcn.0041e7b4
push eax
push 4
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push 3
mov dword [ebp + 0xc], eax
push dword [ebp + 8]
call ebx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp + 0xc]
mov dword [ebp + 0x18], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [edi]
mov ecx, dword [esi]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp + 0x14], ebx
mov ebx, dword [esi + 0xc]
mov esi, dword [esi + 8]
mov edx, dword [edi + 4]
sub ebx, eax
push 0xcc0020
sub esi, ecx
push ebx
push esi
push eax
mov eax, dword [edi + 0xc]
push ecx
push dword [ebp + 0x18]
sub eax, edx
push eax
mov eax, dword [edi + 8]
sub eax, dword [ebp + 0x14]
push eax
push edx
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_StretchBlt]
test eax, eax
jne 0x41e76f
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push dword [ebp - 0x24]
lea eax, [ebp - 0x130]
push 0
push str.cant_paint__page__d___d_bytes_left_n
push eax
call fcn.0042cfcc
add esp, 0x10
push dword [ebp - 8]
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0xc], 0
pop edi
pop ebx
je 0x41e7ac
push 1
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectPalette]
mov eax, dword [ebp - 0x10]
pop esi
leave
ret 0x18
Function at 0x41e949
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.0042a9b0
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x41e99a
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
push eax
call esi
test eax, eax
je 0x41e9b2
mov eax, dword [ebp - 0x8c]
dec eax
dec eax
jne 0x41e9b2
cmp dword [ebp - 0x98], 5
jb 0x41e9b2
push 1
pop eax
jmp 0x41e9b4
xor eax, eax
pop esi
leave
ret

Function at 0x41ec70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x461
mov edi, ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push eax
mov dword [ebp - 4], eax
call esi
and dword [ebp + 8], 0
mov ebx, eax
test ebx, ebx
jle 0x41ecfb
push 2
push dword [ebp + 8]
push 0x102c
push dword [ebp - 4]
call esi
and eax, 2
cmp al, 2
je 0x41ecca
inc dword [ebp + 8]
cmp dword [ebp + 8], ebx
jl 0x41ecaa
jmp 0x41ecfb
mov ebx, 0x104
add edi, 0x6fc
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x2c]
and dword [ebp - 0x24], 0
push eax
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
mov dword [ebp - 0x18], edi
push 0x102d
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x421af2
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [ebx + 4], 0x100
jne 0x421ba9
push eax
call fcn.00421bc5
push dword [ebx]
mov ecx, edi
mov esi, eax
call fcn.00421bc5
cmp esi, eax
jne 0x421ba9
mov eax, dword [ebx + 8]
cmp eax, 0x1b
jne 0x421b34
push ebp
push 2
push 0x111
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x421bb7
cmp eax, 0xd
jne 0x421b6b
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push 4
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call ebx
test al, 1
je 0x421b58
push ebp
push 4
jmp 0x421b23
push 0xfffffffffffffff0
push 2
push esi
call edi
push eax
call ebx
test al, 1
push ebp
jne 0x421b21
push 1
jmp 0x421b23
cmp eax, 9
jne 0x421ba9
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, eax
test ebp, ebp
je 0x421ba9
push ebp
mov ecx, edi
call fcn.00421bc5
cmp eax, esi
jne 0x421ba9
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and eax, 1
mov ecx, edi
push eax
push ebp
push esi
call fcn.00421c6c
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x421bb7
push ebx
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
je 0x421bbc
push 1
pop eax
jmp 0x421bbe
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4227a1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
imul edi, edi, 0x1c
mov esi, ecx
mov eax, dword [esi + 8]
add eax, edi
mov ebx, dword [eax]
test ebx, ebx
jne 0x422815
push dword [esi + 0x14]
push dword [eax + 0xc]
movzx eax, word [eax + 8]
push dword [esi + 4]
push eax
push dword [0x45fb8c]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ebx, eax
push ebx
call fcn.0041ed21
pop ecx
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 4]
sub ecx, eax
push 1
sub ecx, 0x3c
add eax, 0x11
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0xffffffde
push ecx
push eax
push 0x11
push ebx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 8]
mov dword [eax + edi], ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ebx
call edi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x42282c
push 0
push eax
call edi
push ebx
mov dword [esi + 0x24], ebx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x426920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44a5cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0x14]
push edi
mov dword [esp + 8], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], 0x44d5cc
mov dword [esp + 0x10], 0x44d5c4
mov dword [esp + 8], eax
call fcn.00425150
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0
call fcn.00425150
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.00425150
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 2
call fcn.00425150
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 3
call fcn.00425150
mov dword [esp + 0x18], 0x44d5d4
mov dword [esp + 0x30], 0
mov dword [esp + 8], 1
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 4
call fcn.004251d0
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 5
call fcn.004252c0
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x48]
push edi
mov byte [esp + 0x40], 6
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x10], 0x44d59c
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
lea ecx, [eax - 0xc]
mov dword [esp + eax + 0xc], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x10]
call fcn.00425680
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], 7
lea eax, [ecx - 2]
cmp eax, 0x9f
ja case.default.0x426a33
xor edx, edx
mov dl, byte [eax + 0x42fb28]
jmp dword [edx*4 + 0x42fb14]
push 0
push 0
push edi
push str.XERR_FILEGENERIC
mov ecx, esi
call fcn.00426900
lea eax, [esp + 0x18]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], 0xc
call fcn.004398f5
lea ecx, [esp + 0x28]