joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c10
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 [0x4b00c4]
test eax, eax
je 0x402c44
cmp dword [eax + 0x1fc], 0
jne 0x402de0
push 0
push 0
push 0
push 0
push esi
mov dword [0x4aff7c], 0
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x402dc8
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 0x402d7c
mov ecx, dword [0x4afeac]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x402cc3
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
test eax, eax
je 0x402cc3
lea eax, [ebp - 8]
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_536]
push esi
push eax
call edi
test eax, eax
jne 0x402d7c
cmp dword [ebp - 8], eax
je 0x402cc3
mov ecx, dword [0x4afeac]
jmp 0x402ca0
mov eax, dword [0x4b00c4]
test eax, eax
je 0x402d6e
mov ecx, 0x4000
test word [eax + 0x16], cx
je 0x402d6e
push dword [0x4b0098]
call dword [sym.imp.MMFS2.dll_Ordinal_19]
test eax, eax
je 0x402d07
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 0x402d18
cmp eax, 0x104
jne 0x402d68
mov edi, dword [esi + 8]
cmp edi, 0x10
je 0x402d68
cmp edi, 0x11
je 0x402d68
mov ecx, dword [0x4b00c4]
test ecx, ecx
je 0x402d68
mov ecx, dword [ecx + 0xb4]
test ecx, ecx
je 0x402d68
cmp eax, 0x104
je 0x402d4f
mov eax, 0x2000
test word [esi + 0xe], ax
jne 0x402d4f
xor edx, edx
jmp 0x402d54
mov edx, 1
push ecx
mov ecx, dword [0x4b00a0]
push edi
call fcn.00453f70
add esp, 8
test eax, eax
jne 0x402d7c
cmp dword [ebp - 4], 0
jne 0x402d7c
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 0x402daa
test al, 1
je 0x402d90
cmp dword [esi + 4], 0x111
je 0x402dc7
test al, 2
je 0x402d9d
cmp dword [esi + 4], 0x201
je 0x402dc7
test al, 4
je 0x402daa
cmp dword [esi + 4], 0x202
je 0x402dc7
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 0x402c70
pop edi
push 0
call dword [sym.imp.USER32.dll_GetKeyState]
push 0x4aff80
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov dword [0x4aff7c], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407e70
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 0x407e80
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 4]
push eax
call fcn.00474169
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x407f41
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 0x407eb0
push 0x5c
push ebx
call fcn.00471936
add esp, 8
test eax, eax
je 0x407ed5
xor ecx, ecx
mov word [eax + 2], cx
cmp word [ebx], 0x5c
jne 0x407efe
cmp word [ebx + 2], 0x5c
jne 0x407efe
lea eax, [ebx + 4]
push 0x5c
push eax
call fcn.004719d8
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x407f21
push 0x5c
lea eax, [ebx + 2]
push eax
jmp 0x407f17
cmp word [ebx + 2], 0x3a
jne 0x407f14
cmp word [ebx + 4], 0x5c
jne 0x407f14
push 0x5c
lea eax, [ebx + 6]
push eax
jmp 0x407f17
push 0x5c
push ebx
call fcn.004719d8
add esp, 8
mov ebx, eax
push 2
push 0x104
call fcn.00474169
mov esi, eax
add esp, 8
test esi, esi
jne 0x407f4b
push dword [ebp - 4]
call fcn.0047417f
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 0x407fb8
mov eax, ebx
sub eax, ecx
sar eax, 1
push eax
push ecx
push esi
call fcn.004779ed
push esi
call fcn.00477b97
add esp, 0x10
test eax, eax
je 0x407f94
push esi
call fcn.00477ba2
add esp, 4
test eax, eax
je 0x407f81
mov edi, 1
jmp 0x407f94
push esi
call fcn.00477b97
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.004719d8
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40802c
mov ecx, dword [ebp - 8]
test edi, edi
je 0x407f52
jmp 0x40802c
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 0x407fc0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407fd5
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x407ff8
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x407ff8
xor eax, eax
mov word [esi + ecx*2 - 2], ax
push esi
call fcn.00477b97
add esp, 4
test eax, eax
je 0x40802c
push esi
call fcn.00477ba2
add esp, 4
test eax, eax
je 0x408019
mov edi, 1
jmp 0x40802c
push esi
call fcn.00477b97
add esp, 4
mov ecx, 1
test eax, eax
cmovne edi, ecx
push esi
call fcn.0047417f
push dword [ebp - 4]
call fcn.0047417f
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408890
Capabilities:
Set current directory

Disassembly:
mov eax, dword [0x4b0250]
test eax, eax
je 0x4088c3
cmp dword [0x4b024c], 0
je 0x4088b2
push eax
mov ecx, 0x4b03a8
call fcn.00465530
mov eax, dword [0x4b0250]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4b0250], 0
mov eax, dword [0x4afe74]
test eax, eax
je 0x408900
push 0x5c
push eax
call fcn.00471936
add esp, 8
test eax, eax
je 0x408900
mov edx, dword [0x4afe74]
mov ecx, eax
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jae 0x4088f4
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x4088f9
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 [0x4afe6c]
test edi, edi
je 0x4089ed
cmp word [edi], 0
je 0x4089e4
xor esi, esi
push edi
call fcn.0047536a
add esp, 4
test eax, eax
je 0x408949
call fcn.00477dba
cmp dword [eax], 2
je 0x408949
push 0x3e8
call ebx
inc esi
cmp esi, 0xa
jl 0x408923
jmp 0x4089b6
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408950
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 1]
push eax
call fcn.00474169
mov esi, eax
add esp, 8
test esi, esi
je 0x4089b6
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 0x408980
push 0x5c
push esi
call fcn.00471936
add esp, 8
test eax, eax
je 0x4089ad
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.00477dcd
add esp, 4
push esi
call fcn.0047417f
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 0x4089c0
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
add edi, 2
cmp word [edi], ax
jne 0x408921
mov edi, dword [0x4afe6c]
push edi
call fcn.0047417f
add esp, 4
mov edx, dword [0x4afe68]
test edx, edx
je 0x408a5a
xor esi, esi
nop dword [eax]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408a05
sub ecx, edi
sar ecx, 1
cmp ecx, 3
jle 0x408a28
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x408a28
xor eax, eax
mov word [edx + ecx*2 - 2], ax
push edx
call fcn.00477dcd
add esp, 4
test eax, eax
je 0x408a54
call fcn.00477dba
cmp dword [eax], 2
je 0x408a54
push 0x3e8
call ebx
inc esi
cmp esi, 0xa
jge 0x408a54
mov edx, dword [0x4afe68]
jmp 0x408a00
mov edx, dword [0x4afe68]
push edx
call fcn.0047417f
push dword [0x4afe74]
mov dword [0x4afe68], 0
call fcn.0047417f
add esp, 8
mov dword [0x4afe74], 0
pop edi
pop esi
pop ebx
ret
Function at 0x412070
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 0x412194
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x412182
call fcn.0042d7d0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
and ebx, 2
je 0x412113
mov eax, dword [0x4b00cc]
push 0
push dword [eax + 0x10]
call esi
mov eax, dword [0x4b00cc]
mov eax, dword [eax + 0x4c4]
test eax, eax
je 0x412113
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 0x412158
cmp dword [ebp + 8], 0x103
jne 0x412158
xor edx, edx
lea ecx, [ebp - 0x1c]
call fcn.00402c10
push 0x4ff
push 0xc8
push 0
push 0
push 0
call edi
jmp 0x412120
test bx, bx
je 0x41217d
mov eax, dword [0x4b00cc]
push 5
push dword [eax + 0x10]
call esi
mov eax, dword [0x4b00cc]
mov eax, dword [eax + 0x4c4]
test eax, eax
je 0x41217d
push 5
push eax
call esi
call fcn.0042d8e0
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 0x425f60
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 0x425fc8
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 0x425f90
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 0x426d60
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.00474169
mov esi, eax
add esp, 8
test esi, esi
je 0x426e8a
push edi
push 2
push 0x104
call fcn.00474169
mov edi, eax
add esp, 8
test edi, edi
je 0x426dbd
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push ebx
push 0x4ae054
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
call fcn.0047417f
add esp, 4
cmp word [esi], bx
je 0x426e7b
push esi
call fcn.0047536a
mov ecx, esi
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426dd4
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
je 0x426e03
lea edi, [esi - 2]
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x426df0
mov eax, dword [0x49d3f4]
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 0x426e10
sub ecx, edx
sar ecx, 1
lea edi, [ecx*2 + 4]
push edi
call fcn.0047415e
mov edx, eax
add esp, 4
test edx, edx
jne 0x426e45
call fcn.0047d5f0
push edi
call fcn.0047415e
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 0x426e50
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call fcn.0047417f
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.0047417f
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f690
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4acca0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [0x4b00cc]
add edi, 0x2c
cmp dword [0x4b03b8], 0
mov dword [ebp - 0x44], edi
mov dword [edi], 0
je 0x42f7d2
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 [0x4b00c4]
xor ebx, ebx
mov ecx, dword [eax + 0x254]
movzx eax, word [esi + ecx]
mov esi, eax
test esi, esi
je 0x42f7b4
cmp esi, 4
jbe 0x42f725
cmp eax, 5
jne 0x42f7b4
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 0x42f715
or ebx, 1
sub esi, 2
sub edi, 1
jne 0x42f701
mov edi, dword [ebp - 0x44]
jmp 0x42f7af
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 0x42f7af
mov edx, dword [ebp - 0x30]
shl esi, 5
mov eax, dword [esi + 0x4b0100]
sub edx, eax
mov ecx, dword [esi + 0x4b0104]
sub ecx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x42f769
mov ebx, 4
jmp 0x42f779
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
mov eax, 8
cmovae ebx, eax
mov eax, dword [esi + 0x4b0108]
mov ecx, dword [esi + 0x4b010c]
mov edx, dword [ebp - 0x2c]
sub ecx, eax
sub edx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x42f79a
or ebx, 1
jmp 0x42f7a7
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
jb 0x42f7a7
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 0x42f6d0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0047068b
mov esp, ebp
pop ebp
ret

Function at 0x434590
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.00434600
Function at 0x443780
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 2
push 0x104
mov esi, ecx
call fcn.00474169
mov edi, eax
add esp, 8
test edi, edi
je 0x4437c6
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.0047417f
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 0x444940
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [0x4b00cc]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov dword [ebp - 4], edx
test edi, edi
jne 0x444960
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
cmp edx, 0x100
jne 0x4449b7
cmp dword [ebp + 8], 9
jne 0x444a1c
cmp dword [edi + 0x518], ecx
jle 0x444a1c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x4b00cc]
test ax, ax
js 0x44499a
call fcn.00452c10
jmp 0x44499f
call fcn.00452dd0
test eax, eax
je 0x4449af
pop esi
pop ebx
mov eax, 4
pop edi
mov esp, ebp
pop ebp
ret
mov edi, dword [0x4b00cc]
jmp 0x444a17
cmp edx, 5
jne 0x444a1c
mov eax, dword [0x4b00c4]
test byte [eax + 0x14], 0x10
je 0x444a1c
cmp byte [edi + 0x4c8], cl
je 0x444a1c
mov esi, dword [edi + 0x1278]
xor ebx, ebx
cmp dword [edi + 0x3c], ecx
jle 0x444a1c
nop dword [eax]
mov eax, dword [esi]
test eax, eax
jne 0x4449f0
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x4449e6
test byte [eax + 0x7c], 4
jne 0x444a0e
test dword [eax + 0x78], 0x2b0
je 0x444a0e
push eax
mov eax, dword [eax + 0x8c]
call eax
mov edi, dword [0x4b00cc]
inc ebx
add esi, 8
cmp ebx, dword [edi + 0x3c]
jl 0x4449e0
mov edx, dword [ebp - 4]
xor ecx, ecx
movsx eax, word [edi + 0x1d8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x444a59
xor esi, esi
test eax, eax
jle 0x444a59
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 0x444a59
mov edx, dword [ebp - 4]
inc esi
add ebx, 4
cmp esi, dword [ebp - 0xc]
jl 0x444a36
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x444b50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [0x4b00a0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 4], eax
test eax, eax
je 0x444b77
push 0
push dword [0x4b00a0]
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 [0x4b00a0]
call ebx
mov esi, eax
test esi, esi
je 0x444bc7
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 0x444bb0
mov eax, dword [0x4b00c4]
cmp dword [eax + 0x1fc], 0
jne 0x444c1e
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 0x444c1e
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 0x444c00
push dword [0x4b009c]
call dword [sym.imp.MMFS2.dll_Ordinal_35]
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x444c41
push 5
push dword [0x4b00a0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x44ac20
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 0x44ac55
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [ebp - 4]
sub eax, 0
je 0x44ac9f
sub eax, 2
jne 0x44ac4c
mov eax, dword [esi]
sub eax, 0
je 0x44ac7b
sub eax, 2
je 0x44ac74
xorps xmm0, xmm0
jmp 0x44ac84
movsd xmm0, qword [esi + 8]
jmp 0x44ac84
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 0x44acb6
sub eax, 2
je 0x44acaf
xor eax, eax
jmp 0x44acb9
cvttsd2si eax, qword [esi + 8]
jmp 0x44acb9
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 0x44cb50
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 0x44cbea
cmp dword [ebp - 8], 2
jb 0x44cbea
movsx eax, word [ebp - 4]
mov dword [esi], eax
sub eax, 0
je 0x44cbbf
sub eax, 1
je 0x44cbea
sub eax, 1
jne 0x44cbea
push eax
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
test eax, eax
je 0x44cbea
cmp dword [ebp - 8], 8
jb 0x44cbea
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 0x44cbea
cmp dword [ebp - 8], 4
jb 0x44cbea
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 0x44f400
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b0204]
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 0x44f471
mov eax, dword [ebp - 4]
test eax, eax
je 0x44f471
push eax
call fcn.0047415e
mov esi, eax
add esp, 4
test esi, esi
je 0x44f46a
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 0x44f461
push edi
mov dword [ebx], eax
call dword [0x4b01d4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0047417f
add esp, 4
push edi
call dword [0x4b01d4]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453f70
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 0x454048
mov eax, dword [ebp + 8]
nop dword [eax]
cmp ax, word [esi + 2]
jne 0x453fe2
test byte [esi], 0x10
je 0x453fa1
test ebx, ebx
jne 0x453fa5
jmp 0x453fe2
test ebx, ebx
jne 0x453fe2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 8
cwde
je 0x453fb9
test eax, eax
jns 0x453fdf
jmp 0x453fbd
test eax, eax
js 0x453fdf
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esi]
cwde
test cl, 4
je 0x453fd3
test eax, eax
jns 0x453fdb
jmp 0x453fd7
test eax, eax
js 0x453fdb
movzx edi, word [esi + 4]
test edi, edi
jne 0x453fec
mov eax, dword [ebp + 8]
cmp byte [esi], 0
jl 0x454048
add esi, 8
jmp 0x453f90
test cl, 0x40
je 0x45401f
cmp edi, 0x7d0
jl 0x454027
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 0x453ff9
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x454048
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x454048
test al, 1
je 0x453ffc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x454190
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 0x4541db
push esi
push 2
push 0x40
call fcn.00474169
add esp, 8
mov esi, eax
push 0x3f
push esi
push 0x65
push dword [0x4b0090]
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.0047417f
add esp, 0x10
pop esi
jmp 0x454227
lea eax, [edi - 0x70]
cmp eax, 0x17
ja 0x4541f8
lea eax, [edi - 0x6f]
push eax
push 0x49d728
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x454227
xor eax, eax
nop word [eax + eax]
cmp dword [eax*8 + str._bf_tg_fh_ri], edi
je 0x454211
inc eax
cmp eax, 0x14
jl 0x454200
jmp 0x454227
push 0x3f
push ebx
push dword [eax*8 + 0x49d1f4]
push dword [0x4b0090]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebx], 0
jne 0x45423f
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