joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421bb0
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
push 0
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push esi
push 0x20000013
push ebp
mov edi, ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x421be7
pop edi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
cmp dword [esi], 0xc8
jne 0x421bf8
pop edi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret
mov dword [ebx], 0
mov eax, dword [esi]
cmp eax, 0x12c
jb 0x421c3d
cmp eax, 0x190
jae 0x421c3d
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push esi
push ecx
push edx
mov ecx, ebp
call fcn.00421970
add esp, 0xc
test al, al
je 0x421c3d
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 5
mov dword [esp + 0xc], eax
jl 0x421c16
xor eax, eax
cmp dword [ebx], eax
pop edi
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x426a50
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x48e437
mov eax, dword fs:[0]
push eax
sub esp, 0x5b0
mov eax, dword [0x4b81f4]
xor eax, esp
mov dword [esp + 0x5a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b81f4]
xor eax, esp
push eax
lea eax, [esp + 0x5c4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5d4]
lea esi, [esp + 0x264]
mov dword [esp + 0x24], eax
mov edi, ecx
call fcn.00415610
xor ebx, ebx
mov dword [esp + 0x5cc], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x28]
call fcn.0040f730
mov eax, edi
lea edx, [esp + 0x28]
call fcn.0040f920
push ebx
lea ecx, [esp + 0x20]
push ecx
lea eax, [esp + 0x30]
mov ecx, esi
mov byte [esp + 0x5d4], 3
call fcn.00413eb0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
test al, al
jne 0x426af6
xor al, al
jmp 0x426b21
mov eax, dword [esp + 0x268]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], ebx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x426b18
call ebp
cmp eax, ebx
je 0x426b18
xor esi, esi
mov dword [esp + 0x5b4], esi
mov al, 1
cmp al, bl
sete byte [esp + 0x17]
mov dword [esp + 0x28], vtable.t_str.0
cmp byte [esp + 0x144], bl
jne 0x426b4e
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x426b4e
push eax
call fcn.0046b865
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x426bea
mov eax, dword [esp + 0x268]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], ebx
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x426b7a
call ebp
cmp eax, ebx
je 0x426b7a
xor edi, edi
lea esi, [esp + 0x14c]
call fcn.00401330
mov ecx, edi
mov byte [esp + 0x5cc], 4
call fcn.00411400
lea eax, [esp + 0x150]
cmp byte [esp + 0x260], bl
jne 0x426bac
mov eax, dword [esp + 0x14c]
push edi
add eax, 4
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x5bc]
call fcn.00415730
test al, al
jne 0x426c27
cmp byte [esp + 0x260], bl
jne 0x426bea
mov eax, dword [esp + 0x14c]
lea edx, [esp + 0x150]
cmp eax, edx
je 0x426bea
push eax
call fcn.0046b865
add esp, 4
lea edi, [esp + 0x1c]
call fcn.0040e630
mov dword [esp + 0x5cc], 0xffffffff
lea ecx, [esp + 0x264]
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x5b0], 0x4ae8f0
call fcn.00413df0
xor al, al
jmp 0x426cbd
mov ecx, edi
lea esi, [esp + 0x14c]
call fcn.00411400
lea eax, [esp + 0x150]
cmp byte [esp + 0x260], bl
jne 0x426c4c
mov eax, dword [esp + 0x14c]
add eax, 4
mov esi, edi
mov edi, dword [esp + 0x24]
push eax
call fcn.00426a00
mov byte [esp + 0x17], al
cmp byte [esp + 0x260], bl
jne 0x426c83
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
cmp eax, ecx
je 0x426c83
push eax
call fcn.0046b865
add esp, 4
lea edi, [esp + 0x1c]
call fcn.0040e630
mov dword [esp + 0x5cc], 0xffffffff
lea ecx, [esp + 0x264]
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x5b0], 0x4ae8f0
call fcn.00413df0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x5c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5a8]
xor ecx, esp
call fcn.0046b4eb
add esp, 0x5bc
ret 4
Function at 0x427310
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48cffa
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b81f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xa
mov dword [esi + 0x18], fcn.0046b942
mov dword [esi + 0x1c], fcn.0046bdd0
mov dword [esi + 0x20], fcn.0046b865
mov dword [esi + 0x24], eax
mov dword [esp + 0x14], eax
xor edx, edx
mov dword [esi], vtable.SogouPluginableModuleDirectoryManager.0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x238], al
mov word [esi + 0x30], dx
call fcn.004273a0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x42b590
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x74
mov eax, dword [0x4b81f4]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
mov eax, esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x64], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b5e0
sub eax, edx
sar eax, 1
add eax, eax
push esi
lea ecx, [esp + 0x10]
call fcn.00415980
lea ecx, [esi + 0x208]
mov eax, ecx
add esp, 4
lea ebx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42b610
sub eax, ebx
sar eax, 1
push ecx
add eax, eax
lea ecx, [esp + 0x10]
call fcn.00415980
lea ecx, [esi + 0x248]
mov eax, ecx
add esp, 4
lea ebx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42b640
sub eax, ebx
sar eax, 1
push ecx
add eax, eax
lea ecx, [esp + 0x10]
call fcn.00415980
lea ecx, [esi + 0x450]
mov eax, ecx
add esp, 4
lea ebx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42b670
sub eax, ebx
sar eax, 1
push ecx
add eax, eax
lea ecx, [esp + 0x10]
call fcn.00415980
lea ecx, [esi + 0xe58]
mov eax, ecx
add esp, 4
lea ebx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42b6a0
sub eax, ebx
sar eax, 1
push ecx
add eax, eax
lea ecx, [esp + 0x10]
call fcn.00415980
lea ecx, [esi + 0xf5a]
mov eax, ecx
add esp, 4
lea ebx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42b6d0
sub eax, ebx
sar eax, 1
push ecx
add eax, eax
lea ecx, [esp + 0x10]
call fcn.00415980
lea ecx, [esi + 0x175a]
mov eax, ecx
add esp, 4
lea ebx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42b700
sub eax, ebx
sar eax, 1
push ecx
add eax, eax
lea ecx, [esp + 0x10]
call fcn.00415980
lea ecx, [esi + 0x1f60]
mov eax, ecx
add esp, 4
lea ebx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42b730
sub eax, ebx
sar eax, 1
push ecx
add eax, eax
lea ecx, [esp + 0x10]
call fcn.00415980
lea ecx, [esi + 0x2760]
mov eax, ecx
add esp, 4
lea ebx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42b760
sub eax, ebx
sar eax, 1
push ecx
add eax, eax
lea ecx, [esp + 0x10]
call fcn.00415980
mov eax, dword [esi + 0x1f5c]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
push ecx
mov eax, 4
lea ecx, [esp + 0x14]
call fcn.00415980
push str.SogouPluginableModule20091228
mov eax, 0x3a
lea ecx, [esp + 0x18]
call fcn.00415980
add esp, 0xc
lea ebx, [esp + 0xc]
lea eax, [esp + 0x68]
call fcn.00415c20
lea ebx, [esp + 0x68]
call fcn.004158b0
mov ecx, dword [esp + 0x78]
pop edi
pop ebx
xor ecx, esp
call fcn.0046b4eb
add esp, 0x74
ret
Function at 0x42c580
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x64]
xor ebx, ebx
push esi
mov esi, eax
mov eax, 2
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
or eax, 0xffffffff
push edi
mov dword [esi + 0x28], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esp + 0x10], ebx
mov edi, ebp
call fcn.0042cd50
cmp ebp, ebx
jne 0x42c5ce
mov eax, dword [eax]
cmp eax, ebx
je 0x42c613
mov edi, eax
mov eax, dword [esp + 0x68]
push 0xa
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x42c613
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x42c613
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push ecx
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x10], eax
mov eax, ebp
cmp ebp, ebx
jne 0x42c63c
mov ebp, dword [esp + 0x6c]
lea edx, [esp + 0x10]
push ebp
push edx
call fcn.0042cd50
mov edx, dword [esp + 0x70]
mov ecx, 0x4afa1c
call fcn.00430d20
cmp eax, ebx
jne 0x42c63c
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], bl
call fcn.0042ee20
test al, al
je 0x42c630
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x42c677
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
jmp 0x42c6b2
cmp eax, 1
jne 0x42c6a8
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
cmp ecx, ebx
je 0x42c6b0
cmp byte [esp + 0x3c], bl
je 0x42c6b0
mov eax, dword [esp + 0x44]
cmp eax, ebx
jl 0x42c6b0
cmp eax, ecx
jge 0x42c6b0
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + eax*8 + 4]
jmp 0x42c6b2
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x6c]
xor ecx, ecx
push 2
push 2
push edx
push 0xffffffffffffffff
push ebx
xor eax, eax
call fcn.0042b900
pop edi
mov byte [esi + 0x2d], 1
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x54
ret 8
Function at 0x430980
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x48d76b
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x4b81f4]
xor eax, esp
mov dword [esp + 0x35c], eax
push ebp
push esi
push edi
mov eax, dword [0x4b81f4]
xor eax, esp
push eax
lea eax, [esp + 0x374]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x384]
lea esi, [esp + 0x14]
mov edi, ecx
call fcn.00415610
xor esi, esi
push esi
push ebx
mov eax, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x384], esi
call fcn.00413eb0
test al, al
je 0x430a41
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], esi
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x430a0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x430a0f
xor esi, esi
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x36c], esi
mov dword [esp + 0x18], 0
call edi
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
jne 0x430a87
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x430a87
xor eax, eax
jmp 0x430a89
mov eax, ebx
call fcn.0040e680
push 0x4ad640
push 0x4ad42c
mov edx, eax
call fcn.0040fd10
mov dword [esp + 0x384], 0xffffffff
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00413df0
xor al, al
jmp 0x430af4
mov eax, esi
push eax
mov dword [ebp + 8], eax
call fcn.0046b942
mov ecx, dword [ebp + 8]
add esp, 4
push ecx
push eax
push ebx
lea ecx, [esp + 0x36c]
mov dword [ebp + 4], eax
call fcn.00415730
test al, al
jne 0x430acf
mov eax, ebx
call fcn.0040e680
push 0x4ad640
push 0x4ad42c
mov edx, eax
call fcn.0040fd10
mov dword [esp + 0x384], edi
jmp 0x430a64
mov dword [esp + 0x37c], edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00413df0
mov al, 1
mov ecx, dword [esp + 0x374]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x35c]
xor ecx, esp
call fcn.0046b4eb
add esp, 0x370
ret 4

Function at 0x430d20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x430d35
mov esi, dword [eax]
test esi, esi
jne 0x430d35
xor eax, eax
pop esi
ret 8
push edi
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x430d51
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x430d58
pop edi
xor eax, eax
pop esi
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, ebx
pop ebx
pop edi
pop esi
ret 8
Function at 0x46b29c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4bc600], 0
push esi
jne 0x46b20f
call fcn.0046b135
test eax, eax
je 0x46b252
mov eax, dword [0x4bc600]
cmp eax, 1
jne 0x46b230
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46b252
pop esi
ret
push eax
call dword [0x4bc608]
test eax, eax
jne 0x46b29a
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x46b256
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4bc600]
call dword [0x4bc608]
mov edi, eax
test edi, edi
je 0x46b27b
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x46b297
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4bc600]
call dword [0x4bc604]
add edi, 0x10
cmp edi, esi
jb 0x46b283
mov eax, edi
pop edi
pop esi
ret
jmp 0x46b1fc

Function at 0x46b4eb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b81f4]
jne 0x46b4f5
repz ret
jmp fcn.0047280c

Function at 0x47bda3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0046ef55
and dword [ebp - 4], 0
cmp dword [0x4bd1f4], 0
mov ebx, eax
jne 0x47be54
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47bf05
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x47bf05
push eax
call fcn.0046eee3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4bd1f4], eax
call esi
push eax
call fcn.0046eee3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4bd1f8], eax
call esi
push eax
call fcn.0046eee3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4bd1fc], eax
call esi
push eax
call fcn.0046eee3
pop ecx
mov dword [0x4bd204], eax
test eax, eax
je 0x47be54
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046eee3
pop ecx
mov dword [0x4bd200], eax
mov eax, dword [0x4bd200]
cmp eax, ebx
je 0x47beac
cmp dword [0x4bd204], ebx
je 0x47beac
push eax
call fcn.0046ef5e
push dword [0x4bd204]
mov esi, eax
call fcn.0046ef5e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x47beac
test edi, edi
je 0x47beac
call esi
test eax, eax
je 0x47bea3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47bea3
test byte [ebp - 0xc], 1
jne 0x47beac
or dword [ebp + 0x10], 0x200000
jmp 0x47bee5
mov eax, dword [0x4bd1f8]
cmp eax, ebx
je 0x47bee5
push eax
call fcn.0046ef5e
pop ecx
test eax, eax
je 0x47bee5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x47bee5
mov eax, dword [0x4bd1fc]
cmp eax, ebx
je 0x47bee5
push eax
call fcn.0046ef5e
pop ecx
test eax, eax
je 0x47bee5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4bd1f4]
call fcn.0046ef5e
pop ecx
test eax, eax
je 0x47bf05
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47bf07
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x484d60
Capabilities:
Hide graphical window

Disassembly:
test byte [esi + 0x2604], 1
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x484dbf
mov eax, dword [esi + 0x2098]
push 0
push eax
call edi
mov ecx, dword [esi + 0x2194]
push 0
push ecx
call edi
mov edx, dword [esi + 0x2290]
push 0
push edx
call edi
mov eax, dword [esi + 0x238c]
push 0
push eax
call edi
mov ecx, dword [esi + 0x250c]
push 5
push ecx
call edi
mov edx, dword [esi + 0x24e4]
push 5
push edx
call edi
mov eax, dword [esi + 0x24dc]
push 0
push eax
call edi
pop edi
ret
mov ecx, dword [esi + 0x2098]
push 5
push ecx
call edi
mov edx, dword [esi + 0x2194]
push 5
push edx
call edi
mov eax, dword [esi + 0x2290]
push 5
push eax
call edi
mov ecx, dword [esi + 0x238c]
push 5
push ecx
call edi
mov edx, dword [esi + 0x250c]
push 0
push edx
call edi
mov eax, dword [esi + 0x24e4]
push 0
push eax
call edi
mov ecx, dword [esi + 0x24dc]
push 0
push ecx
call edi
pop edi
ret

Function at 0x485070
Capabilities:
Create thread

Disassembly:
mov eax, dword [esi + 0x208c]
push str.ck_W
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 4
call fcn.0046c5dc
push eax
push 0
push 0x484b50
mov dword [eax], esi
call fcn.0046bbce
mov ecx, dword [esi + 4]
add esp, 0x10
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
ret
Function at 0x485710
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4b81f4]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, ebx
and eax, 0xff
push esi
mov esi, ecx
jne 0x485748
xor al, al
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0046b4eb
add esp, 0x12c
ret
push edi
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx edi, ax
test di, di
jne 0x485773
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0046b4eb
add esp, 0x12c
ret
mov byte [esp + 0xb], 1
test ebx, 0x100
je 0x485791
push 0x4ab660
lea eax, [esp + 0xf]
call fcn.004853c0
add esp, 4
test ebx, 0x400
je 0x4857aa
push str.Shift
lea eax, [esp + 0xf]
call fcn.004853c0
add esp, 4
test ebx, 0x200
je 0x4857c3
push 0x4ab678
lea eax, [esp + 0xf]
call fcn.004853c0
add esp, 4
lea ecx, [esp + 0xc]
call fcn.0040f730
movzx eax, di
cmp di, 0x20
jae 0x4857da
mov eax, 0x3f
movzx eax, ax
push eax
push 0x4adf1c
lea edx, [esp + 0x14]
call fcn.0040fd10
add esp, 8
cmp byte [esp + 0x128], 0
lea eax, [esp + 0x18]
jne 0x485801
mov eax, dword [esp + 0x14]
add eax, 4
push eax
lea eax, [esp + 0xf]
call fcn.004853c0
add esp, 4
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x485838
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x485838
push eax
call fcn.0046b865
add esp, 4
mov ecx, dword [esp + 0x130]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.0046b4eb
add esp, 0x12c
ret

Function at 0x486030
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, eax
mov eax, dword [esi + 0x208c]
push str.ck_W_vN
push eax
call edi
mov ecx, dword [esi + 0x24dc]
push 0x4ab628
xor ebx, ebx
push ecx
mov dword [esi + 0x2e3c], ebx
mov dword [esi + 0x2504], ebx
call edi
push ebx
call fcn.0046c6ef
add esp, 4
push ebx
push 0x64
mov dword [esi + 0x2e44], edx
mov edx, dword [esi + 4]
push 0x10a
push edx
mov dword [esi + 0x2e40], eax
mov dword [esi + 0x2e48], ebx
mov dword [esi + 0x2e4c], ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 4
call fcn.0046c5dc
add esp, 4
push eax
push ebx
push 0x486000
mov dword [eax], esi
call fcn.0046bbce
or dword [esi + 0x2604], 1
add esp, 0xc
call fcn.00484d60
call fcn.00484ee0
mov edx, dword [esi + 4]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
lea eax, [ebx + 1]
pop ebx
pop ecx
ret 0xc
Function at 0x486790
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, eax
mov eax, dword [esi + 0x24dc]
push 0x4ab630
xor ebx, ebx
push eax
mov dword [esi + 0x2e3c], ebx
mov dword [esi + 0x2504], ebx
call edi
mov ecx, dword [esi + 4]
push 0x10a
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
and dword [esi + 0x2604], 0xfffffffe
cmp ebp, ebx
jne 0x48680c
mov ebx, 0x4ab554
mov dword [esi + 0x260c], 9
call fcn.00404710
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esi + 0x2608]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x38]
call eax
test al, al
je 0x48680c
or dword [esi + 0x260c], 4
mov ecx, dword [esi + 0x24dc]
push 0x4ab578
push ecx
call edi
push esi
call fcn.004861b0
mov eax, ebp
call fcn.00482a70
mov edx, dword [esi + 0x208c]
push eax
push edx
call edi
call fcn.00484e10
mov eax, dword [esi + 0x2098]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov ecx, dword [esi + 0x2194]
push 5
push ecx
call edi
mov edx, dword [esi + 0x2290]
push 5
push edx
call edi
mov eax, dword [esi + 0x238c]
push 5
push eax
call edi
call fcn.00484d60
call fcn.00484ee0
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x50f
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x486f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [esp + 4], 0
je 0x486f47
or dword [eax + 0x260c], 8
mov dword [esp + 4], eax
jmp fcn.004861b0
and dword [eax + 0x260c], 0xfffffff7
mov dword [esp + 4], eax
jmp fcn.004861b0

Function at 0x487fe0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x48bf44
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x4b81f4]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b81f4]
xor eax, esp
push eax
lea eax, [esp + 0x1f4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x204]
xor ebx, ebx
mov dword [esp + 0x1c], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1fc], ebx
mov edi, dword [0x4bd27c]
lea eax, [esp + 0x1c]
add edi, 0x10
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x4bd340]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
call fcn.00404610
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x54]
push eax
call fcn.00404020
mov eax, ebp
lea edx, [esp + 0xc4]
mov byte [esp + 0x1fc], 1
call fcn.0040f920
lea edi, [esp + 0x54]
call fcn.00404690
mov ecx, dword [esp + 0x58]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esp + 0x1c]
call fcn.00403c20
mov esi, eax
call fcn.00403e90
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x200], bl
call fcn.00404210
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4880f5
push eax
call fcn.0046b865
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp eax, ebx
je 0x48810e
push eax
call fcn.0046b865
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.0046b4eb
add esp, 0x1ec
ret