joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429a30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x429a47
mov eax, 0x8000ffff
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
lea edi, [esi + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
test eax, eax
jne 0x429a74
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x429a6e
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x429b8d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov byte [edi + 0x18], 1
call ebx
mov dword [esi + 0x40], eax
test eax, eax
jne 0x429aab
cmp byte [edi + 0x18], al
je 0x429a9f
push edi
mov byte [edi + 0x18], al
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.00412ce0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x429ae4
call fcn.00412ce0
push 0x2710
mov ecx, esi
mov edi, eax
call fcn.0041d7e0
test eax, eax
jns 0x429b8a
test edi, edi
pop ebx
cmovns edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
mov ecx, esi
call fcn.004296b0
mov dword [ebp - 4], eax
test eax, eax
jns 0x429b14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.0041d7e0
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov ebx, eax
test ebx, ebx
je 0x429abb
push 0
push 0
push ebx
mov ecx, esi
call fcn.004296b0
mov edi, eax
test edi, edi
jns 0x429b52
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.0041d7e0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x429dd0
push 0
push 0
call fcn.0051b49f
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x429abb
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x429b8a
call fcn.00412ce0
mov edi, eax
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x429e40
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push esi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x429e61
mov eax, 0x80004003
pop esi
pop ebp
ret
push ebx
push edi
push 0xf01ff
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x429e8b
push esi
mov ebx, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
neg eax
push edi
sbb ebx, ebx
and ebx, 0x7fffbffb
add ebx, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x429ec0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x429eff
pop edi
mov eax, 0x80004003
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret
push ebx
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x429f1a
mov edi, 0x80004005
jmp 0x429f51
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
push 1
push ebx
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
neg eax
push ebx
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004d77de
mov esp, ebp
pop ebp
ret
Function at 0x42c160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e1d2
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x5854b4]
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 dword [ebp - 0x830], ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x42c1a2
xor eax, eax
jmp 0x42c390
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c19b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c1b2
sub ecx, edx
sar ecx, 1
cmp ecx, 0x200
jae 0x42c19b
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00511800
push 0x400
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.0051b302
add esp, 0x18
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.version1.0_encodingutf_16
lea ecx, [ebp - 0x814]
call fcn.004065a0
push esi
lea ecx, [ebp - 0x818]
mov dword [ebp - 4], 0
call fcn.004065a0
mov dword [ebp - method.CXMLArchive.virtual_0], vtable.CXMLArchive.0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
mov esi, dword [ebp - 0x814]
mov dword [ebp - 0x820], esi
test esi, esi
je 0x42c253
lock inc dword [esi + 8]
push 0
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x82c]
call fcn.0042bd40
mov edi, dword [ebp - 0x818]
or ebx, 0xffffffff
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x42c2bf
mov eax, ebx
lock xadd dword [edi + 8], eax
dec eax
jne 0x42c2bf
mov eax, dword [edi]
test eax, eax
je 0x42c297
push eax
call ecx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x42c2ae
push eax
call fcn.004d72c1
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004d72b3
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 8
mov byte [ebp - 4], 7
test esi, esi
je 0x42c300
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x42c300
mov eax, dword [esi]
test eax, eax
je 0x42c2de
push eax
call ecx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42c2f5
push eax
call fcn.004d72c1
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004d72b3
add esp, 8
cmp dword [ebp - 0x828], 0
jne 0x42c30d
xor esi, esi
jmp 0x42c357
mov ebx, dword [ebp - 0x830]
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x82c]
mov ecx, ebx
push eax
call fcn.0042cae0
lea eax, [ebp - 0x82c]
mov ecx, ebx
push eax
call fcn.0042d200
lea eax, [ebp - 0x82c]
mov ecx, ebx
push eax
call fcn.0042bf80
lea eax, [ebp - 0x82c]
mov ecx, ebx
push eax
call fcn.0042c3b0
mov esi, 1
lea ecx, [ebp - 0x820]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CXMLArchive.virtual_0], vtable.CXMLArchive.0
call fcn.00409890
lea ecx, [ebp - 0x824]
call fcn.00409890
mov edx, dword [ebp - 0x828]
test edx, edx
je 0x42c38e
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov eax, esi
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.004d77de
mov esp, ebp
pop ebp
ret 4
Function at 0x42e1e0
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
jne 0x42e2a1
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00511800
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x42e28b
push edi
push 0x104
lea edi, [ebx + 4]
push 0
push edi
call fcn.00511800
add esp, 0xc
lea eax, [ebp - 0x108]
push edi
push 0
push 0x54b884
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 0x42e2a1
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.00511800
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.00411150
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0051aa00
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x42e301
cmp eax, 0x207
ja 0x42e301
jne 0x42e308
mov byte [ebp - 0x109], 0
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e311
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.004d77de
mov esp, ebp
pop ebp
ret
Function at 0x42ff50
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1318
call fcn.004d7a20
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0x1318], eax
lea eax, [ebp - 0x1304]
push 0
push eax
call fcn.00511800
push 0x800
lea eax, [ebp - 0xb04]
push 0
push eax
call fcn.00511800
add esp, 0x18
lea eax, [ebp - 0x1304]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xfe
lea eax, [ebp - 0x102]
push 0
push eax
call fcn.00511800
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x1314]
push eax
movups xmmword [ebp - 0x1314], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.00511800
movzx eax, byte [ebp - 0x1305]
push eax
movzx eax, byte [ebp - 0x1306]
push eax
movzx eax, byte [ebp - 0x1307]
push eax
movzx eax, byte [ebp - 0x1308]
push eax
movzx eax, byte [ebp - 0x1309]
push eax
movzx eax, byte [ebp - 0x130a]
push eax
movzx eax, byte [ebp - 0x130b]
push eax
movzx eax, byte [ebp - 0x130c]
push eax
movzx eax, word [ebp - 0x130e]
push eax
movzx eax, word [ebp - 0x1310]
push eax
push dword [ebp - 0x1314]
lea eax, [ebp - 0x304]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.00426890
lea eax, [ebp - 0x304]
add esp, 0x40
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430080
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.0051abd2
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x1304]
push eax
lea eax, [ebp - 0xb04]
push eax
call edi
push str..tmp
lea eax, [ebp - 0xb04]
push 0x400
push eax
call fcn.00521438
add esp, 0xc
lea eax, [ebp - 0xb04]
push eax
call ebx
test eax, eax
je 0x430105
inc esi
cmp esi, 0xa
jl 0x42ffd2
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xb04]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x430110
mov ecx, dword [ebp - 0x1318]
lea eax, [ebp - 0xb04]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.00409380
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d77de
mov esp, ebp
pop ebp
ret
Function at 0x430190
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004d7a20
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4301eb
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret 4
mov esi, dword [edi + 4]
test esi, esi
je 0x4302bc
mov ecx, dword [edi + 8]
test ecx, ecx
jle 0x4302bc
mov eax, ecx
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov dword [ebp - 0x1010], eax
and ecx, 0x80000fff
jns 0x430225
dec ecx
or ecx, 0xfffff000
inc ecx
xor edi, edi
mov dword [ebp - 0x100c], ecx
mov dword [ebp - 0x1008], 0
test eax, eax
jle 0x43028a
nop dword [eax + eax]
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00510d00
add esp, 0xc
lea eax, [ebp - 0x1008]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4302bc
inc edi
add esi, 0x1000
cmp edi, dword [ebp - 0x1010]
jl 0x430240
mov ecx, dword [ebp - 0x100c]
test ecx, ecx
jle 0x4302bc
push ecx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00510d00
add esp, 0xc
lea eax, [ebp - 0x1008]
push 0
push eax
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d77de
mov esp, ebp
pop ebp
ret 4
Function at 0x437d60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x437d81
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x437d99
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x437db1
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x437dc7
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x437ddf
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x456180
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x41
je 0x4561b0
cmp dword [ebp - 8], 0x43
je 0x4561ee
cmp dword [ebp - 8], 0x58
je 0x456224
jmp 0x456258
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x4561ec
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
call fcn.004566e0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.selectallkey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.0043cce0
jmp 0x456258
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x456222
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.copykey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.0043cce0
jmp 0x456258
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x456258
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.cutkey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.0043cce0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x45bcc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x594], 0
je 0x45bd6d
cmp dword [ebp + 8], 0x100
jne 0x45bd3d
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x45bd3d
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x59a]
test eax, eax
je 0x45bd16
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x45bd3d
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x59b]
test eax, eax
jne 0x45bd3d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x44], 0
je 0x45bd39
push 0
push 0
push 0
push str.return
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
call fcn.0043cce0
xor eax, eax
jmp 0x45bd72
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x594]
call fcn.00453700
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
jmp 0x45bd72
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45cbd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
je 0x45cbe3
cmp dword [ebp + 0xc], 0
jne 0x45cbe7
xor eax, eax
jmp 0x45cc56
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 6]
mov word [eax + 4], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 8]
mov word [eax + 6], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0xa]
mov word [eax + 8], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0xc]
mov word [eax + 0xa], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0xe]
mov word [eax + 0xc], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0xe], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x12], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x16], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x45cea0
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x45cebb
jmp 0x45cf8a
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45cece
jmp 0x45cf8a
push 0
push 0x80
push 3
push 0
push 1
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x45cefb
jmp 0x45cf8a
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x14], 0x16
jae 0x45cf1b
jmp 0x45cf8a
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x45cf43
jmp 0x45cf8a
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x45cf69
jmp 0x45cf8a
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 4]
call fcn.0045d000
mov dword [ebp - 8], eax
xor ecx, ecx
jne 0x45ceb0
cmp dword [ebp - 8], 0
jne 0x45cfd0
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x45cfb0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x45cfd0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
je 0x45cff0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xffffffff
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x469510
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5403c4
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5854b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
and ecx, 0xffff
movzx edx, cx
and edx, 0xff
movzx eax, dl
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 6
jl 0x4695b2
push 0x58c7d0
push 0x18
call fcn.004d7e35
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x469594
mov ecx, dword [ebp - 0x14]
call fcn.00469610
mov dword [ebp - 0x18], eax
jmp 0x46959b
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
jmp 0x4695fa
push 0x58c7d0
push 0x14
call fcn.004d7e35
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
je 0x4695de
mov ecx, dword [ebp - 0x1c]
call fcn.004694c0
mov dword [ebp - 0x20], eax
jmp 0x4695e5
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x46c310
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5406b0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x40]
call fcn.004546c0
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x2e
mov ecx, dword [ebp + 8]
call fcn.0046f400
add eax, 1
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00457dc0
mov byte [ebp - 4], 1
push str.jpeg
lea ecx, [ebp - 0x28]
call fcn.00457ae0
push eax
call fcn.0051ac59
add esp, 8
test eax, eax
je 0x46c3a0
push 0x5507d8
lea ecx, [ebp - 0x28]
call fcn.00457ae0
push eax
call fcn.0051ac59
add esp, 8
test eax, eax
jne 0x46c3af
push 0x550914
lea ecx, [ebp - 0x40]
call fcn.00454b50
jmp 0x46c42b
push 0x5507f4
lea ecx, [ebp - 0x28]
call fcn.00457ae0
push eax
call fcn.0051ac59
add esp, 8
test eax, eax
jne 0x46c3d8
push str.image_png
lea ecx, [ebp - 0x40]
call fcn.00454b50
jmp 0x46c42b
push 0x5507ec
lea ecx, [ebp - 0x28]
call fcn.00457ae0
push eax
call fcn.0051ac59
add esp, 8
test eax, eax
jne 0x46c401
push str.image_bmp
lea ecx, [ebp - 0x40]
call fcn.00454b50
jmp 0x46c42b
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00428550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00428550
mov eax, dword [ebp - 0x58]
jmp 0x46c4ba
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00457ae0
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0046c4e0
cmp eax, 0xffffffff
jne 0x46c46c
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00428550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00428550
mov eax, dword [ebp - 0x5c]
jmp 0x46c4ba
mov ecx, dword [ebp + 8]
call fcn.00457ae0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp + 8]
call fcn.00457ae0
push eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x10]
call fcn.0046dea0
mov dword [ebp - 0x60], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00428550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00428550
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret 4