joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ad49
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x54c548]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.Wow64RevertWow64Wow64DisableWow6]
lea eax, [ebp - 0x24]
push eax
push 0x1e
push 0x554fd8
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x65527346
mov dword [ebp - 0x10], 0x65726964
mov dword [ebp - 0xc], 0x6f697463
mov word [ebp - 8], 0x6e
call fcn.0040a544
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aabf0
leave
ret

Function at 0x42aefe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x54c548]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x5165c0]
lea eax, [ebp - 0x24]
push eax
push 0x1f
push 0x554fb0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x52734634
mov dword [ebp - 0x10], 0x72696465
mov dword [ebp - 0xc], 0x69746365
mov word [ebp - 8], 0x6e6f
mov byte [ebp - 6], 0
call fcn.0040a544
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aabf0
leave
ret
Function at 0x42bc48
Capabilities:
Compare security identifiers

Disassembly:
push 0x34
push 0x541ea0
call fcn.004ab170
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
mov dword [eax], ebx
mov dword [ecx], ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x42bc91
cmp dword [ebp - 0x28], ebx
jne 0x42bcc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x42bd94
lea eax, [ebp - 0x28]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42bd94
cmp dword [ebp - 0x28], 0
je 0x42bd94
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x42bd94
cmp dword [ebp - 0x2c], eax
jbe 0x42bd94
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42bd94
push dword [ebp - 0x2c]
call fcn.004f4865
pop ecx
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x42bd94
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x2c]
push esi
push 2
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x42bd94
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jne 0x42bd94
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x42bd94
cmp dword [ebp - 0x30], 0
je 0x42bd94
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [esi]
jae 0x42bd94
push dword [ebp - 0x30]
push dword [esi + ebx*8 + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x42bd7e
inc ebx
jmp 0x42bd63
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov eax, dword [esi + ebx*8 + 8]
shr eax, 2
and eax, ecx
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0042bdb5
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x42c097
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x54c548]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.004eb5d0
add esp, 0xc
push esi
call fcn.0042bfa9
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004aabf0
leave
ret
Function at 0x42c10e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x54c548]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.004eb5d0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42c15e
cmp dword [ebp - 0x114], 6
jb 0x42c15e
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004aabf0
leave
ret

Function at 0x42c1e4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x430
push 0x541e60
call fcn.004ab170
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x440], esi
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
push 0x200
push ebx
lea eax, [ebp - 0x42c]
push eax
call fcn.004eb5d0
add esp, 0xc
push edi
lea ecx, [ebp - 0x431]
call fcn.0042b0e8
push eax
push 0xff
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x430]
push eax
push 0x20219
push ebx
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c2db
mov dword [ebp - 0x43c], ebx
mov edi, 0x210
push edi
push ebx
lea eax, [ebp - 0x22c]
push eax
call fcn.004eb5d0
add esp, 0xc
mov dword [ebp - 0x438], edi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x43c]
push eax
push ebx
lea ecx, [ebp - 0x432]
call fcn.0042abaa
push eax
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42c2db
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp + 0x10], eax
jle 0x42c2db
push dword [ebp + 0x10]
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.0042c301
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42c3c9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.004aad70
mov eax, dword [0x54c548]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x105c]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x44
pop edi
push edi
push 0
push eax
call fcn.004eb5d0
add esp, 0xc
mov dword [ebp - 0x105c], edi
lea eax, [ebp - 0x105c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x1030], 1
mov word [ebp - 0x102c], ax
lea edi, [ebp - 0x1018]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ebx, ebx
je 0x42c484
push 0x1000
xor edi, edi
lea eax, [ebp - 0x1004]
push edi
push eax
call fcn.004eb5d0
add esp, 0xc
lea ecx, [ebp - 0x1005]
push ebx
push esi
call fcn.0042b79f
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0042ab4b
add esp, 0x10
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x105c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x1004]
push eax
push edi
jmp 0x42c49c
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x105c]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x42c4be
push dword [ebp - 0x1014]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1018]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aabf0
leave
ret

Function at 0x42c4cf
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
lea ecx, [ebp - 1]
call fcn.0042b025
push eax
call fcn.0042bfa9
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042be5b
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
test eax, eax
je 0x42c53c
push 0x3c
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.004eb5d0
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x40], 0x440
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42c53c
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00407c78
mov eax, esi
pop esi
leave
ret
Function at 0x42c70f
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1464
call fcn.004aad70
mov eax, dword [0x54c548]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x145c]
push edi
push 0x1458
push 0
push eax
call fcn.004eb5d0
add esp, 0xc
lea eax, [ebp - 0x145c]
push 0xa2c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x145c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x145d]
call fcn.0042ac18
push eax
lea eax, [ebp - 0x145c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x145d]
call fcn.0042bb9b
mov bl, byte [ebp + 0xc]
xor edi, edi
inc edi
test bl, bl
je 0x42c7a2
push edi
push edi
push 0x515abc
push eax
call fcn.0042c54c
add esp, 0x10
lea eax, [ebp - 0x145c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c7d2
lea ecx, [ebp - 0x145d]
call fcn.0042b2ad
test bl, bl
je 0x42c7d2
push edi
push edi
push 0x515abc
push eax
call fcn.0042c54c
add esp, 0x10
xor eax, eax
push eax
push edi
push edi
push eax
mov dword [ebp - 0x1464], eax
lea eax, [ebp - 0x1464]
push eax
push dword [esi]
lea eax, [ebp - 0x145c]
push eax
movzx eax, bl
push eax
call fcn.00428d29
test eax, eax
jne 0x42c848
push str._n__tWinMain:_CreateProcess_fail.__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x145d]
call fcn.0042b0b1
test bl, bl
je 0x42c825
push edi
push edi
push 0x515abc
push eax
call fcn.0042c54c
add esp, 0x10
lea ecx, [ebp - 0x145d]
call fcn.0042b51e
test bl, bl
je 0x42c844
push edi
push edi
push 0x515abc
push eax
call fcn.0042c54c
add esp, 0x10
xor eax, eax
jmp 0x42c888
lea ecx, [ebp - 0x145d]
call fcn.0042af54
test bl, bl
je 0x42c867
push edi
push edi
push 0x515abc
push eax
call fcn.0042c54c
add esp, 0x10
lea ecx, [ebp - 0x145d]
call fcn.0042ae59
test bl, bl
je 0x42c886
push edi
push edi
push 0x515abc
push eax
call fcn.0042c54c
add esp, 0x10
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aabf0
leave
ret
Function at 0x430110
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d453
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x54c548]
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 ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x4301b5
cmp word [esi], di
je 0x4301b5
test eax, eax
je 0x430171
cmp word [eax], di
je 0x430171
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x4301b5
jmp 0x4301b0
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004eb5d0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x4301b5
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
cmp dword [ebp + 0x34], 0
je 0x430230
lea esi, [ebx + 0x38]
push esi
mov dword [ebp - 0x42c], esi
call fcn.0042e60c
add esp, 4
test eax, eax
je 0x4301da
push eax
call fcn.0042e9a2
add esp, 4
mov byte [ebp - 0x428], 1
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x430250
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
push esi
mov byte [ebp - 4], 2
call fcn.0042e631
add esp, 4
test eax, eax
je 0x430218
push eax
call fcn.0042e9a2
add esp, 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x430230
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.004aabf0
mov esp, ebp
pop ebp
ret 0x30
call fcn.0042e0ce
int3
Function at 0x4313f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x54c548]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x555ef0], 0
push esi
jne 0x431517
cmp dword [ecx + 0x2c], 8
lea eax, [ecx + 0x18]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], 0
jb 0x43143b
mov eax, dword [eax]
push edi
push 0x20219
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x818]
call fcn.00416d3f
mov edi, dword [ebp - 0x818]
test eax, eax
jne 0x43150b
lea eax, [ebp - 0x808]
mov dword [ebp - 0x808], 0x800
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x80c]
push eax
push 0
push 0x517850
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43150b
mov eax, dword [ebp - 0x80c]
cmp eax, 1
je 0x43149f
cmp eax, 2
jne 0x43150b
mov eax, dword [ebp - 0x808]
test eax, eax
je 0x4314bc
test al, 1
jne 0x43150b
shr eax, 1
cmp word [ebp + eax*2 - 0x806], 0
je 0x4314c5
jmp 0x43150b
xor eax, eax
mov word [ebp - 0x804], ax
mov ecx, 0x555ef0
lea esi, [ebp - 0x804]
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x4314fe
movzx eax, word [esi + ecx]
test ax, ax
je 0x4314fe
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4314e0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x431516
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push 0x555ef0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x43156b
mov ecx, 0x555ef0
mov esi, str.noset
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x43155e
movzx eax, word [esi + ecx]
test ax, ax
je 0x43155e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x431540
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 0x555ef0
xor ecx, ebp
pop esi
call fcn.004aabf0
mov esp, ebp
pop ebp
ret
Function at 0x4379c0
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 0x4379e5
or esi, 1
push 1
call edi
test ax, ax
jns 0x4379f1
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4379fd
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x437a09
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x43d1b0
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 0x43d1f5
cmp byte [ebp + 8], 0
je 0x43d1e9
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 0x44ccd0
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 0x44cd32
sub eax, 2
je 0x44cd13
sub eax, 0x15
jne 0x44cd82
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x44cd82
push 0
push edi
push dword [ebp + 0xc]
push str.cutkey
jmp 0x44cd77
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x44cd82
push 0
push edi
push dword [ebp + 0xc]
push str.copykey
jmp 0x44cd77
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x44cd82
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.0043af20
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44d870
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
mov ebx, ecx
call fcn.00441430
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44d8be
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.00434ac0
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 0x450e40
Capabilities:
Log keystrokes via polling

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x5551c0
push 0x34
call fcn.004ab4b5
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x451e69
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 0x451e6b
xor esi, esi
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x451e78
mov edi, dword [edi]
xor ebx, ebx
test edi, edi
je 0x451eef
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x451eef
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 0x451eef
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x451eef
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 0x451eef
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 0x451eef
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.00451770
mov ebx, eax
test ebx, ebx
jne 0x451f1d
mov eax, dword [esi + 0xc]
test eax, eax
je 0x451f04
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 0x451f23
push eax
call edi
mov dword [esi + 8], 0
jmp 0x451f23
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x451f35
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
test ebx, ebx
pop ebx
jne 0x451f54
mov ecx, esi
call fcn.00451430
push 0x34
push esi
call fcn.004aa93a
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 0x457330
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 0x5551c0
cmp al, 6
jb 0x45736d
push 0x18
call fcn.004ab4b5
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x4573a9
mov ecx, eax
call fcn.004573c0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x14
call fcn.004ab4b5
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x4573a9
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 0x459550
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f028
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x54c548]
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 0x4596fe
cmp ebx, 7
jb 0x4596fe
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 0x459658
test esi, esi
je 0x4595bc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x28]
push eax
call fcn.00466c10
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 0x45960b
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.0040d00b
mov eax, esi
jmp 0x459700
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.0040d00b
mov eax, esi
jmp 0x459700
push ebx
push dword [ebp - 0x2c]
push eax
call fcn.004eaad0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x459680
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 0x4596c6
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 0x4596c8
xor esi, esi
mov dword [edi + 0x10], esi
test esi, esi
je 0x4596eb
mov ecx, esi
call fcn.00459080
mov ecx, dword [edi + 0x10]
mov dword [edi + 8], eax
call fcn.00459030
mov dword [edi + 0xc], eax
mov esi, 1
jmp 0x4596ed
xor esi, esi
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4596fa
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x459700
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.004aabf0
mov esp, ebp
pop ebp
ret 8

Function at 0x45a180
Capabilities:
Delete file

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