joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b400
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.00408b60
movzx eax, al
test eax, eax
je 0x42b423
jmp 0x42b60b
mov dword [ebp - 0x2c], 0x280000
push 0x500000
call fcn.004afe39
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
push 0x500000
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.004dcf80
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.004dcf80
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0x43c]
push ecx
call fcn.004dcf80
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x644]
push edx
call fcn.004dcf80
add esp, 0xc
xor eax, eax
mov byte [ebp - 1], al
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 1]
call fcn.00428fa0
push eax
mov edx, dword [ebp - 0x14]
add edx, 0xc
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.00408290
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00408870
lea ecx, [ebp - 0x18]
call fcn.00408bc0
push eax
push 0x280000
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
jmp 0x42b4fc
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x24]
jae 0x42b5f1
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + ecx*2]
test eax, eax
jne 0x42b5ce
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov word [ebp + edx*2 - 0x234], cx
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x18]
call fcn.00408bc0
push eax
push 0x104
lea eax, [ebp - 0x43c]
push eax
push 0
push 0x52617c
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x43c]
test ecx, ecx
je 0x42b5cc
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.00408b70
shl eax, 1
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.00408bc0
push eax
push 0x104
lea edx, [ebp - 0x644]
push edx
call fcn.0042b1d0
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x644]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x18]
call fcn.00408bc0
push eax
lea edx, [ebp - 0x644]
push edx
push 0x526188
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x42b5ec
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov dx, word [eax + edx*2]
mov word [ebp + ecx*2 - 0x234], dx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x42b4f3
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004afe42
add esp, 4
lea ecx, [ebp - 0x18]
call fcn.00408870
mov esp, ebp
pop ebp
ret
Function at 0x42c080
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 8]
call fcn.004089d0
lea ecx, [ebp - 0x18]
call fcn.004089d0
lea eax, [ebp - 0x18]
push eax
call fcn.00406550
add esp, 4
test eax, eax
je 0x42c0c6
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
call fcn.00408810
cmp dword [ebp - 0x1c], 0
jne 0x42c1ca
push 0x208
push 0
lea edx, [ebp - 0x23c]
push edx
call fcn.004dcf80
add esp, 0xc
push 1
push 0x2a
lea eax, [ebp - 0x23c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0xc]
call fcn.004088f0
lea ecx, [ebp - 0xc]
call fcn.00408b60
movzx edx, al
test edx, edx
je 0x42c161
push 0x32
call fcn.00419b00
add esp, 4
mov word [ebp - 0x10], ax
xor eax, eax
mov byte [ebp - 1], al
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 1]
call fcn.0042bcc0
push eax
movzx edx, word [ebp - 0x10]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0042b940
add esp, 0xc
push eax
lea ecx, [ebp - 0xc]
call fcn.00408810
lea ecx, [ebp - 0x20]
call fcn.00408870
lea ecx, [ebp - 0x24]
call fcn.00408870
xor ecx, ecx
mov byte [ebp - 2], cl
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 2]
call fcn.0042ba40
push eax
push 0x5261e4
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00408190
add esp, 0xc
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.00408290
add esp, 0xc
push eax
lea ecx, [ebp - 0xc]
call fcn.00408810
lea ecx, [ebp - 0x28]
call fcn.00408870
lea ecx, [ebp - 0x2c]
call fcn.00408870
lea ecx, [ebp - 0x30]
call fcn.00408870
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
call fcn.00408810
lea ecx, [ebp - 0xc]
call fcn.00408870
lea ecx, [ebp - 8]
call fcn.00408b60
movzx ecx, al
test ecx, ecx
jne 0x42c206
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0042c060
test eax, eax
je 0x42c206
push 0x32
call fcn.00419b00
add esp, 4
mov word [ebp - 0x14], ax
movzx eax, word [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 8]
call fcn.0042c710
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004089a0
lea ecx, [ebp - 0x18]
call fcn.00408870
lea ecx, [ebp - 8]
call fcn.00408870
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x42c410
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 8]
call fcn.004089d0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00412940
add esp, 0x14
test eax, eax
jne 0x42c453
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
call fcn.00408870
mov eax, dword [ebp - 0x10]
jmp 0x42c4bd
xor ecx, ecx
mov byte [ebp - 1], cl
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 1]
call fcn.0042bd80
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.00408290
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00408870
lea ecx, [ebp - 0xc]
call fcn.00408bc0
push eax
call fcn.004128b0
add esp, 4
mov dword [ebp - 0x18], eax
push 4
push 0
lea ecx, [ebp - 8]
call fcn.00408bc0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0xc]
call fcn.00408870
lea ecx, [ebp - 8]
call fcn.00408870
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42c570
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 8]
call fcn.004089d0
lea eax, [ebp - 8]
push eax
call fcn.00405fe0
add esp, 4
lea ecx, [ebp - 8]
call fcn.00408bc0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
xor ecx, ecx
mov byte [ebp - 1], cl
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 1]
call fcn.0042b9a0
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.00408290
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00408870
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00412a10
add esp, 0x10
test eax, eax
jne 0x42c600
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0xc]
call fcn.00408870
lea ecx, [ebp - 8]
call fcn.00408870
mov eax, dword [ebp - 0x14]
jmp 0x42c639
push 4
push 0
lea ecx, [ebp - 8]
call fcn.00408bc0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00408810
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0xc]
call fcn.00408870
lea ecx, [ebp - 8]
call fcn.00408870
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42db40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp + 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x108]
mov eax, dword [edx + 8]
call eax
mov ecx, eax
call fcn.00408bc0
push eax
lea ecx, [ebp - 0x10]
call fcn.004088f0
lea ecx, [ebp - 0xb4]
call fcn.00408bd0
xor ecx, ecx
mov byte [ebp - 1], cl
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 1]
call fcn.0042ced0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00411fe0
add esp, 8
mov byte [ebp - 2], al
lea ecx, [ebp - 0x18]
call fcn.00408870
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x42dbcb
push 0
push 8
push 0x10
mov ecx, dword [ebp - 0x14]
call fcn.004397a0
jmp 0x42dd1f
xor edx, edx
mov byte [ebp - 3], dl
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 3]
call fcn.0042d290
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00411fe0
add esp, 8
mov byte [ebp - 4], al
lea ecx, [ebp - 0x1c]
call fcn.00408870
movzx edx, byte [ebp - 4]
test edx, edx
je 0x42dc0f
push 0
push 6
push 0x10
mov ecx, dword [ebp - 0x14]
call fcn.004397a0
jmp 0x42dd1f
xor eax, eax
mov byte [ebp - 5], al
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 5]
call fcn.0042d4f0
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.00411fe0
add esp, 8
mov byte [ebp - 6], al
lea ecx, [ebp - 0x20]
call fcn.00408870
movzx eax, byte [ebp - 6]
test eax, eax
je 0x42dc53
push 0
push 7
push 0x10
mov ecx, dword [ebp - 0x14]
call fcn.004397a0
jmp 0x42dd1f
xor ecx, ecx
mov byte [ebp - 7], cl
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 7]
call fcn.0042d1c0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00411fe0
add esp, 8
mov byte [ebp - 8], al
lea ecx, [ebp - 0x24]
call fcn.00408870
movzx ecx, byte [ebp - 8]
test ecx, ecx
je 0x42dcba
xor edx, edx
mov byte [ebp - 9], dl
push 1
push 0
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 9]
call fcn.0042d7d0
mov ecx, eax
call fcn.00408bc0
push eax
push 0x5263a8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x28]
call fcn.00408870
jmp 0x42dd1f
xor ecx, ecx
mov byte [ebp - 0xa], cl
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0xa]
call fcn.0042d420
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00411fe0
add esp, 8
mov byte [ebp - 0xb], al
lea ecx, [ebp - 0x2c]
call fcn.00408870
movzx ecx, byte [ebp - 0xb]
test ecx, ecx
je 0x42dd1f
xor edx, edx
mov byte [ebp - 0xc], dl
push 1
push 0
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xc]
call fcn.0042d5d0
mov ecx, eax
call fcn.00408bc0
push eax
push 0x5263b4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x30]
call fcn.00408870
lea ecx, [ebp - 0x10]
call fcn.00408870
mov esp, ebp
pop ebp
ret 4
Function at 0x433f20
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 0x433f45
or esi, 1
push 1
call edi
test ax, ax
jns 0x433f51
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x433f5d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x433f69
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x436f30
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.00438fa0
mov edi, dword [ebp + 8]
test eax, eax
jle 0x436f8b
nop
push esi
lea ecx, [ebx + 0xe0]
mov byte [ebp + 0xb], 0
call fcn.0043a0a0
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 0x4370bc
lea ecx, [ebx + 0xe0]
inc esi
call fcn.00438fa0
cmp esi, eax
jl 0x436f50
sub edi, 0x100
je 0x437051
sub edi, 4
je 0x436ff2
sub edi, 2
jne 0x437046
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call fcn.004e9eb0
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 0x438dc0
call dword [eax + 0x14c]
mov esi, eax
test esi, esi
je 0x437046
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 0x437046
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.00433f20
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 0x437046
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x4370a3
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
call eax
test al, al
je 0x4370a3
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x4370a3
mov ecx, dword [ebx + 0x5c]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.004dbda4
add esp, 8
test eax, eax
je 0x4370a3
mov ecx, dword [ebx + 0x5c]
call fcn.0044e380
test al, al
jne 0x437046
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.00438530
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4397f0
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 0x4398b9
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4398b9
cmp dword [ebp - 0x1c], 0x10
jne 0x439880
cmp dword [ebp - 0x20], esi
jne 0x439880
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.00438b50
add esp, 4
test al, al
jne 0x4398a4
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 0x4398b9
test ebx, ebx
jne 0x4398b9
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x439846
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 0x4398db
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4398f0
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 0x439935
cmp byte [ebp + 8], 0
je 0x439929
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 0x44bcb0
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 0x44bd12
sub eax, 2
je 0x44bcf3
sub eax, 0x15
jne 0x44bd62
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x44bd62
push 0
push edi
push dword [ebp + 0xc]
push str.cutkey
jmp 0x44bd57
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x44bd62
push 0
push edi
push dword [ebp + 0xc]
push str.copykey
jmp 0x44bd57
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x44bd62
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.00437810
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44c850
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
mov ebx, ecx
call fcn.00440350
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44c89e
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.00438fa0
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 0x44fe20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x594], 0
je 0x44fe8d
cmp dword [ebp + 8], 0x100
jne 0x44fe7d
cmp word [ebp + 0xc], 0xd
jne 0x44fe7d
cmp byte [esi + 0x59a], 0
je 0x44fe5e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x44fe7d
cmp byte [esi + 0x59b], 0
jne 0x44fe7d
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x44fe76
push 0
push 0
push 0
push str.return
push esi
call fcn.00437810
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 0x450dd0
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x53a8a4
push 0x34
call fcn.004b00bc
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x450e49
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 0x450e4b
xor esi, esi
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x450e58
mov edi, dword [edi]
xor ebx, ebx
test edi, edi
je 0x450ecf
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450ecf
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 0x450ecf
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x450ecf
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 0x450ecf
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 0x450ecf
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.00450750
mov ebx, eax
test ebx, ebx
jne 0x450efd
mov eax, dword [esi + 0xc]
test eax, eax
je 0x450ee4
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 0x450f03
push eax
call edi
mov dword [esi + 8], 0
jmp 0x450f03
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x450f15
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
test ebx, ebx
pop ebx
jne 0x450f34
mov ecx, esi
call fcn.00450410
push 0x34
push esi
call fcn.004af923
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 0x459350
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 0x53a8a4
cmp al, 6
jb 0x45938d
push 0x18
call fcn.004b00bc
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x4593c9
mov ecx, eax
call fcn.004593e0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x14
call fcn.004b00bc
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x4593c9
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 0x45b520
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ead8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x562494]
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 0x45b6ce
cmp ebx, 7
jb 0x45b6ce
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 0x45b628
test esi, esi
je 0x45b58c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x28]
push eax
call fcn.00468cc0
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 0x45b5db
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.00408080
mov eax, esi
jmp 0x45b6d0
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.00408080
mov eax, esi
jmp 0x45b6d0
push ebx
push dword [ebp - 0x2c]
push eax
call fcn.004dc480
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x45b650
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 0x45b696
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 0x45b698
xor esi, esi
mov dword [edi + 0x10], esi
test esi, esi
je 0x45b6bb
mov ecx, esi
call fcn.0045b050
mov ecx, dword [edi + 0x10]
mov dword [edi + 8], eax
call fcn.0045b010
mov dword [edi + 0xc], eax
mov esi, 1
jmp 0x45b6bd
xor esi, esi
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x45b6ca
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x45b6d0
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.004affa8
mov esp, ebp
pop ebp
ret 8

Function at 0x45c150
Capabilities:
Delete file

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