joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b294
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b43f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45b420
mov dl, 1
mov eax, dword [0x41aec8]
call fcn.00403c54
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a58
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45b40f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004492a0
test al, al
je 0x45b402
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45b450
lea eax, [ebp - 0x254]
call fcn.0040bff8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45b402
xor eax, eax
push ebp
push 0x45b3fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45b488
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45b3e4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cc8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45b3e4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b402
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45b305
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041eb38
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b446
lea eax, [ebp - 0x260]
call fcn.00404a58
ret

Function at 0x45bd74
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x49eddc]
cmp byte [eax + 0xa5], 0
jne 0x45bde5
cmp dword [0x49edf4], 0
jne 0x45bda6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45bd30
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49edf4], eax
cmp dword [0x49edf0], 0
jne 0x45bdc1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49edf0], eax
cmp dword [0x49edf8], 0
jne 0x45bde5
push esp
push 0
push 0
push 0x45bcd4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x49edf8], eax
pop edx
ret
Function at 0x45bedc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45bef3
add esp, 0xfffffff0
call fcn.00403fa8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422e7c
mov eax, dword [0x49b718]
cmp word [eax + 2], 0
jne 0x45bf1b
mov eax, dword [0x49b718]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d65c
mov eax, dword [0x49b7e4]
cmp word [eax + 2], 0
jne 0x45bf35
mov eax, dword [0x49b7e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d854
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41aaac]
call fcn.00403c54
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41aaac]
call fcn.00403c54
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4252e0]
call fcn.0042caa8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45c0bc
mov eax, dword [0x49b5fc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ce78
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ddf4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49b5fc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040f7e8
test eax, eax
je 0x45c02a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040b9ec
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f810
test eax, eax
je 0x45c03e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404cc8
mov eax, dword [0x49b490]
cmp byte [eax], 0
jne 0x45c072
mov eax, ebx
call fcn.0045c1e4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045dfd0
mov eax, ebx
call fcn.0045e994
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c0b2
call fcn.00404000
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c464
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49eddc]
cmp dword [eax + 0x30], 0
je 0x45c50e
cmp dword [ebx + 0x94], 0
jne 0x45c508
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c3f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c508
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45c4ce
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c508
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041cee0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c4dd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d070
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45d0a5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404b48
jmp 0x45d0b2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404aac
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e1ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e1ed
mov eax, esi
call fcn.00444868
test al, al
je 0x45e1ed
mov eax, dword [ebx + 0x84]
call fcn.00444564
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e1ed
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444564
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4729fc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x472a2a
mov eax, ebx
call fcn.004734b0
cmp dword [ebx + 0x40], 0
je 0x472a23
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x472a9b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x472a8d
cmp dword [ebx + 8], 0
je 0x472a4c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x472a5e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x472a8d
cmp dword [ebx + 8], 0
je 0x472a3f
cmp eax, 3
je 0x472a71
dec eax
jne 0x472a3f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x472a3f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x472a3f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x472ab9
cmp dword [ebx + 0x14], 0xcc
je 0x472ab9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00472ac4
pop ebx
ret
Function at 0x48585c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov ebp, edx
mov edi, eax
mov bl, 1
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
cmp byte [edi + 0x237], 0
je 0x4858a4
mov al, byte [edi + 0x236]
xor edx, edx
mov dl, al
cmp ebp, edx
jge 0x485899
mov edx, ebp
push edx
mov edx, eax
pop eax
sub dl, al
mov eax, edi
call fcn.004847dc
jmp 0x4858cf
xor edx, edx
mov eax, edi
call fcn.004847dc
jmp 0x4858cf
mov al, byte [edi + 0x236]
xor edx, edx
mov dl, al
mov ecx, 0x64
sub ecx, ebp
cmp edx, ecx
jge 0x4858c6
mov edx, ebp
add dl, al
mov eax, edi
call fcn.004847dc
jmp 0x4858cf
mov dl, 0x64
mov eax, edi
call fcn.004847dc
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
mov edx, dword [esp]
mov dword [edx], eax
cmp byte [edi + 0x237], 0
je 0x4858f6
cmp byte [edi + 0x236], 0
jne 0x4858f6
xor ebx, ebx
mov byte [edi + 0x237], 0
cmp byte [edi + 0x237], 0
jne 0x485961
cmp byte [edi + 0x236], 0x64
jne 0x485961
cmp byte [edi + 0x23c], 0
jne 0x485915
xor ebx, ebx
jmp 0x485961
mov byte [edi + 0x237], 1
mov ax, word [edi + 0x23a]
mov word [edi + 0x234], ax
mov al, byte [edi + 0x23c]
cmp al, 2
jne 0x485951
xor eax, eax
mov al, byte [edi + 0x22f]
lea eax, [eax + eax*2]
mov edx, dword [0x49b92c]
mov al, byte [edx + eax*4 - 4]
mov byte [edi + 0x22f], al
jmp 0x485961
cmp al, 3
jne 0x485961
mov al, byte [edi + 0x23d]
mov byte [edi + 0x22f], al
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x486f80
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret
Function at 0x487e34
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f08
xor eax, eax
push ebp
push 0x487fb5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
mov ecx, 1
mov edx, dword [0x406db4]
call fcn.00405de4
add esp, 4
mov eax, dword [ebp - 4]
call fcn.00404d18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x487f9f
mov eax, dword [0x497910]
push eax
mov eax, esi
mov ecx, 1
mov edx, dword [0x406db4]
call fcn.00405de4
add esp, 4
mov edi, 9
mov eax, dword [ebp - 8]
test eax, eax
jle 0x487ec5
mov dword [ebp - 0xc], eax
mov ecx, 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ecx - 1]
imul ecx
add edi, eax
inc ecx
dec dword [ebp - 0xc]
jne 0x487eb3
mov eax, dword [0x497910]
dec eax
test eax, eax
jl 0x487f9f
inc eax
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov eax, ecx
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp - 4]
mov bl, byte [eax + edx]
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov eax, edi
add al, bl
and al, 0xff
mov edx, dword [esi]
mov byte [edx + ecx], al
mov eax, edi
mov edx, dword [esi]
imul byte [edx + ecx]
and al, 0xff
mov edx, dword [esi]
mov byte [edx + ecx], al
mov eax, ecx
mov edx, dword [esi]
mov dl, byte [edx + ecx]
sub dl, al
and dl, 0xff
mov ebx, dword [esi]
mov byte [ebx + ecx], dl
mov edx, eax
mov ebx, dword [esi]
imul dx, word [ebx + ecx]
imul dx, ax
and dl, 0xff
mov ebx, dword [esi]
mov byte [ebx + ecx], dl
mov edx, edi
mov ebx, dword [esi]
add dl, byte [ebx + ecx]
sub dl, al
and dl, 0xff
mov ebx, dword [esi]
mov byte [ebx + ecx], dl
mov edx, dword [esi]
mov dl, byte [edx + ecx]
add edx, edx
and dl, 0xff
mov ebx, dword [esi]
mov byte [ebx + ecx], dl
mov edx, eax
shl edx, 3
mov ebx, dword [esi]
mov bl, byte [ebx + ecx]
sub bl, dl
and bl, 0xff
mov edx, dword [esi]
mov byte [edx + ecx], bl
mov edx, edi
imul dx, ax
mov ebx, dword [esi]
add dl, byte [ebx + ecx]
and dl, 0xff
mov ebx, dword [esi]
mov byte [ebx + ecx], dl
mov edx, edi
mov ebx, dword [esi]
mov bl, byte [ebx + ecx]
sub bl, dl
and bl, 0xff
mov edx, dword [esi]
mov byte [edx + ecx], bl
mov edx, eax
imul dx, ax
mov eax, dword [esi]
mov al, byte [eax + ecx]
sub al, dl
and al, 0xff
mov edx, dword [esi]
mov byte [edx + ecx], al
inc ecx
dec dword [ebp - 0xc]
jne 0x487ed9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487fbc
lea eax, [ebp - 4]
call fcn.00404a58
ret
Function at 0x48a258
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
dec ecx
test ecx, ecx
jl 0x48a27c
inc ecx
mov bl, byte [eax]
xor bl, byte [edx]
mov esi, dword [eax]
shr esi, 8
and ebx, 0xff
xor esi, dword [ebx*4 + 0x49791c]
mov dword [eax], esi
inc edx
dec ecx
jne 0x48a260
pop esi
pop ebx
ret

Function at 0x48ca18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x48ca45
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x48cac4
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0048abfc
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x48ca92
mov cx, word [esp]
sub cx, si
jmp 0x48ca94
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x48ca7b
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x48caba
mov cx, word [esp]
sub cx, si
jmp 0x48cabc
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x48caa3
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x48cb21
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0048c6ec
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x48cb0c
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x48cb21
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x48ca22
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x402350
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
sub esp, 0x104
cmp byte [0x796e8d], 0
je 0x4023a7
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, 0x5c
mov word [esp + eax], cx
lea eax, [esp]
push eax
push 0x77c068
push 0x7865d8
call fcn.004016a0
add esp, 0xc
xor ecx, ecx
nop
mov al, byte [esp + ecx]
lea ecx, [ecx + 1]
mov byte [ecx + 0x77c067], al
test al, al
jne 0x402390
add esp, 0x104
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x103
push eax
push 0x77bf60
call fcn.00675cb5
mov dl, byte [0x77bf60]
add esp, 0xc
mov byte [0x77c063], 0
mov bl, 0x20
cmp dl, 0x22
jne 0x402408
mov esi, 0x77bf60
xor ecx, ecx
push edi
mov bl, dl
lea edi, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4023e3
sub esi, edi
pop edi
test esi, esi
jle 0x402408
mov al, byte [ecx + 0x77bf61]
mov byte [ecx + 0x77bf60], al
inc ecx
cmp ecx, esi
jl 0x4023f1
mov dl, byte [0x77bf60]
mov eax, 0x77bf60
test dl, dl
je 0x40241d
cmp dl, bl
je 0x40241d
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x402411
push 0x2f
push 0x77bf60
mov byte [eax], 0
call fcn.004085c0
push 0x5c
push 0x77bf60
mov esi, eax
call fcn.004085c0
add esp, 0x10
cmp eax, esi
cmovbe eax, esi
pop esi
pop ebx
test eax, eax
je 0x402459
push 0x77bf60
mov byte [eax + 1], 0
call fcn.005fa8ef
add esp, 4
add esp, 0x104
ret
Function at 0x406020
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x20
call esi
test ax, ax
js 0x406059
push 0x1b
call esi
test ax, ax
js 0x406059
push 1
call esi
test ax, ax
js 0x406059
push 0xd
call esi
test ax, ax
js 0x406059
push 1
push 0x32
call dword [sym.imp.KERNEL32.dll_SleepEx]
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x406140
Capabilities:
Get file version info

Disassembly:
sub esp, 0x290
cmp byte [0x797444], 0
je 0x4062da
cmp byte [0x798018], 0
jne 0x4062ce
push ebx
push ebp
push esi
push edi
push 0x104
lea eax, [esp + 0xa0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0xa0]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4062ac
push esi
call fcn.00406b59
add esp, 4
mov ebx, eax
lea eax, [esp + 0x9c]
push ebx
push esi
push dword [esp + 0x1c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4062a3
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4062a3
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xFileVersion
lea eax, [esp + 0x1ac]
push 0x100
push eax
call fcn.00406460
add esp, 0x14
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1a8]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4062a3
cmp dword [esp + 0x18], 0
jbe 0x4062a3
mov ebp, dword [esp + 0x10]
push ebp
push 0x786d90
call fcn.004016a0
push str.build
push ebp
call fcn.00408ef0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4062a3
mov esi, edi
lea eax, [esp + 0x1c]
sub esi, ebp
lea ecx, [esi - 1]
push ecx
push ebp
push eax
call fcn.0042ee50
lea ecx, [esp + 0x68]
mov byte [esp + esi + 0x27], 0
add esp, 0xc
sub ecx, edi
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [edi + ecx - 1], al
test al, al
jne 0x406272
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
push str._V_s_n__s
push 0x798018
call fcn.00402890
push ebx
call fcn.00406b62
add esp, 0x14
jmp 0x4062b3
push ebx
call fcn.00406b62
add esp, 4
mov byte [0x797444], 0
pop edi
xor ecx, ecx
mov eax, 0x798018
cmp byte [0x798018], cl
pop esi
pop ebp
cmove eax, ecx
pop ebx
add esp, 0x290
ret
mov eax, 0x798018
add esp, 0x290
ret
xor eax, eax
add esp, 0x290
ret

Function at 0x4076a2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4076e1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4076e1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4076e1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4076e1
cmp dword [ecx + 0x74], 0xe
jbe 0x4076e1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42f7a0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42f7df
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42f7df
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42f7df
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42f7df
cmp dword [ecx + 0x74], 0xe
jbe 0x42f7df
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x434493
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x78940c
push 0x789404
push str.FlsAlloc
push 0x1f
call fcn.00434161
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4344c7
push dword [ebp + 8]
mov ecx, esi
call dword [0x7864dc]
call esi
jmp 0x4344cd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x434511
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x78941c
push 0x789414
push str.FlsGetValue
push 0x21
call fcn.00434161
mov esi, eax
add esp, 0x10
test esi, esi
je 0x434548
push dword [ebp + 8]
mov ecx, esi
call dword [0x7864dc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x434550
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x789424
push 0x78941c
push str.FlsSetValue
push 0x22
call fcn.00434161
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43458a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x7864dc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x439285
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x797480]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4392d0
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00439693
test al, al
jne 0x4392ca
sub edx, 2
cmp edx, edi
jne 0x4392b0
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4392f2
lea eax, [edi + 2]
cmp edx, eax
je 0x4392f2
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00438f4c
add esp, 0x10
jmp 0x4393ec
push esi
lea ecx, [ebp - 0x255]
call fcn.00439693
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x439335
push dword [ebp - 0x25c]
jmp 0x4392e2
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x439372
cmp word [ebp - 0x226], 0
je 0x439393
cmp word [ebp - 0x226], ax
jne 0x439372
cmp word [ebp - 0x224], 0
je 0x439393
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00438f4c
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4393df
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x43934c
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4393c7
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4393ec
push 0x43899c
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00445d50
add esp, 0x10
jmp 0x4393bc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407b68
leave
ret