joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407bd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48c3d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
mov eax, dword [0x4aff50]
push ebx
push esi
push edi
mov dword [esp + 0x154], eax
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x48], bl
mov ecx, 0x40
lea edi, [esp + 0x49]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x48]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x48]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407c40
sub eax, edx
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x34]
call fcn.00404760
mov esi, dword [ebp + 8]
push 1
push 0xffffffffffffffff
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov dword [esp + 0x170], ebx
mov byte [esp + 0x18], 0x5c
call fcn.00407b30
cmp eax, 0xffffffff
je 0x407ccf
push eax
push ebx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00405100
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x170], 1
call fcn.00404540
mov eax, dword [esp + 0x28]
mov esi, 0x10
cmp eax, esi
jb 0x407cb8
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004826a1
add esp, 4
cmp dword [esp + 0x44], esi
jb 0x407ccb
mov edx, dword [esp + 0x30]
push edx
call fcn.004826a1
add esp, 4
mov al, 1
jmp 0x407ce5
cmp dword [esp + 0x44], 0x10
jb 0x407ce3
mov eax, dword [esp + 0x30]
push eax
call fcn.004826a1
add esp, 4
xor al, al
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x154]
call fcn.0046bf5e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a4d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov edx, dword [ebp + 8]
mov eax, dword [0x4aff50]
push ebx
xor ebx, ebx
cmp edx, ebx
mov dword [esp + 0x130], eax
push edi
jne 0x40a507
xor al, al
mov ecx, dword [esp + 0x134]
call fcn.0046bf5e
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [esp + 0x28], bl
mov ecx, 0x40
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0046d3a0
add esp, 0xc
lea edx, [esp + 8]
lea ecx, [esp + 0x28]
push edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov word [esp + 0x1c], 0x14
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x22], ebx
mov dword [esp + 0x26], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [esp + 0x134]
neg eax
sbb al, al
inc al
call fcn.0046bf5e
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a580
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
jne 0x40a5a5
xor al, al
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x40a5c2
pop edi
xor al, al
pop esi
ret
mov ecx, dword [esp + 0x10]
mov dword [ecx], edi
pop edi
mov al, 1
pop esi
ret
Function at 0x410a90
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Delete file
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x27c]
push 0
mov ecx, edi
mov byte [esi + 0x3b8], 0
call fcn.00482877
mov ecx, esi
call fcn.0040c470
test al, al
mov byte [esi + 0x3a1], al
mov ecx, edi
je 0x410b0f
mov al, byte [esi + 0x3b9]
test al, al
je 0x410ae4
push 0
call fcn.00482877
push 0
lea ecx, [esi + 0x460]
call fcn.00482877
pop edi
mov ecx, esi
pop esi
jmp fcn.0040dac0
push 1
call fcn.00482877
mov ecx, edi
call fcn.00482898
push 1
lea ecx, [esi + 0x31c]
call fcn.00482877
lea ecx, [esi + 0x460]
push 0
call fcn.00482877
pop edi
pop esi
ret
push 0
call fcn.00482877
lea edi, [esi + 0x460]
push 1
mov ecx, edi
call fcn.00482877
mov ecx, edi
call fcn.00482898
lea ecx, [esi + 0x31c]
push 0
call fcn.00482877
pop edi
pop esi
ret
Function at 0x412620
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x39c]
push eax
push 0
push esi
push 0x4124c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x398], eax
jne 0x412676
push 0x10
push 0xb5
call fcn.004014b0
add esp, 4
push eax
push 0xb4
call fcn.004014b0
mov ecx, dword [esi + 0x1c]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret

Function at 0x418db0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48dcc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
mov eax, dword [0x4aff50]
push ebx
push esi
push edi
mov dword [esp + 0x27c], eax
xor eax, eax
mov byte [esp + 0x68], 0
mov ecx, 0x40
lea edi, [esp + 0x69]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x68]
push eax
xor esi, esi
push esi
push 0x4940a0
push 0x49409c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x418f3b
mov eax, 0xf
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], esi
mov byte [esp + 0x50], 0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x28c], esi
mov dword [esp + 0x44], esi
mov byte [esp + 0x34], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418e42
sub eax, edx
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x38]
call fcn.00404760
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x294], 1
call fcn.00418ae0
add esp, 8
mov bl, al
mov eax, dword [esp + 0x48]
neg bl
sbb bl, bl
mov edi, 0x10
inc bl
cmp eax, edi
jb 0x418e96
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004826a1
add esp, 4
test bl, bl
jne 0x418f28
xor eax, eax
mov byte [esp + 0x170], bl
mov ecx, 0x40
lea edi, [esp + 0x171]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x64]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x50]
jae 0x418ecd
lea eax, [esp + 0x50]
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x178]
push 0x494094
push ecx
call fcn.0046d10a
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x68]
lea eax, [esp + 0x170]
push ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov word [esp + 0x24], 0x200
mov dword [esp + 0x26], esi
mov dword [esp + 0x2a], esi
mov dword [esp + 0x2e], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x418f3f
cmp dword [esp + 0x64], edi
jb 0x418f3b
mov edx, dword [esp + 0x50]
push edx
call fcn.004826a1
add esp, 4
xor al, al
jmp 0x418f62
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x64], edi
jb 0x418f60
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004826a1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x27c]
call fcn.0046bf5e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bdf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48deb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [esp + 0x5c]
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x20], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00404540
mov ecx, dword [esp + 0x78]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00416a40
add esp, 0x24
mov ecx, dword [eax]
push 0xffffffffffffffff
push ebx
add eax, 4
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404540
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
mov byte [esp + 0x5c], 1
call fcn.0041bbe0
mov ecx, eax
call fcn.0041aea0
cmp dword [esp + 0x28], 0x10
jb 0x41be99
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004826a1
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x41bebd
mov edx, dword [esp + 0x34]
push edx
call fcn.004826a1
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret
Function at 0x41cda0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48dfbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov eax, dword [0x4aff50]
mov dword [esp + 0x74], eax
mov eax, 0xf
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov eax, dword [esp + 0x90]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], ebx
call fcn.00404540
mov ecx, dword [esp + 0x9c]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00404540
mov edx, dword [esp + 0x98]
push 0xffffffffffffffff
push ebx
push edx
lea ecx, [esp + 0x68]
call fcn.00404540
mov eax, dword [esp + 0x94]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x4c]
call fcn.00404540
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 8]
mov dword [esp + 0x78], ecx
push edx
mov ecx, esi
call fcn.0041d930
lea ecx, [esp + 8]
call fcn.00414860
mov ecx, dword [esp + 0x80]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x78]
mov al, 1
pop ebx
call fcn.0046bf5e
add esp, 0x84
ret 0x14

Function at 0x41db00
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x41f350
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x41f363
or eax, 0xffffffff
mov dword [0x4ae4b8], eax
not eax
ret
mov eax, dword [0x4ae4b8]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x41f38f
push edi
xor edx, edx
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
mov edi, dword [edx*4 + 0x4ae4c0]
shr eax, 8
xor eax, edi
inc ecx
dec esi
jne 0x41f372
pop edi
mov dword [0x4ae4b8], eax
pop esi
not eax
ret
Function at 0x423c90
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e076
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
mov eax, dword [0x4aff50]
push esi
push edi
mov dword [esp + 0x1b4], eax
mov esi, ecx
xor eax, eax
mov byte [esp + 0xa8], 0
mov ecx, 0x40
lea edi, [esp + 0xa9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0xac]
push eax
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
push 1
lea ecx, [esp + 0xb8]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi], eax
jne 0x423e03
push 1
push 2
lea ecx, [esp + 0x30]
call fcn.00415a50
push str.__funcxlib::HTTPClient::HTTPClient_
push 0x18
push 0x4951a8
lea edx, [esp + 0x34]
push str.Can_not_open_internet_session.
push edx
mov dword [esp + 0x1d8], 0
call fcn.00414b10
add esp, 8
push eax
call fcn.00414b10
add esp, 8
mov ecx, eax
call fcn.00415570
push eax
call fcn.00414b10
add esp, 8
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
call fcn.00418fd0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x1c4], 1
jb 0x423d8b
mov eax, dword [eax + 4]
jmp 0x423d8e
add eax, 4
push eax
push 0
call fcn.00409700
push eax
call fcn.0041a2e0
add esp, 0xc
cmp dword [esp + 0x24], esi
jb 0x423db2
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004826a1
add esp, 4
lea ecx, [esp + 0x74]
mov dword [esp + 0x1c4], 0xffffffff
call fcn.004143d0
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0047d779
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.0046c75d
push 0x4a5d34
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 0x49544c
mov dword [esp + 0x20], esi
call fcn.0046c8ee
mov ecx, dword [esp + 0x1bc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1b4]
mov eax, esi
call fcn.0046bf5e
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42a12d
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x48e4f0
call fcn.0046eee0
push ecx
push ecx
cmp dword [0x4b7390], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 0x4b7338
jne 0x42a241
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push esi
mov dword [ebp - 0x10], esi
call edi
mov ebx, dword [ebp + 8]
and dword [ebp - 4], 0
push str.User32.dll
mov dword [0x4b756c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.SetLayeredWindowAttributes
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b7578], eax
call fcn.00434e29
test eax, eax
jne 0x42a1b7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x4b7394
call fcn.0042a0e1
mov dword [eax], 1
xor edi, edi
jmp 0x42a30d
call fcn.004346d0
test eax, eax
je 0x42a193
call fcn.00430bdc
mov ecx, eax
push 0
mov dword [ebp + 8], ecx
call fcn.004341d9
mov ecx, dword [ebp + 8]
push ebx
call fcn.0043446e
call fcn.0042c1db
mov dword [0x4aedec], eax
call fcn.00438018
cmp dword [0x4aedec], 7
jmp 0x42a22a
mov dword [0x4b7384], 1
jmp 0x42a23a
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov dword [ebp - 0x14], esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 4], 1
call edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
mov ebx, 0x4b7388
push eax
mov ecx, ebx
call fcn.00429476
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x4b738c]
jne 0x42a2a9
push dword [ebp + 8]
push dword [0x4b756c]
push 0x4296e2
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x42a327
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.0042a0e1
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
mov ebx, 0x4b73ac
push eax
mov ecx, ebx
call fcn.00429476
mov eax, dword [eax]
cmp eax, dword [0x4b73b0]
jne 0x42a2f4
push dword [ebp + 8]
push dword [0x4b756c]
push 0x4294fc
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x42a345
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.0042a0e1
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
call edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x4b7394
call fcn.0042a0e1
and dword [eax], 0
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
call edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x4b7394
call fcn.0042a0e1
mov dword [eax], 2
jmp 0x42a1b0
call edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x4b7394
call fcn.0042a0e1
mov dword [eax], 3
jmp 0x42a1b0
Function at 0x42a438
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x48e50c
call fcn.0046eee0
sub esp, 0x18
cmp dword [0x4b7384], 0
jne 0x42a472
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x4b7394
call fcn.0042a0e1
mov dword [eax], 0x13
xor eax, eax
jmp 0x42a560
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x42a4ac
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x4b7394
call fcn.0042a0e1
mov dword [eax], 0x10
xor eax, eax
jmp 0x42a55f
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42a4d9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x4b7394
call fcn.0042a0e1
mov dword [eax], 0xf
jmp 0x42a4a5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x2800
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.00438618
and dword [ebp - 4], 0
push 0x110
call fcn.00482676
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
test ecx, ecx
mov byte [ebp - 4], 1
pop edi
je 0x42a522
call fcn.0042ecca
mov esi, eax
jmp 0x42a524
xor esi, esi
test esi, esi
mov byte [ebp - 4], 0
je 0x42a54f
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.0042ed67
test eax, eax
je 0x42a54f
push esi
mov ecx, 0x4b757c
call fcn.0042fefb
mov esi, eax
call fcn.004298a2
jmp 0x42a551
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00438530
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x42b91e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
push edi
jle 0x42b978
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor edi, edi
mov eax, dword [esi + 4]
add eax, edi
movzx ecx, word [eax + 2]
cmp ecx, dword [esp + 0x14]
jne 0x42b970
test byte [eax], 4
je 0x42b94e
push 0x10
call ebp
test ah, ah
jns 0x42b970
mov eax, dword [esi + 4]
test byte [edi + eax], 8
je 0x42b95f
push 0x11
call ebp
test ah, ah
jns 0x42b970
mov eax, dword [esi + 4]
test byte [edi + eax], 0x10
je 0x42b981
push 0x12
call ebp
test ah, ah
js 0x42b981
inc ebx
add edi, 6
cmp ebx, dword [esi]
jl 0x42b932
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ecx, dword [esi + 4]
lea eax, [ebx + ebx*2]
push 6
lea eax, [ecx + eax*2]
push eax
push dword [esp + 0x20]
call fcn.0046eba0
add esp, 0xc
xor eax, eax
inc eax
jmp 0x42b97a
Function at 0x42c1db
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x42c242
mov esi, 0x94
xor ebx, ebx
push esi
inc ebx
call fcn.0046bb81
mov edi, eax
test edi, edi
pop ecx
je 0x42c29a
push esi
push 0
push edi
call fcn.0046ef00
add esp, 0xc
push edi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x42c225
push 5
jmp 0x42c292
cmp eax, 5
jne 0x42c293
cmp dword [edi + 8], 0
jne 0x42c234
push 6
jmp 0x42c292
cmp eax, 5
jne 0x42c293
cmp dword [edi + 8], ebx
jne 0x42c293
push 7
jmp 0x42c292
cmp al, 4
jae 0x42c24a
xor ebx, ebx
jmp 0x42c29a
push 2
pop ebx
mov esi, 0x94
push esi
call fcn.0046bb81
mov edi, eax
test edi, edi
pop ecx
je 0x42c29a
push esi
push 0
push edi
call fcn.0046ef00
add esp, 0xc
push edi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x42c293
cmp dword [edi + 8], 0xa
jne 0x42c286
push 3
jmp 0x42c292
cmp eax, 4
jne 0x42c293
cmp dword [edi + 8], 0x5a
jne 0x42c293
push eax
pop ebx
push edi
call fcn.0046bb93
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x42c8f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x42c91a
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42c91e
xor eax, eax
jmp 0x42c966
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x495920
push dword [ebp + 8]
mov ebx, eax
call fcn.0046dfdc
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x42c962
push esi
push 1
push ebx
push edi
call fcn.0046cdc5
push esi
call fcn.0046cfc7
xor eax, eax
add esp, 0x14
inc eax
jmp 0x42c964
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x42c969
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x42c998
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x208]
push eax
push 0
push 0x495930
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x42c9fe
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0046f120
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp + 0xc]
cmp byte [ebp + eax - 0x105], 0x5c
lea eax, [ebp - 0x104]
push eax
je 0x42c9f7
push 0x494094
push dword [ebp + 8]
call fcn.0046d10a
add esp, 0x10
jmp 0x42ca0f
push str._s_s
jmp 0x42c9ea
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call fcn.0046f120
pop ecx
pop ecx
cmp dword [ebp + 0x14], 0
je 0x42ca30
push 0x495924
push dword [ebp + 8]
call fcn.0046f130
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0046f130
add esp, 0x10
leave
ret
Function at 0x43440b
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0
lea esi, [edi + 0xb8]
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_KillTimer]
push 0x3e8
push dword [esi]
call ebx
push 0x3f2
push dword [esi]
call ebx
and dword [edi + 0x124], 0
pop edi
pop esi
pop ebx
ret

Function at 0x43713d
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x437155
cmp al, 5
sbb eax, eax
and eax, 2
add eax, 6
ret
push 8
pop eax
ret
Function at 0x443ef0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x130], eax
jne 0x443f4f
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x443e96
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
movzx ecx, word [esi + 0x124]
mov dword [esi + 0x128], eax
mov eax, dword [esi + 0xb8]
push eax
or ecx, 0x10000
push ecx
push 0x111
push eax
mov dword [esi + 0x130], 1
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
leave
ret