joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402cb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [ebp - 0xc], edx
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
mov eax, dword [0x4b60e4]
test eax, eax
je 0x402ce4
cmp dword [eax + 0x1fc], 0
jne 0x402e80
push 0
push 0
push 0
push 0
push esi
mov dword [0x4b5f9c], 0
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x402e68
push edi
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageW]
nop dword [eax]
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x402e1c
mov ecx, dword [0x4b5ecc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x402d63
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
test eax, eax
je 0x402d63
lea eax, [ebp - 8]
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_536]
push esi
push eax
call edi
test eax, eax
jne 0x402e1c
cmp dword [ebp - 8], eax
je 0x402d63
mov ecx, dword [0x4b5ecc]
jmp 0x402d40
mov eax, dword [0x4b60e4]
test eax, eax
je 0x402e0e
mov ecx, 0x4000
test word [eax + 0x16], cx
je 0x402e0e
push dword [0x4b60b8]
call dword [sym.imp.MMFS2.dll_Ordinal_19]
test eax, eax
je 0x402da7
push esi
push eax
call dword [sym.imp.USER32.dll_TranslateMDISysAccel]
mov ecx, dword [ebp - 4]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [esi + 4]
cmp eax, 0x100
je 0x402db8
cmp eax, 0x104
jne 0x402e08
mov edi, dword [esi + 8]
cmp edi, 0x10
je 0x402e08
cmp edi, 0x11
je 0x402e08
mov ecx, dword [0x4b60e4]
test ecx, ecx
je 0x402e08
mov ecx, dword [ecx + 0xb4]
test ecx, ecx
je 0x402e08
cmp eax, 0x104
je 0x402def
mov eax, 0x2000
test word [esi + 0xe], ax
jne 0x402def
xor edx, edx
jmp 0x402df4
mov edx, 1
push ecx
mov ecx, dword [0x4b60c0]
push edi
call fcn.00459050
add esp, 8
test eax, eax
jne 0x402e1c
cmp dword [ebp - 4], 0
jne 0x402e1c
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x402e4a
test al, 1
je 0x402e30
cmp dword [esi + 4], 0x111
je 0x402e67
test al, 2
je 0x402e3d
cmp dword [esi + 4], 0x201
je 0x402e67
test al, 4
je 0x402e4a
cmp dword [esi + 4], 0x202
je 0x402e67
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x402d10
pop edi
push 0
call dword [sym.imp.USER32.dll_GetKeyState]
push 0x4b5fa0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov dword [0x4b5f9c], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408c50
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 0x408c60
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 4]
push eax
call fcn.0047aab9
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x408d21
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 0x408c90
push 0x5c
push ebx
call fcn.00478507
add esp, 8
test eax, eax
je 0x408cb5
xor ecx, ecx
mov word [eax + 2], cx
cmp word [ebx], 0x5c
jne 0x408cde
cmp word [ebx + 2], 0x5c
jne 0x408cde
lea eax, [ebx + 4]
push 0x5c
push eax
call fcn.004785a9
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x408d01
push 0x5c
lea eax, [ebx + 2]
push eax
jmp 0x408cf7
cmp word [ebx + 2], 0x3a
jne 0x408cf4
cmp word [ebx + 4], 0x5c
jne 0x408cf4
push 0x5c
lea eax, [ebx + 6]
push eax
jmp 0x408cf7
push 0x5c
push ebx
call fcn.004785a9
add esp, 8
mov ebx, eax
push 2
push 0x104
call fcn.0047aab9
mov esi, eax
add esp, 8
test esi, esi
jne 0x408d2b
push dword [ebp - 4]
call fcn.0047aacf
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 0x408d98
mov eax, ebx
sub eax, ecx
sar eax, 1
push eax
push ecx
push esi
call fcn.0047e598
push esi
call fcn.0047e742
add esp, 0x10
test eax, eax
je 0x408d74
push esi
call fcn.0047e74d
add esp, 4
test eax, eax
je 0x408d61
mov edi, 1
jmp 0x408d74
push esi
call fcn.0047e742
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.004785a9
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x408e0c
mov ecx, dword [ebp - 8]
test edi, edi
je 0x408d32
jmp 0x408e0c
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 0x408da0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408db5
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x408dd8
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x408dd8
xor eax, eax
mov word [esi + ecx*2 - 2], ax
push esi
call fcn.0047e742
add esp, 4
test eax, eax
je 0x408e0c
push esi
call fcn.0047e74d
add esp, 4
test eax, eax
je 0x408df9
mov edi, 1
jmp 0x408e0c
push esi
call fcn.0047e742
add esp, 4
mov ecx, 1
test eax, eax
cmovne edi, ecx
push esi
call fcn.0047aacf
push dword [ebp - 4]
call fcn.0047aacf
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409620
Capabilities:
Set current directory

Disassembly:
mov eax, dword [0x4b6270]
test eax, eax
je 0x409653
cmp dword [0x4b626c], 0
je 0x409642
push eax
mov ecx, 0x4b64e8
call fcn.0046be30
mov eax, dword [0x4b6270]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4b6270], 0
mov eax, dword [0x4b5e94]
test eax, eax
je 0x409690
push 0x5c
push eax
call fcn.00478507
add esp, 8
test eax, eax
je 0x409690
mov edx, dword [0x4b5e94]
mov ecx, eax
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jae 0x409684
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x409689
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 [0x4b5e8c]
test edi, edi
je 0x40977d
cmp word [edi], 0
je 0x409774
xor esi, esi
push edi
call fcn.0047bcba
add esp, 4
test eax, eax
je 0x4096d9
call fcn.0047e965
cmp dword [eax], 2
je 0x4096d9
push 0x3e8
call ebx
inc esi
cmp esi, 0xa
jl 0x4096b3
jmp 0x409746
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4096e0
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 1]
push eax
call fcn.0047aab9
mov esi, eax
add esp, 8
test esi, esi
je 0x409746
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 0x409710
push 0x5c
push esi
call fcn.00478507
add esp, 8
test eax, eax
je 0x40973d
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.0047e978
add esp, 4
push esi
call fcn.0047aacf
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 0x409750
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
add edi, 2
cmp word [edi], ax
jne 0x4096b1
mov edi, dword [0x4b5e8c]
push edi
call fcn.0047aacf
add esp, 4
mov edx, dword [0x4b5e88]
test edx, edx
je 0x4097ea
xor esi, esi
nop dword [eax]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409795
sub ecx, edi
sar ecx, 1
cmp ecx, 3
jle 0x4097b8
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x4097b8
xor eax, eax
mov word [edx + ecx*2 - 2], ax
push edx
call fcn.0047e978
add esp, 4
test eax, eax
je 0x4097e4
call fcn.0047e965
cmp dword [eax], 2
je 0x4097e4
push 0x3e8
call ebx
inc esi
cmp esi, 0xa
jge 0x4097e4
mov edx, dword [0x4b5e88]
jmp 0x409790
mov edx, dword [0x4b5e88]
push edx
call fcn.0047aacf
push dword [0x4b5e94]
mov dword [0x4b5e88], 0
call fcn.0047aacf
add esp, 8
mov dword [0x4b5e94], 0
pop edi
pop esi
pop ebx
ret
Function at 0x412fd0
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 0x4130f4
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x4130e2
call fcn.0042fc80
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
and ebx, 2
je 0x413073
mov eax, dword [0x4b60ec]
push 0
push dword [eax + 0x10]
call esi
mov eax, dword [0x4b60ec]
mov eax, dword [eax + 0x4c4]
test eax, eax
je 0x413073
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 0x4130b8
cmp dword [ebp + 8], 0x103
jne 0x4130b8
xor edx, edx
lea ecx, [ebp - 0x1c]
call fcn.00402cb0
push 0x4ff
push 0xc8
push 0
push 0
push 0
call edi
jmp 0x413080
test bx, bx
je 0x4130dd
mov eax, dword [0x4b60ec]
push 5
push dword [eax + 0x10]
call esi
mov eax, dword [0x4b60ec]
mov eax, dword [eax + 0x4c4]
test eax, eax
je 0x4130dd
push 5
push eax
call esi
call fcn.0042fd70
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 0x4280d0
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 0x428138
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 0x428100
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 0x428fd0
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.0047aab9
mov esi, eax
add esp, 8
test esi, esi
je 0x4290fa
push edi
push 2
push 0x104
call fcn.0047aab9
mov edi, eax
add esp, 8
test edi, edi
je 0x42902d
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push ebx
push 0x4b4054
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
call fcn.0047aacf
add esp, 4
cmp word [esi], bx
je 0x4290eb
push esi
call fcn.0047bcba
mov ecx, esi
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429044
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
je 0x429073
lea edi, [esi - 2]
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x429060
mov eax, dword [0x4a3430]
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 0x429080
sub ecx, edx
sar ecx, 1
lea edi, [ecx*2 + 4]
push edi
call fcn.0047aaae
mov edx, eax
add esp, 4
test edx, edx
jne 0x4290b5
call fcn.00483f35
push edi
call fcn.0047aaae
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 0x4290c0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call fcn.0047aacf
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.0047aacf
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432230
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4b2ca0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [0x4b60ec]
add edi, 0x2c
cmp dword [0x4b64f8], 0
mov dword [ebp - 0x44], edi
mov dword [edi], 0
je 0x432372
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 [0x4b60e4]
xor ebx, ebx
mov ecx, dword [eax + 0x254]
movzx eax, word [esi + ecx]
mov esi, eax
test esi, esi
je 0x432354
cmp esi, 4
jbe 0x4322c5
cmp eax, 5
jne 0x432354
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 0x4322b5
or ebx, 1
sub esi, 2
sub edi, 1
jne 0x4322a1
mov edi, dword [ebp - 0x44]
jmp 0x43234f
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 0x43234f
mov edx, dword [ebp - 0x30]
shl esi, 5
mov eax, dword [esi + 0x4b6120]
sub edx, eax
mov ecx, dword [esi + 0x4b6124]
sub ecx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x432309
mov ebx, 4
jmp 0x432319
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
mov eax, 8
cmovae ebx, eax
mov eax, dword [esi + 0x4b6128]
mov ecx, dword [esi + 0x4b612c]
mov edx, dword [ebp - 0x2c]
sub ecx, eax
sub edx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x43233a
or ebx, 1
jmp 0x432347
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
jb 0x432347
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 0x432270
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00476fd3
mov esp, ebp
pop ebp
ret

Function at 0x437130
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.004371a0
Function at 0x4467c0
Capabilities:
Get common file path

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [0x4b60ec]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov dword [ebp - 4], edx
test edi, edi
jne 0x4479c0
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
cmp edx, 0x100
jne 0x447a17
cmp dword [ebp + 8], 9
jne 0x447a7c
cmp dword [edi + 0x518], ecx
jle 0x447a7c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x4b60ec]
test ax, ax
js 0x4479fa
call fcn.00457970
jmp 0x4479ff
call fcn.00457b30
test eax, eax
je 0x447a0f
pop esi
pop ebx
mov eax, 4
pop edi
mov esp, ebp
pop ebp
ret
mov edi, dword [0x4b60ec]
jmp 0x447a77
cmp edx, 5
jne 0x447a7c
mov eax, dword [0x4b60e4]
test byte [eax + 0x14], 0x10
je 0x447a7c
cmp byte [edi + 0x4c8], cl
je 0x447a7c
mov esi, dword [edi + 0x1278]
xor ebx, ebx
cmp dword [edi + 0x3c], ecx
jle 0x447a7c
nop dword [eax]
mov eax, dword [esi]
test eax, eax
jne 0x447a50
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x447a46
test byte [eax + 0x7c], 4
jne 0x447a6e
test dword [eax + 0x78], 0x2b0
je 0x447a6e
push eax
mov eax, dword [eax + 0x8c]
call eax
mov edi, dword [0x4b60ec]
inc ebx
add esi, 8
cmp ebx, dword [edi + 0x3c]
jl 0x447a40
mov edx, dword [ebp - 4]
xor ecx, ecx
movsx eax, word [edi + 0x1d8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x447ab9
xor esi, esi
test eax, eax
jle 0x447ab9
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 0x447ab9
mov edx, dword [ebp - 4]
inc esi
add ebx, 4
cmp esi, dword [ebp - 0xc]
jl 0x447a96
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x447bb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [0x4b60c0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 4], eax
test eax, eax
je 0x447bd7
push 0
push dword [0x4b60c0]
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 [0x4b60c0]
call ebx
mov esi, eax
test esi, esi
je 0x447c27
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 0x447c10
mov eax, dword [0x4b60e4]
cmp dword [eax + 0x1fc], 0
jne 0x447c7e
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 0x447c7e
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 0x447c60
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_35]
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x447ca1
push 5
push dword [0x4b60c0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x44f630
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 0x44f665
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [ebp - 4]
sub eax, 0
je 0x44f6af
sub eax, 2
jne 0x44f65c
mov eax, dword [esi]
sub eax, 0
je 0x44f68b
sub eax, 2
je 0x44f684
xorps xmm0, xmm0
jmp 0x44f694
movsd xmm0, qword [esi + 8]
jmp 0x44f694
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 0x44f6c6
sub eax, 2
je 0x44f6bf
xor eax, eax
jmp 0x44f6c9
cvttsd2si eax, qword [esi + 8]
jmp 0x44f6c9
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 0x451560
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 0x4515fa
cmp dword [ebp - 8], 2
jb 0x4515fa
movsx eax, word [ebp - 4]
mov dword [esi], eax
sub eax, 0
je 0x4515cf
sub eax, 1
je 0x4515fa
sub eax, 1
jne 0x4515fa
push eax
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
test eax, eax
je 0x4515fa
cmp dword [ebp - 8], 8
jb 0x4515fa
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 0x4515fa
cmp dword [ebp - 8], 4
jb 0x4515fa
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 0x454160
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 [0x4b6224]
mov edi, eax
cmp edi, 0xffffffff
je 0x4541d0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4541d0
push eax
call fcn.0047aaae
mov esi, eax
add esp, 4
test esi, esi
je 0x4541c9
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 0x4541c0
push edi
mov dword [ebx], eax
call dword [0x4b61f4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0047aacf
add esp, 4
push edi
call dword [0x4b61f4]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret