joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408c70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea edx, [ecx + 2]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408c80
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 4]
push eax
call fcn.0047b099
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x408d41
mov ecx, ebx
sub ecx, esi
nop
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x408cb0
push 0x5c
push ebx
call fcn.00478ad7
add esp, 8
test eax, eax
je 0x408cd5
xor ecx, ecx
mov word [eax + 2], cx
cmp word [ebx], 0x5c
jne 0x408cfe
cmp word [ebx + 2], 0x5c
jne 0x408cfe
lea eax, [ebx + 4]
push 0x5c
push eax
call fcn.00478b79
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x408d21
push 0x5c
lea eax, [ebx + 2]
push eax
jmp 0x408d17
cmp word [ebx + 2], 0x3a
jne 0x408d14
cmp word [ebx + 4], 0x5c
jne 0x408d14
push 0x5c
lea eax, [ebx + 6]
push eax
jmp 0x408d17
push 0x5c
push ebx
call fcn.00478b79
add esp, 8
mov ebx, eax
push 2
push 0x104
call fcn.0047b099
mov esi, eax
add esp, 8
test esi, esi
jne 0x408d4b
push dword [ebp - 4]
call fcn.0047b0af
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
test ebx, ebx
je 0x408db8
mov eax, ebx
sub eax, ecx
sar eax, 1
push eax
push ecx
push esi
call fcn.0047eb78
push esi
call fcn.0047ed22
add esp, 0x10
test eax, eax
je 0x408d94
push esi
call fcn.0047ed2d
add esp, 4
test eax, eax
je 0x408d81
mov edi, 1
jmp 0x408d94
push esi
call fcn.0047ed22
add esp, 4
test eax, eax
mov eax, 1
cmovne edi, eax
lea eax, [ebx + 2]
mov dword [ebp - 8], ebx
push 0x5c
push eax
call fcn.00478b79
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x408e2c
mov ecx, dword [ebp - 8]
test edi, edi
je 0x408d52
jmp 0x408e2c
mov edx, esi
sub edx, dword [ebp - 4]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x408dc0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408dd5
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x408df8
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x408df8
xor eax, eax
mov word [esi + ecx*2 - 2], ax
push esi
call fcn.0047ed22
add esp, 4
test eax, eax
je 0x408e2c
push esi
call fcn.0047ed2d
add esp, 4
test eax, eax
je 0x408e19
mov edi, 1
jmp 0x408e2c
push esi
call fcn.0047ed22
add esp, 4
mov ecx, 1
test eax, eax
cmovne edi, ecx
push esi
call fcn.0047b0af
push dword [ebp - 4]
call fcn.0047b0af
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409640
Capabilities:
Set current directory

Disassembly:
mov eax, dword [0x4b7270]
test eax, eax
je 0x409673
cmp dword [0x4b726c], 0
je 0x409662
push eax
mov ecx, 0x4b74e8
call fcn.0046c400
mov eax, dword [0x4b7270]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4b7270], 0
mov eax, dword [0x4b6e94]
test eax, eax
je 0x4096b0
push 0x5c
push eax
call fcn.00478ad7
add esp, 8
test eax, eax
je 0x4096b0
mov edx, dword [0x4b6e94]
mov ecx, eax
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jae 0x4096a4
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x4096a9
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 [0x4b6e8c]
test edi, edi
je 0x40979d
cmp word [edi], 0
je 0x409794
xor esi, esi
push edi
call fcn.0047c29a
add esp, 4
test eax, eax
je 0x4096f9
call fcn.0047ef45
cmp dword [eax], 2
je 0x4096f9
push 0x3e8
call ebx
inc esi
cmp esi, 0xa
jl 0x4096d3
jmp 0x409766
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409700
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 1]
push eax
call fcn.0047b099
mov esi, eax
add esp, 8
test esi, esi
je 0x409766
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 0x409730
push 0x5c
push esi
call fcn.00478ad7
add esp, 8
test eax, eax
je 0x40975d
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.0047ef58
add esp, 4
push esi
call fcn.0047b0af
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 0x409770
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
add edi, 2
cmp word [edi], ax
jne 0x4096d1
mov edi, dword [0x4b6e8c]
push edi
call fcn.0047b0af
add esp, 4
mov edx, dword [0x4b6e88]
test edx, edx
je 0x40980a
xor esi, esi
nop dword [eax]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4097b5
sub ecx, edi
sar ecx, 1
cmp ecx, 3
jle 0x4097d8
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x4097d8
xor eax, eax
mov word [edx + ecx*2 - 2], ax
push edx
call fcn.0047ef58
add esp, 4
test eax, eax
je 0x409804
call fcn.0047ef45
cmp dword [eax], 2
je 0x409804
push 0x3e8
call ebx
inc esi
cmp esi, 0xa
jge 0x409804
mov edx, dword [0x4b6e88]
jmp 0x4097b0
mov edx, dword [0x4b6e88]
push edx
call fcn.0047b0af
push dword [0x4b6e94]
mov dword [0x4b6e88], 0
call fcn.0047b0af
add esp, 8
mov dword [0x4b6e94], 0
pop edi
pop esi
pop ebx
ret
Function at 0x412fe0
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 0x413104
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x4130f2
call fcn.0042ffd0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
and ebx, 2
je 0x413083
mov eax, dword [0x4b70ec]
push 0
push dword [eax + 0x10]
call esi
mov eax, dword [0x4b70ec]
mov eax, dword [eax + 0x4c4]
test eax, eax
je 0x413083
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 0x4130c8
cmp dword [ebp + 8], 0x103
jne 0x4130c8
xor edx, edx
lea ecx, [ebp - 0x1c]
call fcn.00402cc0
push 0x4ff
push 0xc8
push 0
push 0
push 0
call edi
jmp 0x413090
test bx, bx
je 0x4130ed
mov eax, dword [0x4b70ec]
push 5
push dword [eax + 0x10]
call esi
mov eax, dword [0x4b70ec]
mov eax, dword [eax + 0x4c4]
test eax, eax
je 0x4130ed
push 5
push eax
call esi
call fcn.004300c0
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 0x428400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0xc], ecx
xor esi, esi
mov ecx, dword [eax + 0x404]
mov ebx, dword [eax + 0x400]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
push edi
test edx, edx
jle 0x428468
nop word [eax + eax]
inc bl
movzx ebx, bl
mov edx, dword [eax + ebx*4]
mov cl, dl
add cl, byte [ebp - 4]
mov eax, dword [ebp - 8]
movzx ecx, cl
mov dword [ebp - 4], ecx
mov edi, dword [ebp - 4]
mov ecx, dword [eax + ecx*4]
mov dword [eax + ebx*4], ecx
mov dword [eax + edi*4], edx
add dl, cl
movzx ecx, dl
mov edx, dword [ebp - 0xc]
mov cl, byte [eax + ecx*4]
xor byte [esi + edx], cl
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x428430
mov ecx, edi
pop edi
mov dword [eax + 0x400], ebx
pop esi
mov dword [eax + 0x404], ecx
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429300
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.0047b099
mov esi, eax
add esp, 8
test esi, esi
je 0x42942a
push edi
push 2
push 0x104
call fcn.0047b099
mov edi, eax
add esp, 8
test edi, edi
je 0x42935d
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push ebx
push 0x4b5054
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
call fcn.0047b0af
add esp, 4
cmp word [esi], bx
je 0x42941b
push esi
call fcn.0047c29a
mov ecx, esi
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429374
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
je 0x4293a3
lea edi, [esi - 2]
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x429390
mov eax, dword [0x4a4450]
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 0x4293b0
sub ecx, edx
sar ecx, 1
lea edi, [ecx*2 + 4]
push edi
call fcn.0047b08e
mov edx, eax
add esp, 4
test edx, edx
jne 0x4293e5
call fcn.00484515
push edi
call fcn.0047b08e
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 0x4293f0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call fcn.0047b0af
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.0047b0af
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432540
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4b3ca0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [0x4b70ec]
add edi, 0x2c
cmp dword [0x4b74f8], 0
mov dword [ebp - 0x44], edi
mov dword [edi], 0
je 0x432682
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 [0x4b70e4]
xor ebx, ebx
mov ecx, dword [eax + 0x254]
movzx eax, word [esi + ecx]
mov esi, eax
test esi, esi
je 0x432664
cmp esi, 4
jbe 0x4325d5
cmp eax, 5
jne 0x432664
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 0x4325c5
or ebx, 1
sub esi, 2
sub edi, 1
jne 0x4325b1
mov edi, dword [ebp - 0x44]
jmp 0x43265f
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 0x43265f
mov edx, dword [ebp - 0x30]
shl esi, 5
mov eax, dword [esi + 0x4b7120]
sub edx, eax
mov ecx, dword [esi + 0x4b7124]
sub ecx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x432619
mov ebx, 4
jmp 0x432629
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
mov eax, 8
cmovae ebx, eax
mov eax, dword [esi + 0x4b7128]
mov ecx, dword [esi + 0x4b712c]
mov edx, dword [ebp - 0x2c]
sub ecx, eax
sub edx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x43264a
or ebx, 1
jmp 0x432657
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
jb 0x432657
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 0x432580
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004775a3
mov esp, ebp
pop ebp
ret

Function at 0x437440
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.004374b0
Function at 0x446b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 2
push 0x104
mov esi, ecx
call fcn.0047b099
mov edi, eax
add esp, 8
test edi, edi
je 0x446bd6
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.0047b0af
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 0x447d70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [0x4b70ec]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov dword [ebp - 4], edx
test edi, edi
jne 0x447d90
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
cmp edx, 0x100
jne 0x447de7
cmp dword [ebp + 8], 9
jne 0x447e4c
cmp dword [edi + 0x518], ecx
jle 0x447e4c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x4b70ec]
test ax, ax
js 0x447dca
call fcn.00457f20
jmp 0x447dcf
call fcn.004580e0
test eax, eax
je 0x447ddf
pop esi
pop ebx
mov eax, 4
pop edi
mov esp, ebp
pop ebp
ret
mov edi, dword [0x4b70ec]
jmp 0x447e47
cmp edx, 5
jne 0x447e4c
mov eax, dword [0x4b70e4]
test byte [eax + 0x14], 0x10
je 0x447e4c
cmp byte [edi + 0x4c8], cl
je 0x447e4c
mov esi, dword [edi + 0x1278]
xor ebx, ebx
cmp dword [edi + 0x3c], ecx
jle 0x447e4c
nop dword [eax]
mov eax, dword [esi]
test eax, eax
jne 0x447e20
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x447e16
test byte [eax + 0x7c], 4
jne 0x447e3e
test dword [eax + 0x78], 0x2b0
je 0x447e3e
push eax
mov eax, dword [eax + 0x8c]
call eax
mov edi, dword [0x4b70ec]
inc ebx
add esi, 8
cmp ebx, dword [edi + 0x3c]
jl 0x447e10
mov edx, dword [ebp - 4]
xor ecx, ecx
movsx eax, word [edi + 0x1d8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x447e89
xor esi, esi
test eax, eax
jle 0x447e89
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 0x447e89
mov edx, dword [ebp - 4]
inc esi
add ebx, 4
cmp esi, dword [ebp - 0xc]
jl 0x447e66
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x447f80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [0x4b70c0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 4], eax
test eax, eax
je 0x447fa7
push 0
push dword [0x4b70c0]
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 [0x4b70c0]
call ebx
mov esi, eax
test esi, esi
je 0x447ff7
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 0x447fe0
mov eax, dword [0x4b70e4]
cmp dword [eax + 0x1fc], 0
jne 0x44804e
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 0x44804e
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 0x448030
push dword [0x4b70bc]
call dword [sym.imp.MMFS2.dll_Ordinal_35]
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x448071
push 5
push dword [0x4b70c0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x44fbe0
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 0x44fc15
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [ebp - 4]
sub eax, 0
je 0x44fc5f
sub eax, 2
jne 0x44fc0c
mov eax, dword [esi]
sub eax, 0
je 0x44fc3b
sub eax, 2
je 0x44fc34
xorps xmm0, xmm0
jmp 0x44fc44
movsd xmm0, qword [esi + 8]
jmp 0x44fc44
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 0x44fc76
sub eax, 2
je 0x44fc6f
xor eax, eax
jmp 0x44fc79
cvttsd2si eax, qword [esi + 8]
jmp 0x44fc79
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 0x451b10
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 0x451baa
cmp dword [ebp - 8], 2
jb 0x451baa
movsx eax, word [ebp - 4]
mov dword [esi], eax
sub eax, 0
je 0x451b7f
sub eax, 1
je 0x451baa
sub eax, 1
jne 0x451baa
push eax
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
test eax, eax
je 0x451baa
cmp dword [ebp - 8], 8
jb 0x451baa
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 0x451baa
cmp dword [ebp - 8], 4
jb 0x451baa
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 0x454710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b7224]
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 4]
push 0
push ecx
push edx
call eax
mov edi, eax
cmp edi, 0xffffffff
je 0x454781
mov eax, dword [ebp - 4]
test eax, eax
je 0x454781
push eax
call fcn.0047b08e
mov esi, eax
add esp, 4
test esi, esi
je 0x45477a
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 0x454771
push edi
mov dword [ebx], eax
call dword [0x4b71f4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0047b0af
add esp, 4
push edi
call dword [0x4b71f4]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458470
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4b3ca0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x4b70e4]
push edi
mov ax, word [esi + 0x14]
mov word [esi + 0x1f8], ax
push dword [0x4b70c0]
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
setne al
mov byte [esi + 0x3d1], al
push dword [0x4b70c0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x45851e
push 1
push dword [0x4b70c0]
call edi
push dword [0x4b70c4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4584f7
push 1
push dword [0x4b70c4]
call edi
mov ax, word [esi + 0x14]
mov ecx, 0x180
and ax, cx
mov ecx, 0x100
cmp ax, cx
jne 0x458519
call fcn.00459310
mov byte [esi + 0x3d1], 1
call fcn.00447ac0
mov dword [esi + 0x20c], 0
lea eax, [esi + 0x208]
mov dword [esi + 0x210], 0
mov dword [esi + 0x214], 0
mov dword [esi + 0x218], 0
mov dword [esi + 0x21c], 0
mov dword [esi + 0x220], 0
mov dword [esi + 0x224], 0
mov dword [esi + 0x228], 0
mov dword [esi + 0x22c], 0
mov dword [esi + 0x230], 0
push eax
mov dword [eax], 0x2c
push dword [0x4b70c0]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push dword [0x4b70c0]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4585b5
push 1
push dword [0x4b70c0]
call edi
mov ax, word [esi + 0x14]
mov ecx, 0xfefe
and ax, cx
mov ecx, 0x82
or ax, cx
test byte [esi + 0x1f8], 0x10
mov word [esi + 0x14], ax
jne 0x458662
mov ecx, dword [0x4b70e8]
test ecx, ecx
je 0x458639
movsx eax, word [esi + 0x1c]
cmp dword [ecx], eax
jl 0x458639
movsx eax, word [esi + 0x1e]
cmp dword [ecx + 4], eax
jl 0x458639
push 2
push dword [0x4b70c0]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x458639
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x458639
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
movsx eax, word [esi + 0x1c]
cmp eax, ecx
jne 0x458639
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
movsx eax, word [esi + 0x1e]
cmp eax, ecx
je 0x458662
or word [esi + 0x14], 0x14
push dword [0x4b70bc]
call dword [sym.imp.MMFS2.dll_Ordinal_16]
mov ecx, dword [0x4b70bc]
movzx eax, ax
test ecx, ecx
je 0x458662
or eax, 2
push eax
push ecx
call dword [sym.imp.MMFS2.dll_Ordinal_17]
call fcn.00447c20
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x458697
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x458697
push 8
push 0x401
push dword [esi + 0xb0]
call dword [sym.imp.USER32.dll_CheckMenuItem]
call fcn.00459520
call fcn.00447ac0
call fcn.004476b0
push 3
push dword [0x4b70c0]
call edi
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push dword [0x4b70c4]
call esi
push 1
push 0
push dword [0x4b70c0]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x4b70f8], 1
pop esi
call fcn.004775a3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4595e0
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 0x4596b8
mov eax, dword [ebp + 8]
nop dword [eax]
cmp ax, word [esi + 2]
jne 0x459652
test byte [esi], 0x10
je 0x459611
test ebx, ebx
jne 0x459615
jmp 0x459652
test ebx, ebx
jne 0x459652
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 8
cwde
je 0x459629
test eax, eax
jns 0x45964f
jmp 0x45962d
test eax, eax
js 0x45964f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esi]
cwde
test cl, 4
je 0x459643
test eax, eax
jns 0x45964b
jmp 0x459647
test eax, eax
js 0x45964b
movzx edi, word [esi + 4]
test edi, edi
jne 0x45965c
mov eax, dword [ebp + 8]
cmp byte [esi], 0
jl 0x4596b8
add esi, 8
jmp 0x459600
test cl, 0x40
je 0x45968f
cmp edi, 0x7d0
jl 0x459697
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 0x459669
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x4596b8
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x4596b8
test al, 1
je 0x45966c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459800
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 0x45984b
push esi
push 2
push 0x40
call fcn.0047b099
add esp, 8
mov esi, eax
push 0x3f
push esi
push 0x65
push dword [0x4b70b0]
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.0047b0af
add esp, 0x10
pop esi
jmp 0x459897
lea eax, [edi - 0x70]
cmp eax, 0x17
ja 0x459868
lea eax, [edi - 0x6f]
push eax
push 0x4a47b8
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x459897
xor eax, eax
nop word [eax + eax]
cmp dword [eax*8 + str._bf_tg_fh_ri], edi
je 0x459881
inc eax
cmp eax, 0x14
jl 0x459870
jmp 0x459897
push 0x3f
push ebx
push dword [eax*8 + 0x4a4254]
push dword [0x4b70b0]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebx], 0
jne 0x4598af
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