joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b5d0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530276
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x57a438]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
je 0x42b6f1
call fcn.00407b40
mov ecx, eax
test ecx, ecx
je 0x42b7cf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x14]
push 0x561398
push eax
call fcn.00407210
lea ecx, [ebp - 0x1c]
call fcn.00426ed0
add esp, 8
mov byte [ebp - 4], 1
mov edi, dword [eax]
lea ecx, [ebp - 0xb4]
call fcn.004093f0
mov byte [ebp - 4], 2
mov eax, 0x55fc20
mov esi, dword [ebp - 0x14]
test esi, esi
cmovne eax, esi
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00407550
mov eax, dword [edi]
lea ecx, [ebp - 0xb4]
add esp, 8
push ecx
mov ecx, edi
call dword [eax + 0xc]
lea ecx, [ebp - 0xb4]
call fcn.0040a3e0
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x18]
or edi, 0xffffffff
test ebx, ebx
je 0x42b6cb
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x42b6cb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x42b6cb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x42b6e7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x42b7b3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b6e7
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x42b7a6
push esi
call edi
test eax, eax
je 0x42b7a6
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.00406d60
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x14]
push 0x561398
push eax
call fcn.00407210
lea ecx, [ebp - 0x1c]
call fcn.00426ed0
add esp, 8
mov byte [ebp - 4], 5
mov edi, dword [eax]
lea ecx, [ebp - 0xb4]
call fcn.004093f0
mov byte [ebp - 4], 6
mov eax, 0x55fc20
mov esi, dword [ebp - 0x14]
test esi, esi
cmovne eax, esi
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00407550
mov eax, dword [edi]
lea ecx, [ebp - 0xb4]
add esp, 8
push ecx
mov ecx, edi
call dword [eax + 0xc]
lea ecx, [ebp - 0xb4]
call fcn.0040a3e0
mov byte [ebp - 4], 7
jmp 0x42b6a2
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac694
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407c80
int3
Function at 0x42bf40
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530366
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x57a438]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
test edi, edi
jne 0x42bf7a
xor eax, eax
jmp 0x42c0d0
push 0x800
xorps xmm0, xmm0
mov dword [ebp - 0x81c], 0
lea eax, [ebp - 0x810]
movq qword [ebp - 0x824], xmm0
push 0
push eax
movups xmmword [ebp - 0x834], xmm0
mov word [ebp - 0x818], 0
call fcn.004fecc0
lea edx, [ebp - 0x810]
mov dword [ebp - 0x830], 3
add esp, 0xc
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 0x42bfd0
lea eax, [ebp - 0x810]
mov dword [ebp - 0x82c], eax
mov eax, 0x614
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c0cb
mov ecx, edi
call fcn.0042b570
test eax, eax
jne 0x42c0cb
call fcn.00407b40
mov ecx, eax
test ecx, ecx
je 0x42c0eb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x814], eax
push edi
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 0
call fcn.00406cc0
lea edx, [ebp - 0x814]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x838]
call fcn.0042ba70
mov byte [ebp - 4], 0
mov esi, eax
mov edx, dword [ebp - 0x838]
or ecx, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42c08e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
test esi, esi
mov esi, dword [ebp - 0x814]
push 0
je 0x42c09f
push esi
jmp 0x42c0a0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42c0c7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x42c0d0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac694
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407c80
int3
Function at 0x42c120
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x57a438]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
jne 0x42c1e1
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004fecc0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x42c1cb
push edi
push 0x104
lea edi, [ebx + 4]
push 0
push edi
call fcn.004fecc0
add esp, 0xc
lea eax, [ebp - 0x108]
push edi
push 0
push str.NINE
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str..bat
push edi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 4
push 0
push 7
push 0xc01200a0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebx], eax
pop edi
cmp dword [ebx], 0
jne 0x42c1e1
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac694
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.004fecc0
add esp, 0xc
mov dword [ebp - 0x314], 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x310]
push 0x207
push eax
call fcn.004077b0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00507235
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x42c241
cmp eax, 0x207
ja 0x42c241
jne 0x42c248
mov byte [ebp - 0x109], 0
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c251
push 0
lea eax, [ebp - 0x314]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x310]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004ac694
mov esp, ebp
pop ebp
ret
Function at 0x42c290
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, ecx
push ebx
mov dword [ebp - 4], eax
cmp dword [eax], 0
je 0x42c380
cmp byte [eax + 4], 0
lea ebx, [eax + 4]
je 0x42c380
push esi
mov esi, ebx
push edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x42c2c0
movaps xmm0, xmmword [0x5614d0]
sub esi, ecx
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 8], 0x65
movaps xmm0, xmmword [0x5614b0]
movups xmmword [ebp - 0x28], xmm0
movaps xmm0, xmmword [0x5614a0]
movups xmmword [ebp - 0x18], xmm0
call fcn.00407b40
mov ecx, eax
test ecx, ecx
je 0x42c387
mov eax, dword [ecx]
push 1
push 0x31
call dword [eax]
test eax, eax
je 0x42c391
cmp dword [eax + 8], 0x31
lea edi, [eax + 0x10]
jl 0x42c396
push 0x31
lea eax, [ebp - 0x38]
mov dword [edi - 0xc], 0x31
push eax
push 0x31
push edi
mov byte [edi + 0x31], 0
call fcn.004173a0
mov eax, dword [ebp - 4]
add esp, 0x10
cmp dword [eax], 0
jne 0x42c340
xor eax, eax
jmp 0x42c347
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push esi
push ebx
push 1
push eax
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov esi, eax
add edi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42c372
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
xor eax, eax
test esi, esi
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407c80
call fcn.00407160
push 0x80070057
call fcn.00407c80
int3
Function at 0x433880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530a73
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x57a438]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xac]
push 0x5808a8
xor edi, edi
call fcn.0043a360
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x433902
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4339a3
push eax
mov edi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4339a3
mov ecx, 0x580930
call fcn.0043b2e0
lea ecx, [ebp - 0xac]
test al, al
je 0x433953
push esi
call fcn.0043a8f0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0xac]
call fcn.0042d530
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4339a3
push eax
mov edi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4339a3
push 0x580930
call fcn.0043a8d0
mov ebx, dword [0x580804]
test ebx, ebx
je 0x4339a3
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b0a0
lea eax, [ebp - 0x2c4]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.004510b0
add esp, 0x10
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0040b440
test esi, esi
mov eax, 1
cmovne edi, eax
lea ecx, [ebp - 0xac]
call fcn.00416ed0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac694
mov esp, ebp
pop ebp
ret 4

Function at 0x433a60
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x433a85
or esi, 1
push 1
call edi
test ax, ax
jns 0x433a91
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x433a9d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x433aa9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x436a70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0xe0]
call fcn.00439740
mov edi, dword [ebp + 8]
test eax, eax
jle 0x436acb
nop
push esi
lea ecx, [ebx + 0xe0]
mov byte [ebp + 0xb], 0
call fcn.0043a890
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x436bfc
lea ecx, [ebx + 0xe0]
inc esi
call fcn.00439740
cmp esi, eax
jl 0x436a90
sub edi, 0x100
je 0x436b91
sub edi, 4
je 0x436b32
sub edi, 2
jne 0x436b86
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call fcn.00512f94
mov ecx, dword [ebx + 0x58]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x8000000a
push edx
push 0x438910
call dword [eax + 0x14c]
mov esi, eax
test esi, esi
je 0x436b86
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x13c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x5c], 0
je 0x436b86
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x74]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.00433a60
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x436b86
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x436be3
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
call eax
test al, al
je 0x436be3
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x436be3
mov ecx, dword [ebx + 0x5c]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.004fe3da
add esp, 8
test eax, eax
je 0x436be3
mov ecx, dword [ebx + 0x5c]
call fcn.0044e6a0
test al, al
jne 0x436b86
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.00438080
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x439fe0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [esi + 4]
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x20], xmm0
xor ebx, ebx
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43a0a9
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x43a0a9
cmp dword [ebp - 0x1c], 0x10
jne 0x43a070
cmp dword [ebp - 0x20], esi
jne 0x43a070
mov eax, dword [ebp - 0x18]
push 1
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov ebx, 1
lea eax, [ebp - 0x20]
push eax
call fcn.004386a0
add esp, 4
test al, al
jne 0x43a094
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x43a0a9
test ebx, ebx
jne 0x43a0a9
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x43a036
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x43a0cb
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x43a0e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43a125
cmp byte [ebp + 8], 0
je 0x43a119
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x44bfd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
movzx eax, word [edi + 0xc]
sub eax, 0x41
je 0x44c032
sub eax, 2
je 0x44c013
sub eax, 0x15
jne 0x44c082
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x44c082
push 0
push edi
push dword [ebp + 0xc]
push str.cutkey
jmp 0x44c077
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x44c082
push 0
push edi
push dword [ebp + 0xc]
push str.copykey
jmp 0x44c077
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x44c082
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], 2
push eax
mov eax, dword [esi + 0x14]
push 0xffffffffffffffff
push 0x102b
mov dword [ebp - 0x30], 2
push dword [eax + 0x558]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
push dword [ebp + 0xc]
push str.selectallkey
push dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
call fcn.00437350
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44cb70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
mov ebx, ecx
call fcn.00440670
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44cbbe
mov ecx, dword [ebx + 0x55c]
mov eax, 5
push edi
xor edi, edi
cmp byte [ebp + 8], 0
cmovne edi, eax
push edi
call fcn.00439740
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
pop ebp
ret 4

Function at 0x450130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x594], 0
je 0x45019d
cmp dword [ebp + 8], 0x100
jne 0x45018d
cmp word [ebp + 0xc], 0xd
jne 0x45018d
cmp byte [esi + 0x59a], 0
je 0x45016e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x45018d
cmp byte [esi + 0x59b], 0
jne 0x45018d
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x450186
push 0
push 0
push 0
push str.return
push esi
call fcn.00437350
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x594]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x4510e0
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x54dbb2
push 0x34
call fcn.004ad1e8
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x451159
mov dword [esi], 2
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
jmp 0x45115b
xor esi, esi
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x451168
mov edi, dword [edi]
xor ebx, ebx
test edi, edi
je 0x4511df
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4511df
push ebx
push 0x80
push 3
push ebx
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x4511df
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x4511df
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
je 0x4511df
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x4511df
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.00450a60
mov ebx, eax
test ebx, ebx
jne 0x45120d
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4511f4
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x451213
push eax
call edi
mov dword [esi + 8], 0
jmp 0x451213
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x451225
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
test ebx, ebx
pop ebx
jne 0x451244
mov ecx, esi
call fcn.00450720
push 0x34
push esi
call fcn.004ac6c8
add esp, 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x459660
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x54dbb2
cmp al, 6
jb 0x45969d
push 0x18
call fcn.004ad1e8
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x4596d9
mov ecx, eax
call fcn.004596f0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x14
call fcn.004ad1e8
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x4596d9
mov dword [eax], vtable.CGDIPlusImageImpl.0
mov dword [eax + 4], 6
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45b830
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532038
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x57a438]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x45b9de
cmp ebx, 7
jb 0x45b9de
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x45b938
test esi, esi
je 0x45b89c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x28]
push eax
call fcn.00468fe0
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45b8eb
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.0040b440
mov eax, esi
jmp 0x45b9e0
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push ebx
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.0040b440
mov eax, esi
jmp 0x45b9e0
push ebx
push dword [ebp - 0x2c]
push eax
call fcn.004fee20
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x45b960
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x10], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 0x30]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x45b9a6
lea eax, [ebp - 0x2c]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp - 0x2c], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
jmp 0x45b9a8
xor esi, esi
mov dword [edi + 0x10], esi
test esi, esi
je 0x45b9cb
mov ecx, esi
call fcn.0045b360
mov ecx, dword [edi + 0x10]
mov dword [edi + 8], eax
call fcn.0045b320
mov dword [edi + 0xc], eax
mov esi, 1
jmp 0x45b9cd
xor esi, esi
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x45b9da
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x45b9e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac694
mov esp, ebp
pop ebp
ret 8

Function at 0x45c460
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x10], 0
jne 0x45c46f
xor eax, eax
pop ebp
ret 4
pop ebp
jmp fcn.0045aff0