joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4089c0
Capabilities:
Set current directory

Disassembly:
mov eax, dword [0x4af220]
test eax, eax
je 0x4089f3
cmp dword [0x4af21c], 0
je 0x4089e2
push eax
mov ecx, 0x4af378
call fcn.00464980
mov eax, dword [0x4af220]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4af220], 0
mov eax, dword [0x4aee44]
test eax, eax
je 0x408a30
push 0x5c
push eax
call fcn.00470fc6
add esp, 8
test eax, eax
je 0x408a30
mov edx, dword [0x4aee44]
mov ecx, eax
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jae 0x408a24
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x408a29
xor ecx, ecx
mov word [eax], cx
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
mov edi, dword [0x4aee3c]
test edi, edi
je 0x408b1d
cmp word [edi], 0
je 0x408b14
xor esi, esi
push edi
call fcn.004749fa
add esp, 4
test eax, eax
je 0x408a79
call fcn.0047744a
cmp dword [eax], 2
je 0x408a79
push 0x3e8
call ebx
inc esi
cmp esi, 0xa
jl 0x408a53
jmp 0x408ae6
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408a80
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 1]
push eax
call fcn.004737f9
mov esi, eax
add esp, 8
test esi, esi
je 0x408ae6
mov edx, esi
mov ecx, edi
sub edx, edi
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x408ab0
push 0x5c
push esi
call fcn.00470fc6
add esp, 8
test eax, eax
je 0x408add
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.0047745d
add esp, 4
push esi
call fcn.0047380f
add esp, 4
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408af0
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
add edi, 2
cmp word [edi], ax
jne 0x408a51
mov edi, dword [0x4aee3c]
push edi
call fcn.0047380f
add esp, 4
mov edx, dword [0x4aee38]
test edx, edx
je 0x408b8a
xor esi, esi
nop dword [eax]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408b35
sub ecx, edi
sar ecx, 1
cmp ecx, 3
jle 0x408b58
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x408b58
xor eax, eax
mov word [edx + ecx*2 - 2], ax
push edx
call fcn.0047745d
add esp, 4
test eax, eax
je 0x408b84
call fcn.0047744a
cmp dword [eax], 2
je 0x408b84
push 0x3e8
call ebx
inc esi
cmp esi, 0xa
jge 0x408b84
mov edx, dword [0x4aee38]
jmp 0x408b30
mov edx, dword [0x4aee38]
push edx
call fcn.0047380f
push dword [0x4aee44]
mov dword [0x4aee38], 0
call fcn.0047380f
add esp, 8
mov dword [0x4aee44], 0
pop edi
pop esi
pop ebx
ret
Function at 0x412020
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push edi
push eax
mov dword [ebp - 0x50], 0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x54], 0x440
mov dword [ebp - 0x4c], str.open
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x412144
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x412132
call fcn.0042d010
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
and ebx, 2
je 0x4120c3
mov eax, dword [0x4af09c]
push 0
push dword [eax + 0x10]
call esi
mov eax, dword [0x4af09c]
mov eax, dword [eax + 0x4c4]
test eax, eax
je 0x4120c3
push 0
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
nop dword [eax]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x412108
cmp dword [ebp + 8], 0x103
jne 0x412108
xor edx, edx
lea ecx, [ebp - 0x1c]
call fcn.00402c00
push 0x4ff
push 0xc8
push 0
push 0
push 0
call edi
jmp 0x4120d0
test bx, bx
je 0x41212d
mov eax, dword [0x4af09c]
push 5
push dword [eax + 0x10]
call esi
mov eax, dword [0x4af09c]
mov eax, dword [eax + 0x4c4]
test eax, eax
je 0x41212d
push 5
push eax
call esi
call fcn.0042d120
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4265b0
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.004737f9
mov esi, eax
add esp, 8
test esi, esi
je 0x4266da
push edi
push 2
push 0x104
call fcn.004737f9
mov edi, eax
add esp, 8
test edi, edi
je 0x42660d
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push ebx
push 0x4ad044
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
call fcn.0047380f
add esp, 4
cmp word [esi], bx
je 0x4266cb
push esi
call fcn.004749fa
mov ecx, esi
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426624
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
je 0x426653
lea edi, [esi - 2]
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x426640
mov eax, dword [0x49c464]
mov dword [edi], eax
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426660
sub ecx, edx
sar ecx, 1
lea edi, [ecx*2 + 4]
push edi
call fcn.004737ee
mov edx, eax
add esp, 4
test edx, edx
jne 0x426695
call fcn.0047cc80
push edi
call fcn.004737ee
add esp, 4
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, esi
mov dword [eax], edx
sub edx, esi
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4266a0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call fcn.0047380f
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.0047380f
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ee90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4abca0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [0x4af09c]
add edi, 0x2c
cmp dword [0x4af388], 0
mov dword [ebp - 0x44], edi
mov dword [edi], 0
je 0x42efd2
push ebx
push esi
xor esi, esi
xor edx, edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edx
nop dword [eax]
mov eax, dword [0x4af094]
xor ebx, ebx
mov ecx, dword [eax + 0x254]
movzx eax, word [esi + ecx]
mov esi, eax
test esi, esi
je 0x42efb4
cmp esi, 4
jbe 0x42ef25
cmp eax, 5
jne 0x42efb4
lea esi, [ecx + 0x16]
add esi, edx
lea edi, [ebx + 8]
movzx eax, word [esi]
add ebx, ebx
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x42ef15
or ebx, 1
sub esi, 2
sub edi, 1
jne 0x42ef01
mov edi, dword [ebp - 0x44]
jmp 0x42efaf
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x34
push eax
dec esi
mov dword [ebp - 0x34], 0x83
push esi
call dword [sym.imp.WINMM.dll_joyGetPosEx]
test eax, eax
jne 0x42efaf
mov edx, dword [ebp - 0x30]
shl esi, 5
mov eax, dword [esi + 0x4af0d0]
sub edx, eax
mov ecx, dword [esi + 0x4af0d4]
sub ecx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x42ef69
mov ebx, 4
jmp 0x42ef79
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
mov eax, 8
cmovae ebx, eax
mov eax, dword [esi + 0x4af0d8]
mov ecx, dword [esi + 0x4af0dc]
mov edx, dword [ebp - 0x2c]
sub ecx, eax
sub edx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x42ef9a
or ebx, 1
jmp 0x42efa7
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
jb 0x42efa7
or ebx, 2
mov eax, dword [ebp - 0x18]
shl eax, 4
or ebx, eax
mov edx, dword [ebp - 0x3c]
mov byte [edi], bl
mov esi, dword [ebp - 0x40]
add edx, 0x10
add esi, 2
mov dword [ebp - 0x3c], edx
inc edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], edi
cmp edx, 0x40
jl 0x42eed0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0046fd1f
mov esp, ebp
pop ebp
ret

Function at 0x433d90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x54]
mov dword [esi + 0x104], ecx
sub ecx, dword [esi + 0x58]
add eax, ecx
mov dword [esi + 0x108], edx
sub edx, dword [esi + 0x5c]
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x64]
add eax, edx
mov dword [esi + 0x118], ecx
mov dword [esi + 0x124], eax
mov ecx, esi
mov eax, dword [esi + 0xdc]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0xe8]
mov dword [esi + 0x11c], edx
mov edx, 1
mov dword [esi + 0x110], eax
pop esi
pop ebp
jmp fcn.00433e00
Function at 0x442cd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 2
push 0x104
mov esi, ecx
call fcn.004737f9
mov edi, eax
add esp, 8
test edi, edi
je 0x442d16
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.0047380f
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 0x443e70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [0x4af09c]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov dword [ebp - 4], edx
test edi, edi
jne 0x443e90
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
cmp edx, 0x100
jne 0x443ee7
cmp dword [ebp + 8], 9
jne 0x443f4c
cmp dword [edi + 0x518], ecx
jle 0x443f4c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x4af09c]
test ax, ax
js 0x443eca
call fcn.004520e0
jmp 0x443ecf
call fcn.004522a0
test eax, eax
je 0x443edf
pop esi
pop ebx
mov eax, 4
pop edi
mov esp, ebp
pop ebp
ret
mov edi, dword [0x4af09c]
jmp 0x443f47
cmp edx, 5
jne 0x443f4c
mov eax, dword [0x4af094]
test byte [eax + 0x14], 0x10
je 0x443f4c
cmp byte [edi + 0x4c8], cl
je 0x443f4c
mov esi, dword [edi + 0x1278]
xor ebx, ebx
cmp dword [edi + 0x3c], ecx
jle 0x443f4c
nop dword [eax]
mov eax, dword [esi]
test eax, eax
jne 0x443f20
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x443f16
test byte [eax + 0x7c], 4
jne 0x443f3e
test dword [eax + 0x78], 0x2b0
je 0x443f3e
push eax
mov eax, dword [eax + 0x8c]
call eax
mov edi, dword [0x4af09c]
inc ebx
add esi, 8
cmp ebx, dword [edi + 0x3c]
jl 0x443f10
mov edx, dword [ebp - 4]
xor ecx, ecx
movsx eax, word [edi + 0x1d8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x443f89
xor esi, esi
test eax, eax
jle 0x443f89
lea ebx, [edi + 0x1dc]
push dword [ebp + 0xc]
mov eax, dword [ebx]
push dword [ebp + 8]
push edx
push dword [ebp - 8]
push edi
call eax
movsx ecx, ax
test cl, 0x5c
jne 0x443f89
mov edx, dword [ebp - 4]
inc esi
add ebx, 4
cmp esi, dword [ebp - 0xc]
jl 0x443f66
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x444080
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [0x4af070]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 4], eax
test eax, eax
je 0x4440a7
push 0
push dword [0x4af070]
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 [0x4af070]
call ebx
mov esi, eax
test esi, esi
je 0x4440f7
nop dword [eax + eax]
push 0x100
push 0
push 0
push esi
call edi
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x4440e0
mov eax, dword [0x4af094]
cmp dword [eax + 0x1fc], 0
jne 0x44414e
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [ebp - 0x20]
push 1
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x44414e
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax]
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 0x444130
push dword [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_35]
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x444171
push 5
push dword [0x4af070]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x44a0f0
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
push 0
mov edi, ecx
movzx eax, word [esi]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
push eax
push edi
call ebx
test eax, eax
jne 0x44a125
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [ebp - 4]
sub eax, 0
je 0x44a16f
sub eax, 2
jne 0x44a11c
mov eax, dword [esi]
sub eax, 0
je 0x44a14b
sub eax, 2
je 0x44a144
xorps xmm0, xmm0
jmp 0x44a154
movsd xmm0, qword [esi + 8]
jmp 0x44a154
movd xmm0, dword [esi + 8]
cvtdq2pd xmm0, xmm0
push 0
lea eax, [ebp - 8]
movsd qword [ebp - 0x18], xmm0
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
sub eax, 0
je 0x44a186
sub eax, 2
je 0x44a17f
xor eax, eax
jmp 0x44a189
cvttsd2si eax, qword [esi + 8]
jmp 0x44a189
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 0x44c020
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 0x44c0ba
cmp dword [ebp - 8], 2
jb 0x44c0ba
movsx eax, word [ebp - 4]
mov dword [esi], eax
sub eax, 0
je 0x44c08f
sub eax, 1
je 0x44c0ba
sub eax, 1
jne 0x44c0ba
push eax
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
test eax, eax
je 0x44c0ba
cmp dword [ebp - 8], 8
jb 0x44c0ba
movsd xmm0, qword [ebp - 0x18]
mov eax, 1
movsd qword [esi + 8], xmm0
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 0x44c0ba
cmp dword [ebp - 8], 4
jb 0x44c0ba
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 0x44e8d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push ebx
push esi
push edi
push 0
push eax
push edx
mov ebx, ecx
call dword [0x4af1d4]
mov edi, eax
cmp edi, 0xffffffff
je 0x44e940
mov eax, dword [ebp - 4]
test eax, eax
je 0x44e940
push eax
call fcn.004737ee
mov esi, eax
add esp, 4
test esi, esi
je 0x44e939
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jne 0x44e930
push edi
mov dword [ebx], eax
call dword [0x4af1a4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0047380f
add esp, 4
push edi
call dword [0x4af1a4]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453ac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
xor edi, edi
mov dword [ebp - 4], ecx
test esi, esi
je 0x453b98
mov eax, dword [ebp + 8]
nop dword [eax]
cmp ax, word [esi + 2]
jne 0x453b32
test byte [esi], 0x10
je 0x453af1
test ebx, ebx
jne 0x453af5
jmp 0x453b32
test ebx, ebx
jne 0x453b32
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 8
cwde
je 0x453b09
test eax, eax
jns 0x453b2f
jmp 0x453b0d
test eax, eax
js 0x453b2f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esi]
cwde
test cl, 4
je 0x453b23
test eax, eax
jns 0x453b2b
jmp 0x453b27
test eax, eax
js 0x453b2b
movzx edi, word [esi + 4]
test edi, edi
jne 0x453b3c
mov eax, dword [ebp + 8]
cmp byte [esi], 0
jl 0x453b98
add esi, 8
jmp 0x453ae0
test cl, 0x40
je 0x453b6f
cmp edi, 0x7d0
jl 0x453b77
mov esi, dword [ebp - 4]
push 0
movzx eax, di
or eax, 0x10000
push eax
push 0x111
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x7d0
jl 0x453b49
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x453b98
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x453b98
test al, 1
je 0x453b4c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453ce0
Capabilities:
Log keystrokes

Disassembly:
push ebx
push edi
mov ebx, ecx
mov edi, edx
xor eax, eax
mov word [ebx], ax
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x453d2b
push esi
push 2
push 0x40
call fcn.004737f9
add esp, 8
mov esi, eax
push 0x3f
push esi
push 0x65
push dword [0x4af060]
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.0047380f
add esp, 0x10
pop esi
jmp 0x453d77
lea eax, [edi - 0x70]
cmp eax, 0x17
ja 0x453d48
lea eax, [edi - 0x6f]
push eax
push 0x49c798
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x453d77
xor eax, eax
nop word [eax + eax]
cmp dword [eax*8 + str._bf_tg_fh_ri], edi
je 0x453d61
inc eax
cmp eax, 0x14
jl 0x453d50
jmp 0x453d77
push 0x3f
push ebx
push dword [eax*8 + 0x49c264]
push dword [0x4af060]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebx], 0
jne 0x453d8f
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 0x453da0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
push edi
push 0
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 0x453e18
push 2
push 0x80
call fcn.004737f9
mov edi, eax
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, edi
movsx edx, word [eax + esi*2]
call fcn.00453ce0
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.0047380f
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 0x453dd2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, edx
push 0
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], eax
push ecx
cmp dword [esi + 0x1f6], 0
lea ecx, [ebp - 1]
push 1
push ecx
push eax
setne byte [ebp - 1]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45a52e
cmp byte [ebp - 1], 0
push edi
je 0x45a521
mov esi, dword [esi + 0x1f6]
mov edi, dword [0x4af094]
cmp edi, esi
je 0x45a508
test esi, esi
jne 0x45a4a7
xor ecx, ecx
jmp 0x45a4ad
mov ecx, dword [esi + 0x1d8]
cmp dword [0x4af098], ecx
je 0x45a4d1
mov dword [0x4af09c], 0
test ecx, ecx
je 0x45a4cb
mov eax, dword [ecx + 0x7c]
mov dword [0x4af09c], eax
mov dword [0x4af098], ecx
mov dword [0x4af094], esi
test esi, esi
je 0x45a4ee
mov eax, dword [esi + 0x1d0]
mov dword [0x4af074], eax
mov eax, dword [esi + 0x1d4]
jmp 0x45a4fa
mov dword [0x4af074], 0
xor eax, eax
push eax
mov dword [0x4af06c], eax
call dword [sym.imp.MMFS2.dll_Ordinal_831]
mov esi, edi
mov ecx, dword [ebp - 8]
call fcn.0044a470
mov ecx, esi
mov edi, eax
call fcn.00402b70
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, 1
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45a540
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 1], 0
xor edi, edi
lea ecx, [ebp - 0x10]
push edi
push ecx
push 1
lea ecx, [ebp - 1]
mov eax, edx
push ecx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45a5c9
cmp byte [ebp - 1], 0
je 0x45a5c4
push dword [ebx + 0x1fe]
mov edx, dword [ebx + 0x44]
mov ecx, ebx
push edi
call fcn.00459910
mov ecx, dword [ebx + 0x1f6]
add esp, 8
test ecx, ecx
je 0x45a5c9
call fcn.00402b70
mov ecx, dword [ebx + 0x1f6]
xor edx, edx
mov esi, eax
call fcn.00406540
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.0044c0d0
mov ecx, esi
mov edi, eax
call fcn.00402b70
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464e40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4abca0]
xor eax, ebp
mov dword [ebp - 4], eax
push 6
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp + 8]
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x464e88
push 0xa
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.0047ddc5
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046fd1f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0046fd1f
mov esp, ebp
pop ebp
ret