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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 2
push 0x104
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0046d1e4
mov esi, eax
add esp, 8
test esi, esi
je 0x424c69
push edi
push 2
push 0x104
call fcn.0046d1e4
mov edi, eax
add esp, 8
test edi, edi
je 0x424b9d
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push ebx
push 0x4aab20
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
call fcn.0046ca27
add esp, 4
cmp word [esi], bx
je 0x424c5a
push esi
call fcn.0046d5b8
mov ecx, esi
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424bb4
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
je 0x424be3
lea edi, [esi - 2]
mov edi, edi
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x424bd0
mov eax, dword [0x48bf3c]
mov dword [edi], eax
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x424bf0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424bf0
sub ecx, edx
sar ecx, 1
lea edi, [ecx*2 + 4]
push edi
call fcn.0046c995
mov edx, eax
add esp, 4
test edx, edx
jne 0x424c25
call fcn.0046f171
push edi
call fcn.0046c995
add esp, 4
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, esi
mov dword [eax], edx
sub edx, esi
mov edi, edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x424c30
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call fcn.0046ca27
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ebx, 0xe
call fcn.0046ca27
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x424d90
Capabilities:
Get common file path
Set current directory

Disassembly:
push esi
push 2
push 0x104
call fcn.0046d1e4
mov esi, eax
add esp, 8
test esi, esi
je 0x424dce
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x48bf40
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call fcn.0046e06d
push esi
call fcn.0046ca27
add esp, 8
pop esi
ret
push 0x48bf40
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop esi
ret
Function at 0x424de0
Capabilities:
Enumerate files on windows

Disassembly:
push esi
push edi
push 1
push 0x250
mov esi, ecx
call fcn.0046d1e4
mov edi, eax
add esp, 8
test edi, edi
je 0x424eb9
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424eaf
test byte [edi], 0x10
jne 0x424e98
lea esi, [edi + 0x2c]
mov ecx, 0x48bf48
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x424e4a
test dx, dx
je 0x424e46
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x424e4a
add eax, 4
add ecx, 4
test dx, dx
jne 0x424e24
xor eax, eax
jmp 0x424e4f
sbb eax, eax
or eax, 1
test eax, eax
je 0x424e98
mov eax, 0x48bf40
mov ecx, esi
lea ebx, [ebx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x424e86
test dx, dx
je 0x424e82
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x424e86
add ecx, 4
add eax, 4
test dx, dx
jne 0x424e60
xor eax, eax
jmp 0x424e8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x424e98
push esi
call fcn.0046d5b8
add esp, 4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x424e11
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call fcn.0046ca27
add esp, 4
pop ebx
pop edi
pop esi
ret
Function at 0x42b4d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4ad9b4]
push ebx
mov eax, dword [eax + 0x1278]
push esi
mov esi, dword [eax + ecx*8]
push edi
lea edi, [eax + ecx*8]
mov ebx, edx
mov dword [ebp - 4], edi
test esi, esi
je 0x42b6d8
cmp ebx, 1
jne 0x42b51f
cmp word [esi + 0x1a], 0
jne 0x42b51f
push esi
call fcn.0046ca27
add esp, 4
mov dword [edi], 0
mov eax, dword [0x4ad9b4]
pop edi
dec dword [eax + 0x3c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0042d9e0
mov ecx, esi
call fcn.0042cc80
mov ecx, esi
call fcn.004025c0
mov eax, dword [esi + 0x78]
test al, 0x40
je 0x42b54a
test al, al
jns 0x42b54a
mov eax, dword [0x4ad9b4]
dec dword [eax + 0x518]
cmp dword [0x4aabe0], 0xffff
mov edi, 0x4aabe0
je 0x42b57c
jmp 0x42b560
mov eax, dword [edi]
test dword [esi + 0x78], eax
je 0x42b571
mov eax, dword [edi + 4]
push ebx
push esi
call eax
add esp, 8
add edi, 8
cmp dword [edi], 0xffff
jne 0x42b560
movzx eax, word [esi + 0x18]
cmp ax, 0x20
jge 0x42b59b
cwde
mov eax, dword [eax*4 + 0x4aac18]
test eax, eax
je 0x42b5be
push ebx
push esi
call eax
add esp, 8
jmp 0x42b5be
movsx ecx, ax
mov eax, dword [0x4ad9b4]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0x1d4]
mov eax, dword [ecx + eax - 0x123c]
test eax, eax
je 0x42b5be
push ebx
push esi
call eax
test dword [esi + 0x78], 0x200
je 0x42b5eb
mov edi, dword [esi + 0xbc]
cmp word [edi + esi + 0x18], 0xd
jne 0x42b5eb
mov ecx, dword [edi + esi + 0x1c]
test ecx, ecx
je 0x42b5e3
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + esi + 0x1c], 0
mov ecx, esi
call fcn.0042c380
mov eax, dword [0x4ad9b4]
test byte [eax + 0x28], 0x20
je 0x42b61f
movsx edx, word [esi + 0x12]
mov ecx, dword [0x4ad9ac]
cmp edx, dword [ecx + 0x194]
jge 0x42b61f
mov eax, dword [ecx + 0x198]
movzx eax, word [eax + edx*2]
mov dword [ecx + 0x1a0], eax
mov eax, dword [esi + 0x78]
xor edi, edi
test eax, 0x200
jne 0x42b632
mov edi, 1
jmp 0x42b68c
test ebx, ebx
je 0x42b644
mov ecx, esi
call fcn.00401560
mov edi, 1
jmp 0x42b68c
test eax, 0x1000
jne 0x42b669
mov eax, dword [esi + 0xbc]
test dword [eax + esi + 0x10], 0x2000
je 0x42b662
test byte [eax + esi + 0x20], 4
je 0x42b68c
mov edi, 1
jmp 0x42b68c
movzx eax, word [esi + 0x96]
cmp ax, 0xfffe
je 0x42b67c
cmp ax, 0xffff
jne 0x42b68c
or eax, 0xffffffff
push esi
mov word [esi + 0x96], ax
call fcn.00401010
xor eax, eax
mov word [esi + 0x1a], ax
test edi, edi
je 0x42b6ce
test dword [esi + 0x78], 0x1000
je 0x42b6a6
mov ecx, esi
call fcn.004015c0
push esi
call fcn.0046ca27
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ecx], 0
mov eax, dword [0x4ad9b4]
pop edi
dec dword [eax + 0x3c]
pop esi
mov dword [ecx + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ba00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x4ad9b4]
push ebx
mov al, byte [ecx + 0x1a7]
test al, al
jne 0x42ba7c
mov ecx, 1
call fcn.00429400
mov eax, dword [0x4ad9b4]
push dword [eax]
call dword [sym.imp.MMFS2.dll_Ordinal_59]
call fcn.004010a0
call fcn.0042c1e0
call fcn.004011c0
mov eax, dword [0x4ad9b4]
push dword [eax]
call dword [sym.imp.MMFS2.dll_Ordinal_61]
call fcn.00401210
mov eax, dword [0x4ad9b4]
push dword [eax]
call dword [sym.imp.MMFS2.dll_Ordinal_60]
call fcn.00429500
mov eax, dword [0x4ad9b4]
cmp byte [eax + 0x4c8], 0
je 0x42ba73
push dword [eax]
call dword [sym.imp.MMFS2.dll_Ordinal_62]
pop ebx
ret
mov byte [eax + 0x4c8], 1
pop ebx
ret
mov byte [ecx + 0x1a7], 0
test al, 4
je 0x42bad4
mov edx, dword [0x4ad9b0]
mov ecx, dword [0x4ad9b4]
movsx ebx, al
mov eax, dword [edx + 0x1c]
cmp eax, dword [ecx + 0x190]
jne 0x42baac
mov eax, dword [edx + 0x20]
cmp eax, dword [ecx + 0x194]
je 0x42bab7
call fcn.004385b0
mov edx, dword [0x4ad9b0]
mov ecx, 6
test bl, 8
jne 0x42bacd
test byte [edx + 0xc], 0x20
mov eax, 0x16
cmovne ecx, eax
call fcn.00437130
jmp 0x42bb0b
test al, 1
je 0x42bb31
mov ecx, dword [0x4ad9b0]
mov edx, dword [0x4ad9b4]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [edx + 0x190]
jne 0x42bb06
mov eax, dword [ecx + 0x20]
cmp eax, dword [edx + 0x194]
jne 0x42bb06
mov ecx, 6
call fcn.00437130
jmp 0x42bb0b
call fcn.00438690
mov ecx, dword [0x4ad9b4]
mov eax, dword [ecx + 0xb0]
mov dword [ecx + 0x190], eax
mov ecx, dword [0x4ad9b4]
mov eax, dword [ecx + 0xb4]
mov dword [ecx + 0x194], eax
pop ebx
ret
mov ecx, 0x86
pop ebx
jmp fcn.00437130
Function at 0x42c8e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4a7ff8]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, dword [0x4ad9b4]
add edi, 0x2c
mov dword [ebp - 0x44], edi
mov dword [edi], 0
mov ecx, dword [0x4ad9b4]
cmp eax, dword [ecx + 0xc]
je 0x42c91d
cmp eax, dword [ecx + 0x10]
jne 0x42ca31
push ebx
push esi
xor esi, esi
xor edx, edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edx
lea esp, [esp]
mov eax, dword [0x4ad9ac]
xor ebx, ebx
mov ecx, dword [eax + 0x254]
movzx eax, word [esi + ecx]
test eax, eax
jle 0x42ca16
cmp eax, 4
jle 0x42c982
cmp eax, 5
jne 0x42ca16
lea esi, [ecx + 0x16]
add esi, edx
lea edi, [ebx + 8]
nop
movzx eax, word [esi]
push eax
add ebx, ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x42c974
or ebx, 1
sub esi, 2
dec edi
jne 0x42c960
mov edi, dword [ebp - 0x44]
jmp 0x42ca0e
lea esi, [eax - 1]
lea eax, [ebp - 0x38]
push eax
push esi
mov dword [ebp - 0x38], 0x34
mov dword [ebp - 0x34], 0x83
call dword [sym.imp.WINMM.dll_joyGetPosEx]
test eax, eax
jne 0x42ca0e
mov edx, dword [ebp - 0x30]
shl esi, 5
mov eax, dword [esi + 0x4ad9e8]
mov ecx, dword [esi + 0x4ad9ec]
sub ecx, eax
sub edx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x42c9c8
mov ebx, 4
jmp 0x42c9d8
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
mov eax, 8
cmovae ebx, eax
mov eax, dword [esi + 0x4ad9f0]
mov ecx, dword [esi + 0x4ad9f4]
mov edx, dword [ebp - 0x2c]
sub ecx, eax
sub edx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x42c9f9
or ebx, 1
jmp 0x42ca06
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
jb 0x42ca06
or ebx, 2
mov eax, dword [ebp - 0x18]
shl eax, 4
or ebx, eax
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov byte [edi], bl
add edx, 0x10
add esi, 2
inc edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], edi
cmp edx, 0x40
jl 0x42c930
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0046c986
mov esp, ebp
pop ebp
ret
Function at 0x4402e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4a7ff8]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
rol ax, 8
movzx eax, ax
mov dword [0x4adb7c], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x440355
cmp dword [ebp - 0x108], 2
jne 0x440355
cmp dword [ebp - 0x114], 5
mov dword [0x4adb78], 1
jb 0x440355
mov eax, dword [0x4adb74]
cmp dword [ebp - 0x110], 0
mov ecx, 1
cmovne eax, ecx
mov dword [0x4adb74], eax
call fcn.00440260
call fcn.00424280
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0046c986
mov esp, ebp
pop ebp
ret

Function at 0x440370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 2
push 0x104
mov esi, ecx
call fcn.0046d1e4
mov edi, eax
add esp, 8
test edi, edi
je 0x4403b6
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push dword [ebp + 8]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
mov esi, eax
call fcn.0046ca27
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4405c0
Capabilities:
Delete directory

Disassembly:
mov eax, dword [0x4adb10]
test eax, eax
je 0x4405f5
cmp dword [0x4adb44], 0
je 0x4405de
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [0x4adb10]
test eax, eax
je 0x4405f5
push eax
call fcn.0046ca27
add esp, 4
mov dword [0x4adb10], 0
mov eax, dword [0x4ad9c4]
test eax, eax
je 0x440611
push eax
call fcn.0046ca27
add esp, 4
mov dword [0x4ad9c4], 0
mov eax, dword [0x4adb58]
test eax, eax
je 0x440621
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4adb5c]
test eax, eax
je 0x440631
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
ret

Function at 0x440e80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4adb50]
sub esp, 0x40
push esi
mov esi, ecx
test eax, eax
je 0x440ed2
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x440ebc
cmp dword [ebp - 4], 0x103
jne 0x440ebc
cmp dword [0x4adb50], 0
jne 0x440f35
jmp 0x440ed2
push dword [0x4adb50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4adb50], 0
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00470860
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x440
mov dword [ebp - 0x34], str.open
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0x48bf24
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 1
mov dword [0x4adb54], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [0x4adb50]
test eax, eax
cmovne ecx, dword [ebp - 8]
mov dword [0x4adb50], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441570
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x4ad9b4]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov dword [ebp - 4], edx
test esi, esi
jne 0x441590
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 0x100
jne 0x4415d3
cmp dword [ebp + 8], 9
jne 0x4415fb
cmp dword [esi + 0x518], ecx
jle 0x4415fb
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x4ad9b4]
test ax, ax
js 0x4415c0
call fcn.0044ed40
jmp 0x4415c5
call fcn.0044ef00
test eax, eax
je 0x4415f0
mov eax, 4
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 5
jne 0x4415fb
mov eax, dword [0x4ad9ac]
test byte [eax + 0x14], 0x10
je 0x4415fb
cmp byte [esi + 0x4c8], cl
je 0x4415fb
call fcn.0042c100
mov edx, dword [ebp - 4]
mov esi, dword [0x4ad9b4]
xor ecx, ecx
movsx eax, word [esi + 0x1d8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x441644
push edi
xor edi, edi
test eax, eax
jle 0x441643
push ebx
mov ebx, 0x1dc
push dword [ebp + 0xc]
mov eax, dword [ebx + esi]
push dword [ebp + 8]
push edx
push dword [ebp - 8]
push esi
call eax
movsx ecx, ax
test cl, 0x5c
jne 0x441642
inc edi
add ebx, 4
cmp edi, dword [ebp - 0xc]
jge 0x441642
mov esi, dword [0x4ad9b4]
mov edx, dword [ebp - 4]
jmp 0x441616
pop ebx
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x441730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [0x4ad988]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 4], eax
test eax, eax
je 0x441757
push 0
push dword [0x4ad988]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push esi
push edi
push 0x304
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 0
push dword [0x4ad988]
call ebx
mov esi, eax
test esi, esi
je 0x4417a7
jmp 0x441790
push 0x100
push 0
push 0
push esi
call edi
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x441790
mov eax, dword [0x4ad9ac]
cmp dword [eax + 0x1fc], 0
jne 0x4417fe
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
je 0x4417fe
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea esp, [esp]
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x4417e0
push dword [0x4ad984]
call dword [sym.imp.MMFS2.dll_Ordinal_35]
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x441821
push 5
push dword [0x4ad988]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x4472a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, edx
push edi
movzx eax, word [esi]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
mov edi, ecx
push eax
push edi
call ebx
test eax, eax
jne 0x4472d5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [ebp - 4]
sub eax, 0
je 0x44731f
sub eax, 2
jne 0x4472cc
mov eax, dword [esi]
sub eax, 0
je 0x4472fb
sub eax, 2
je 0x4472f4
xorps xmm0, xmm0
jmp 0x447304
movsd xmm0, qword [esi + 8]
jmp 0x447304
movd xmm0, dword [esi + 8]
cvtdq2pd xmm0, xmm0
push 0
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
movsd qword [ebp - 0x18], xmm0
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
sub eax, 0
je 0x447336
sub eax, 2
je 0x44732f
xor eax, eax
jmp 0x447339
cvttsd2si eax, qword [esi + 8]
jmp 0x447339
mov eax, dword [esi + 8]
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448ff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push edi
push 0
push eax
push 2
lea eax, [ebp - 4]
mov edi, ecx
push eax
push edi
mov esi, edx
call ebx
test eax, eax
je 0x449086
cmp dword [ebp - 8], 2
jb 0x449086
movsx eax, word [ebp - 4]
mov dword [esi], eax
sub eax, 0
je 0x44905b
dec eax
je 0x449086
dec eax
jne 0x449086
push eax
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
test eax, eax
je 0x449086
cmp dword [ebp - 8], 8
jb 0x449086
movsd xmm0, qword [ebp - 0x18]
movsd qword [esi + 8], xmm0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call ebx
test eax, eax
je 0x449086
cmp dword [ebp - 8], 4
jb 0x449086
mov eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b800
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
lea eax, [ebp - 4]
push eax
push edx
mov dword [ebp - 0xc], ecx
call dword [0x4adaec]
mov edi, eax
cmp edi, 0xffffffff
je 0x44b872
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x44b872
push ebx
call fcn.0046c995
mov esi, eax
add esp, 4
test esi, esi
je 0x44b86b
push 0
lea eax, [ebp - 8]
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jne 0x44b862
mov ecx, dword [ebp - 0xc]
push edi
mov dword [ecx], eax
call dword [0x4adabc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0046ca27
add esp, 4
push edi
call dword [0x4adabc]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c3a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a7ff8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x1fc], 0
je 0x44c3fb
push 0
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x44c40f
cmp dword [ebp - 0x14], 0xc
jne 0x44c40f
push 0
push dword [ebp - 0x10]
push esi
call fcn.0044c420
push 0
push dword [ebp - 0xc]
push esi
call fcn.0044c4a0
push 0
push dword [ebp - 8]
push esi
call fcn.0044c520
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c986
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046c986
mov esp, ebp
pop ebp
ret
Function at 0x4508d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov ebx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x4509a9
mov eax, dword [ebp + 8]
lea esp, [esp]
cmp ax, word [esi + 2]
jne 0x450943
mov al, byte [esi]
and al, 0x10
je 0x450900
test ebx, ebx
jne 0x450908
test al, al
jne 0x450940
test ebx, ebx
jne 0x450940
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 8
cwde
je 0x45091c
test eax, eax
jns 0x450940
jmp 0x450920
test eax, eax
js 0x450940
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 4
cwde
je 0x450934
test eax, eax
jns 0x45093c
jmp 0x450938
test eax, eax
js 0x45093c
movzx edi, word [esi + 4]
test edi, edi
jne 0x45094d
mov eax, dword [ebp + 8]
test byte [esi], 0x80
jne 0x4509a9
add esi, 8
jmp 0x4508f0
test byte [esi], 0x40
jne 0x450980
cmp edi, 0x7d0
jge 0x450988
mov esi, dword [ebp - 4]
movzx eax, di
push 0
or eax, 0x10000
push eax
push 0x111
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x7d0
jge 0x45095a
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x4509a9
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x4509a9
test al, 1
je 0x45095d
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450c20
Capabilities:
Log keystrokes

Disassembly:
push ebx
xor eax, eax
push edi
mov ebx, ecx
mov edi, edx
mov word [ebx], ax
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x450c6b
push esi
push 2
push 0x40
call fcn.0046d1e4
add esp, 8
mov esi, eax
push 0x3f
push esi
push 0x65
push dword [0x4ad978]
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [edi - 0x60]
push ecx
push esi
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.0046ca27
add esp, 0x10
pop esi
jmp 0x450cb7
lea eax, [edi - 0x70]
cmp eax, 0x17
ja 0x450c88
lea eax, [edi - 0x6f]
push eax
push 0x48c230
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x450cb7
xor eax, eax
lea ebx, [ebx]
cmp dword [eax*8 + str._bf_tg_fh_ri], edi
je 0x450ca1
inc eax
cmp eax, 0x14
jl 0x450c90
jmp 0x450cb7
push 0x3f
push ebx
push dword [eax*8 + 0x4ac31c]
push dword [0x4ad978]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebx], 0
jne 0x450ccf
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [ebx], ax
xor eax, eax
mov word [ebx + 2], ax
pop edi
pop ebx
ret
Function at 0x450ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0
mov ebx, ecx
push 0x78
mov edi, edx
push ebx
mov dword [ebp - 4], edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x79
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
movsx eax, word [edi + 0x12]
cmp esi, eax
jne 0x450d58
push 2
push 0x80
call fcn.0046d1e4
mov edi, eax
mov eax, dword [ebp - 4]
add esp, 8
movsx edx, word [eax + esi*2]
mov ecx, edi
call fcn.00450c20
push edi
lea ecx, [esi + 0x6e]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.0046ca27
mov edi, dword [ebp - 4]
add esp, 4
push 1
lea eax, [esi + 0x6e]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc esi
cmp esi, 8
jl 0x450d12
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret