joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55be80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66e94d
mov eax, dword fs:[0]
push eax
mov eax, 0x8c4c
call fcn.005c8950
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c44], ecx
mov eax, dword [ebp - 0x8c44]
cmp dword [eax + 0x3b0], 0
je 0x55bec9
jmp 0x55c032
mov ecx, dword [ebp - 0x8c44]
mov dword [ecx + 0x3b0], 1
mov edx, 1
test edx, edx
je 0x55c022
lea ecx, [ebp - 0x445c]
call fcn.0051e1d0
push 1
lea eax, [ebp - 0x445c]
push eax
call fcn.0046a540
mov ecx, eax
call fcn.0046ca50
movzx ecx, al
test ecx, ecx
jne 0x55bf12
jmp 0x55c022
cmp dword [ebp - 0x2c0], 0
jne 0x55bf1d
jmp 0x55bed9
lea edx, [ebp - 0x445c]
push edx
lea ecx, [ebp - 0x8c40]
call fcn.0051d430
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x8c44]
mov ecx, dword [eax + 0x248]
push ecx
lea ecx, [ebp - 0x8c40]
call fcn.00519ab0
cmp dword [ebp - 0x2bc], 1
jne 0x55bf86
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x8c44]
add ecx, 0x23c
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c40]
call fcn.0051d4c0
jmp 0x55c022
cmp dword [ebp - 0x2bc], 0xffffffff
jne 0x55c00b
call fcn.0058d0e0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c4c], esp
push 0x697b5c
call fcn.00447470
mov dword [ebp - 0x8c48], eax
mov edx, dword [ebp - 0x8c48]
mov dword [ebp - 0x8c50], edx
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c54], esp
push 0x7156cc
call fcn.004472f0
mov dword [ebp - 0x8c58], eax
mov byte [ebp - 4], 0
call fcn.00456360
add esp, 0x34
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c40]
call fcn.0051d4c0
jmp 0x55c022
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c40]
call fcn.0051d4c0
jmp 0x55bed9
mov eax, dword [ebp - 0x8c44]
mov dword [eax + 0x3b0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x58e340
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67350c
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005e0c30
add esp, 0xc
push 0
push 0x23
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x58e3c2
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x58e42e
push 0x699678
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00447470
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x284], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x284]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00444aa0
add esp, 0xc
mov edx, dword [ebp - 0x27c]
or edx, 1
mov dword [ebp - 0x27c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0043cfa0
mov eax, dword [ebp + 8]
jmp 0x58e551
lea eax, [ebp - 0x218]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x58e4b0
push str.TenGameTemp
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00447470
mov dword [ebp - 0x288], eax
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x28c], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x28c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00444aa0
add esp, 0xc
mov edx, dword [ebp - 0x27c]
or edx, 1
mov dword [ebp - 0x27c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.0043cfa0
mov eax, dword [ebp + 8]
jmp 0x58e551
push 0x6996c0
push 0
lea eax, [ebp - 0x278]
push eax
call fcn.004510d0
add esp, 8
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x294], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x294]
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.00452f60
add esp, 8
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x29c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x29c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00444aa0
add esp, 0xc
mov ecx, dword [ebp - 0x27c]
or ecx, 1
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.0043cfa0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x59b370
Capabilities:
Get common file path
Print debug messages
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x675826
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x715990], 0
jne 0x59b3b0
mov dword [ebp - 0x268], 1
jmp 0x59b3ba
mov dword [ebp - 0x268], 0
mov al, byte [ebp - 0x268]
mov byte [ebp - 0x261], al
cmp dword [0x715990], 0
jne 0x59b505
mov ecx, dword [0x709ff4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.005e0c30
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x230]
call fcn.00447470
mov dword [ebp - 4], 0
push str.mbcef73mb.dll
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.004606e0
add esp, 0xc
mov byte [ebp - 4], 1
push str.mbcef73
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.004606e0
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x260]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x248]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x248]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 8
push 0
lea ecx, [ebp - 0x260]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x715990], eax
lea ecx, [ebp - 0x230]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x248]
call fcn.0043cfa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0043cfa0
push str.mbInit
mov ecx, dword [0x715990]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
jne 0x59b52a
xor al, al
jmp 0x59b546
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x26c]
movzx eax, byte [ebp - 0x261]
test eax, eax
je 0x59b544
call fcn.00598d70
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x5b03f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
push str.Unspecified_error.
call fcn.005a6a10
add esp, 4
push 0x44
push 0
lea eax, [ebp - 0x268]
push eax
call fcn.005e0c30
add esp, 0xc
mov dword [ebp - 0x268], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.005e0c30
add esp, 0xc
mov dx, word [0x68b4c4]
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.005e0c30
add esp, 0xc
push 0x694710
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00613a16
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x210]
add ecx, 0x9c
call fcn.005a9710
push eax
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.00613a16
add esp, 0xc
push 0x6acd14
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.00613a16
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.00613a16
add esp, 0xc
push 0x694710
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.00613a16
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x268]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x210]
add ecx, 0x9c
call fcn.005b83a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x220], 0
je 0x5b0554
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x214], 0
jne 0x5b0571
push str.Error_creating_CrashSender_process.
call fcn.005a6a10
add esp, 4
mov eax, 1
jmp 0x5b05c5
cmp dword [ebp + 0xc], 0
je 0x5b058c
push 0xffffffffffffffff
mov edx, dword [ebp - 0x210]
mov eax, dword [edx + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x10], 0
je 0x5b059f
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x224]
mov dword [ecx], edx
jmp 0x5b05b6
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x224], 0
push str.Success.
call fcn.005a6a10
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5c0de0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677143
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
call fcn.005c2630
push 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x5c0e3e
mov eax, 1
jmp 0x5c0e8c
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x228]
call fcn.005a8d20
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.005b7fb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.005a8f60
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x5c17d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6772f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x70a0c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.005a8dc0
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp + 0xc]
call fcn.005b83a0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5c18e9
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0
lea ecx, [ebp + 0xc]
call fcn.005b83a0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x5c18e9
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x69a150
mov edx, dword [ebp - 0x24]
push edx
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
shr ecx, 0x10
and ecx, 0xffff
mov word [ebp - 0x1c], cx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x10]
and eax, 0xffff
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
shr edx, 0x10
and edx, 0xffff
mov word [ebp - 0x14], dx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x14]
and ecx, 0xffff
mov word [ebp - 0x10], cx
movzx edx, word [ebp - 0x10]
push edx
movzx eax, word [ebp - 0x14]
push eax
movzx ecx, word [ebp - 0x18]
push ecx
movzx edx, word [ebp - 0x1c]
push edx
push str._u._u._u._u
lea eax, [ebp - 0x28]
push eax
call fcn.005b9480
add esp, 0x18
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.005b7990
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.005a8f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.005a8f60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5c1940
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67732b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x70a0c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005a8dc0
mov byte [ebp - 4], 1
push 0
push 0x3a
lea ecx, [ebp + 8]
call fcn.005c2670
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x5c1996
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x5c
lea ecx, [ebp + 8]
call fcn.005c2670
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x5c19c1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.005b7fb0
jmp 0x5c19f6
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp + 8]
call fcn.005b9bb0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.005b7fb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.005a8f60
push 0
lea ecx, [ebp - 0x14]
call fcn.005b83a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x5c1a44
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x5c1a44
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005a8f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.005a8f60
mov eax, dword [ebp - 0x2c]
jmp 0x5c1ac0
lea ecx, [ebp - 0x14]
call fcn.005b83a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
and edx, 0x10
jne 0x5c1a85
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005a8f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.005a8f60
mov eax, dword [ebp - 0x34]
jmp 0x5c1ac0
cmp dword [ebp - 0x10], 0xffffffff
jne 0x5c1a8d
jmp 0x5c1a9b
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x5c199c
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005a8f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.005a8f60
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5c2750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 0x10], 0
je 0x5c2768
mov dword [ebp - 8], 1
jmp 0x5c276f
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
xor ecx, ecx
jne 0x5c2775
cmp dword [ebp - 0x14], 0
jne 0x5c2789
push 0x80004005
call fcn.004642e0
xor edx, edx
jne 0x5c2759
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5c28d0
cmp dword [ebp + 8], 0
je 0x5c28d0
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jbe 0x5c28bf
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jbe 0x5c28a5
cmp dword [ebp - 4], 2
jbe 0x5c27f6
cmp dword [ebp - 4], 7
je 0x5c283b
jmp 0x5c28a5
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x5c281b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2 - 2]
test edx, edx
je 0x5c2836
mov eax, 2
imul ecx, eax, 0
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx], dx
mov eax, 0xd
jmp 0x5c28d3
jmp 0x5c28bd
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x5c288b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
cmp eax, 1
jb 0x5c288b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shr edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
jne 0x5c288b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
cmp eax, 1
jbe 0x5c28a3
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shr edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 4]
test ecx, ecx
je 0x5c28a3
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + eax], cx
mov eax, 0xd
jmp 0x5c28d3
jmp 0x5c28bd
mov eax, 2
imul ecx, eax, 0
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx], dx
mov eax, 0xd
jmp 0x5c28d3
jmp 0x5c28d0
mov ecx, 2
imul edx, ecx, 0
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + edx], ax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5c3620
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6774b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x70a0c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.005a8dc0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.005c55e0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov dword [ebp - 4], 0xffffffff
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 0x5c38e0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor edx, edx
div dword [ecx + 8]
mov eax, dword [ebp + 8]
sub eax, edx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
push 6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x18
call fcn.005c5760
mov edx, dword [ebp - 4]
mov dword [eax], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x623111
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00622d16

Function at 0x62311c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00622e97

Function at 0x62c645
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0062be29

Function at 0x62c650
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0062c064

Function at 0x62caa4
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0062c82b

Function at 0x637694
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x53210ee9
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x5321d90
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219