joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480a8e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004681a7
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x480ac6
xor eax, eax
jmp 0x480af2
cmp esi, dword [ebp - 4]
je 0x480aef
cmp dword [ebp + 0xc], 0
je 0x480aef
push dword [edi + 0x9c]
call fcn.0048069c
push dword [edi + 0x9c]
mov esi, eax
call fcn.00465be2
pop ecx
pop ecx
cmp esi, eax
je 0x480ac2
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x44c449
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5edee0]
jne 0x44c453
repz ret
jmp fcn.0044ea78

Function at 0x456108
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5edee0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00451982
and dword [ebp - 0x14], 0
cmp dword [0x5efc54], 0
mov dword [ebp - 0x18], eax
jne 0x4561bb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x456263
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x456263
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5efc54], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5efc58], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5efc5c], eax
call edi
push eax
call esi
mov dword [0x5efc64], eax
test eax, eax
je 0x4561bb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5efc60], eax
mov eax, dword [0x5efc60]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x456214
cmp dword [0x5efc64], ecx
je 0x456214
push eax
call esi
push dword [0x5efc64]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x456214
test ebx, ebx
je 0x456214
call edi
test eax, eax
je 0x45620b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45620b
test byte [ebp - 8], 1
jne 0x456214
or dword [ebp + 0x10], 0x200000
jmp 0x456247
mov eax, dword [0x5efc58]
cmp eax, dword [ebp - 0x18]
je 0x456247
push eax
call esi
test eax, eax
je 0x456247
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x456247
mov eax, dword [0x5efc5c]
cmp eax, dword [ebp - 0x18]
je 0x456247
push eax
call esi
test eax, eax
je 0x456247
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5efc54]
call esi
test eax, eax
je 0x456263
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x456265
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c449
leave
ret
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x437bb0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x42c
mov eax, dword [0x43c004]
xor eax, esp
mov dword [esp + 0x428], eax
cmp edi, 0x182
jne 0x437bdb
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x437c0f
cmp edi, 0x19f
jne 0x437c0f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push str.fihiresaduduvakuzafanenazewuduhe
push str.vabunayadedifecibu
push str.yosavagenisusoluselidesuli
push str.nibezitihomoyaradilocaxihenazigo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push esi
xor esi, esi
test edi, edi
jle 0x437c82
jmp 0x437c20
lea ecx, [esp + 8]
mov dword [esp + 4], 5
mov dword [esp + 8], 0
call fcn.00437ba0
mov eax, dword [esp + 8]
add eax, 0x46
mov dword [esp + 4], eax
sub dword [esp + 4], 0x46
mov cl, byte [esp + 4]
xor byte [ebx + esi], cl
cmp edi, 0xf
jne 0x437c7d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
inc esi
cmp esi, edi
jl 0x437c20
pop esi
cmp edi, 0x2d
jne 0x437c9c
mov dword [0x516500], 0xa62e7790
mov dword [0x516504], 0xffffffff
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00401000
add esp, 0x42c
ret
Function at 0x4010c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418d9a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x423458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.004063b5
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x401166
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.00406802
push 0x4224bc
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.00407fab
push edi
push esi
call fcn.0040609c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004067bc
mov esp, ebp
pop ebp
ret 4
Function at 0x405830
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00414c20
mov eax, dword [0x423458]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, ebx
mov dword [ebp - 0x100c], esi
mov eax, dword [ebx]
cmp dword [esi], 0xffffffff
jne 0x405872
call dword [eax + 0xc]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004067bc
mov esp, ebp
pop ebp
ret 4
push edi
call dword [eax + 4]
xor edi, edi
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x40590b
jmp 0x405890
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00409b90
add esp, 0xc
cmp esi, 0xfff
jae 0x4058b2
mov eax, esi
jmp 0x4058c4
mov ecx, esi
mov eax, 0xffe
sub ecx, edi
cmp ecx, 0xfff
cmovb eax, ecx
push 0
lea ecx, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
push ecx
push eax
lea eax, [ebp - 0x1004]
push eax
mov eax, dword [ebp - 0x100c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x1008]
mov eax, dword [ebx]
lea ecx, [ebp - 0x1004]
push ecx
mov ecx, ebx
call dword [eax + 8]
add edi, dword [ebp - 0x1008]
cmp edi, esi
jb 0x405890
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004067bc
mov esp, ebp
pop ebp
ret 4
Function at 0x405ba0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x15c
mov eax, dword [0x423458]
xor eax, esp
mov dword [esp + 0x158], eax
push esi
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x34], 7
movdqa xmmword [esp + 0x10], xmm0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
xor eax, eax
mov word [esp + 0x20], ax
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
mov dword [esp + 0x60], eax
mov word [esp + 0x50], ax
mov dword [esp + 0x78], eax
mov word [esp + 0x68], ax
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 7
mov dword [esp + 0x68], 7
mov dword [esp + 0x80], 7
mov dword [esp + 0x98], 7
call fcn.00405920
lea ecx, [esp + 0x98]
call fcn.00404f80
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x28]
push eax
call fcn.00403ea0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xbc]
call fcn.00403ea0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xd4]
call fcn.00403ea0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xec]
call fcn.00403ea0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x104]
call fcn.00403ea0
lea ecx, [esp + 0x98]
call fcn.00405150
lea ecx, [esp + 0x98]
call fcn.00405330
cmp dword [esp + 0xdc], 8
lea eax, [esp + 0xc8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmovae eax, dword [esp + 0xc8]
push eax
call esi
cmp dword [esp + 0xf4], 8
lea eax, [esp + 0xe0]
cmovae eax, dword [esp + 0xe0]
push eax
call esi
cmp dword [esp + 0x10c], 8
lea eax, [esp + 0xf8]
cmovae eax, dword [esp + 0xf8]
push eax
call esi
lea ecx, [esp + 0x110]
call fcn.004050d0
lea ecx, [esp + 0x98]
call fcn.00405010
lea ecx, [esp + 0x20]
call fcn.00405010
mov ecx, dword [esp + 0x15c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.004067bc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411f6e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x423458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409dc5
mov dword [ebp - 0x14], eax
cmp dword [0x425ba0], esi
jne 0x412061
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x411fee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x412141
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x412141
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x412141
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x425ba0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x425ba4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x425ba8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x425bb0], eax
test eax, eax
je 0x41205e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x425bac], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x412086
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x412079
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41209b
push 4
pop eax
jmp 0x412143
cmp dword [ebp - 0x14], esi
je 0x41209b
push dword [0x425ba0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x412080
mov eax, dword [0x425bac]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4120f9
cmp dword [0x425bb0], edi
je 0x4120f9
push eax
call ebx
push dword [0x425bb0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4120f9
test eax, eax
je 0x4120f9
call ecx
test eax, eax
je 0x4120ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4120ee
test byte [ebp - 8], 1
jne 0x4120f9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x412129
mov eax, dword [0x425ba4]
cmp eax, edi
je 0x412126
push eax
call ebx
test eax, eax
je 0x412126
call eax
mov esi, eax
test esi, esi
je 0x412126
mov eax, dword [0x425ba8]
cmp eax, edi
je 0x412126
push eax
call ebx
test eax, eax
je 0x412126
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x425ba0]
call ebx
test eax, eax
je 0x412141
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x412143
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004067bc
mov esp, ebp
pop ebp
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219

Function at 0x405640
Capabilities:
Encode data using xor

Disassembly:
invalid
push ebp
pop esp
in al, dx
nop
push ebp
or byte [ebx + 0x56], dl
push edi
test edx, edx
pop edx
pop edi
mov eax, dword [edx + 0x10]
mov ecx, dword [edi + 0x10]
mov edi, esp
or al, 0xf8
dec edx
cmp eax, dword [esi + 0x392074c0]
js 0x405664
cmp dword [eax + 4], edi
mov dword [0x74be7039], eax
or cl, byte [ebx - 0x7aff7438]
sal byte [ebp - 0x12], 0xeb
or al, 0x8b
sbb byte [ecx + 0x144a8b19], cl
mov dword [eax], ecx
mov dword [edx + 0x14], eax
mov esi, 0xc88b0a74
mov eax, dword [eax]
test eax, eax
jne 0x40565d
jmp 0x40567d
mov eax, dword [edx + 6]
lea ecx, [edx + 0x38]
test eax, eax
je 0x4056c8
cmp dword [eax + 4], edi
jne 0x405691
mov bh, 0x70
or byte [edi + ecx - 0x75], dh
js 0x40561f
mov edi, dword [eax - 0x75]
inc ebp
test eax, eax
jne 0x405687
pop edi
pop esi
pop ebx
pop ebp
mov ebx, 0x30d2000c
mov dword [edi], ecx
mov ecx, dword [edx + 0x3c]
mov dword [eax], ecx
mov dword [edx + 0x3c], eax
arpl word [edi], ax
pop ebx
pop ebp
ret 0xd80c
jne 0x4056da
push edi
sbb bh, byte [edx + 0xc]
push esi
push edi
push eax
jns 0x405733
call esi
call dword [edi - 1]
salc
add esp, 0x14
pop edi
les edx, [edi + ebx*2]
pop esi
mov dl, 0xc
salc
nop
sahf
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
retf
Function at 0x5ba370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x5ba38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x5e3074
push ecx
mov edi, eax
call fcn.005ce198
mov esi, eax
add esp, 8
test esi, esi
jne 0x5ba3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.005ce02e
push esi
call fcn.005cdfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x5bd850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x5bd8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x5e8720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x5bd8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.005ce1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x5bd8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x5e8720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x5bd92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.005cf082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x5bd957
mov word [eax], si
add eax, 2
push eax
call fcn.005cf030
add esp, 4
jmp 0x5bd959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x5bd8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x5bd8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x5bdff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x5be080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x5be0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x5e3458
push ecx
call fcn.005ce1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.005ce1e1
add esp, 0x10
jmp 0x5be0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.005ce20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.005cddff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.005be050
mov eax, dword [0x5e8728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x5be13b
push esi
call fcn.005bdfb0
add esp, 4
mov dword [0x5e8728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x5be14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.005bdff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x5c1440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x5c14b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x5c148e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5c1471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x5c147e
add edx, ecx
cmp ebx, edx
jb 0x5c148a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x5c1467
xor ecx, ecx
jmp 0x5c14a2
test eax, eax
jne 0x5c1492
xor ecx, ecx
jmp 0x5c14a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.005c13c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x5c18f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5c1921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x5c1946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x5c196e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x5c1993
push ecx
push esi
call fcn.005c14c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x5c2c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x5c2c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x5c2c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x5c2c38
add edx, eax
cmp ebx, edx
jb 0x5c2c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x5c2c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x5c2c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x5c2c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x5c2cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5c2c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x5c2ca8
add edx, ecx
cmp ebx, edx
jb 0x5c2cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x5c2c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x5c2f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.005cf145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x5c2ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x5c2fdd
lea eax, [esp + 0x18]
push eax
jmp 0x5c2fe2
push 0x5e8720
call fcn.005cefd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x5c2fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x5c2f40
push 4
push ecx
push eax
call fcn.005cf43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret