joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dcb30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b50f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x592174]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.004185b0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.004185b0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.004185b0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.004185b0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.004185b0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004185b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4dcbc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b50f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x592174]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.004185b0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.004185b0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.004185b0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.004185b0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.004185b0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004185b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4dfef0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b99f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x592174]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0041c4e0
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.0041c4e0
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.0041c4e0
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.0041c4e0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.0041c4e0
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.0041c4e0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4ec970
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x592174]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.0050d580
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4ec9d7
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x4ec9c0
jne 0x4ec9d7
cmp dword [esp + 8], 0
jbe 0x4ec9d7
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0050b067
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.0050b067
add esp, 0x118
ret

Function at 0x4ec9f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x592174]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.0050d580
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4eca45
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0050b067
add esp, 0x118
ret
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
setae al
xor ecx, esp
call fcn.0050b067
add esp, 0x118
ret
Function at 0x4ed740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d12c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x592174]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
lea esi, [edi + 0x10]
mov byte [edi + 0xc], 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004f4ef0
mov dword [esi], eax
mov byte [ebp - 4], 4
xor eax, eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov byte [ebp - 4], 5
mov dword [edi + 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ef9d0
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
test edi, edi
je 0x4efa35
cmp dword [edi], 0
mov esi, dword [esi]
je 0x4efa15
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4efa2b
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4efa2b
push 0
push dword [edi]
push 0
push 0
push dword [esp + 0x1c]
push esi
call eax
pop edi
pop esi
ret 4
cmp dword [edi + 4], 0
je 0x4efa2b
push dword [esp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
cmp byte [0x5948f4], 0
jne 0x4efa75
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4efa67
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5948f0], eax
mov byte [0x5948f4], 1
jmp 0x4efa7a
mov eax, dword [0x5948f0]
mov byte [0x5948f4], 1
jmp 0x4efa7a
mov eax, dword [0x5948f0]
test eax, eax
je 0x4efa90
push 0
push dword [esi + 4]
push dword [esp + 0x14]
push dword [esi]
call eax
pop edi
pop esi
ret 4
push dword [esp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
Function at 0x4f0d00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54dbe3
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x234]
mov dword [ebp - 0x254], esi
push eax
mov dword [ebp - 0x250], 0
call fcn.0052ca20
mov dword [ebp - 4], 1
push str.config.ini
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0041ead0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.004184c0
lea eax, [ebp - 0x24c]
push eax
call fcn.0041eee0
add esp, 4
test al, al
jne 0x4f0dab
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x250], 1
jmp 0x4f0ee1
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0050d580
add esp, 0xc
lea eax, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
cmovae eax, dword [ebp - 0x24c]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x565cb0
push str.FailedIncrementVersion
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
cmp word [ebp - 0x21c], ax
jne 0x4f0e21
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x250], 1
mov byte [ebp - 4], al
jmp 0x4f0ee5
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f0e60
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00418820
mov byte [ebp - 4], 4
xor eax, eax
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x250], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.004184c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.004184c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050b067
mov esp, ebp
pop ebp
ret 4
Function at 0x4f24e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x54ded0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x410]
mov eax, dword [ebp + 0x414]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x4f2588
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x1c], eax
test edi, edi
jne 0x4f2588
call fcn.004ef010
mov esi, eax
jmp 0x4f2657
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4f25a5
call fcn.004ef010
jmp 0x4f264a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x4f25c0
call fcn.004ef010
jmp 0x4f264a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x14], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4f25db
mov esi, 0x8007000e
jmp 0x4f264c
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp]
call fcn.004eee40
mov dword [ebp - 4], 1
jmp 0x4f2607
mov eax, dword [ebp]
test eax, eax
jne 0x4f2615
mov esi, 0x8007000e
jmp 0x4f264c
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4f2630
call fcn.004ef010
jmp 0x4f264a
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x41c]
push dword [ebp]
lea ecx, [ebp - 0x24]
call fcn.004f2350
mov esi, eax
test edi, edi
je 0x4f2657
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x4f266b
lea ecx, [ebp]
call fcn.004f0cf0
mov dword [ebp - 4], 0xffffffff
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 + 0x404]
xor ecx, ebp
call fcn.0050b067
lea esp, [ebp + 0x408]
pop ebp
ret 0x10
Function at 0x4faca0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f553
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x592174]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, word [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x554338
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4fae0b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4fae0b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4fae0b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4fae0b
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4fae0b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4fae04
push ebx
push esi
push eax
call fcn.0050ca80
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4fae04
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4fae04
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4fadbb
mov dword [esi], vtable.Gdiplus::Image.0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x10], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov byte [ebp - 4], 0
jmp 0x4fadbd
xor esi, esi
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
je 0x4fadf0
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
je 0x4fadf0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fd910
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x94
push 0xffffffffffffffff
push 0x54fcd8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp + 0x90], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xb
xor eax, eax
mov dword [ebp + 0x88], 0
mov dword [ebp + 0x8c], 0
lea ecx, [ebp + 0x78]
push str.restart.hzt
mov dword [ebp + 0x88], 0
mov dword [ebp + 0x8c], 7
mov word [ebp + 0x78], ax
call fcn.00418820
mov dword [ebp - 4], 0
lea eax, [ebp + 0x78]
push eax
lea eax, [edi + 4]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0041e570
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x78]
call fcn.004184c0
lea eax, [ebp + 0x18]
push eax
call fcn.0041edb0
add esp, 4
test al, al
je 0x4fdb12
lea eax, [ebp + 0x18]
mov ecx, edi
push eax
lea eax, [ebp]
push eax
call fcn.004fd140
mov byte [ebp - 4], 3
lea eax, [ebp + 0x18]
push eax
call fcn.0041f1d0
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x4fdb06
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push 0x3b
push eax
call fcn.0042c390
mov esi, dword [ebp - 0x18]
add esp, 0xc
cmp esi, dword [ebp - 0x14]
je 0x4fdafa
push str.EXIT
push esi
call fcn.0041c700
add esp, 8
test al, al
jne 0x4fdafa
push 0x555074
push esi
call fcn.0041c700
add esp, 8
test al, al
je 0x4fdafa
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004dbfe0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sub eax, 0x48
cmp eax, 0x18
jae 0x4fdafa
push ecx
lea ecx, [ebp + 0x30]
call fcn.0041c4e0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x48]
mov eax, dword [ebp - 0x18]
add eax, 0x18
push eax
call fcn.0041c4e0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x60]
mov eax, dword [ebp - 0x18]
add eax, 0x30
push eax
call fcn.0041c4e0
mov byte [ebp - 4], 7
lea edx, [ebp + 0x48]
cmp dword [ebp + 0x5c], 8
lea ecx, [ebp + 0x60]
push 1
cmovae edx, dword [ebp + 0x48]
lea eax, [ebp + 0x30]
cmp dword [ebp + 0x74], 8
push edx
cmovae ecx, dword [ebp + 0x60]
cmp dword [ebp + 0x44], 8
push ecx
cmovae eax, dword [ebp + 0x30]
push eax
push str.open
push dword [edi + 0x1c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x60]
call fcn.004184c0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x48]
call fcn.004184c0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x30]
call fcn.004184c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00419ad0
mov byte [ebp - 4], 2
lea ecx, [ebp]
call fcn.004184c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.004184c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.0050b067
lea esp, [ebp + 0x94]
pop ebp
ret
Function at 0x4fdb50
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x4c]
sub esp, 0x4c
push 0xffffffffffffffff
push 0x54fd20
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp + 0x48], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x54]
push esi
call fcn.0041edb0
add esp, 4
test al, al
jne 0x4fdb99
xor al, al
jmp 0x4fdd60
call fcn.004ecb50
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4fdba8
mov ecx, dword [esi]
push ecx
mov ecx, eax
call fcn.004ecb40
test al, al
je 0x4fdb92
push 0
lea ecx, [ebp - 0xf]
call fcn.00504bf0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xe]
push eax
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
push esi
lea eax, [ebp]
mov byte [ebp - 0xe], 0
push eax
mov ecx, edi
call fcn.004fcb00
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
mov byte [ebp - 4], 2
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp]
push eax
call fcn.00420a30
xor eax, eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
add esp, 8
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
mov byte [ebp - 4], 3
cmp byte [ebp - 0xd], al
je 0x4fdc55
push 3
push 0x555094
lea ecx, [ebp + 0x30]
call fcn.00418820
cmp byte [ebp - 0xe], 0
je 0x4fdc7f
cmp dword [ebp + 0x40], 0
je 0x4fdc70
push 1
push 0x567fa8
lea ecx, [ebp + 0x30]
call fcn.0041c690
push 5
push str._NCRC
lea ecx, [ebp + 0x30]
call fcn.0041c690
mov eax, dword [edi + 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0x540
call fcn.004ec9f0
test al, al
mov dword [ebp - 0x30], 1
mov ecx, str.runas
lea eax, [ebp]
cmove ecx, dword [ebp - 0x40]
cmp dword [ebp + 0x14], 8
mov dword [ebp - 0x40], ecx
cmovae eax, dword [ebp]
cmp dword [ebp + 0x2c], 8
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x18]
cmovae eax, dword [ebp + 0x18]
cmp dword [ebp + 0x44], 8
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x30]
cmovae eax, dword [ebp + 0x30]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4fdd09
xor bl, bl
jmp 0x4fdd2b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4fdd29
cmp byte [ebp + 0x58], 0
je 0x4fdd22
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x30]
call fcn.004184c0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.004184c0
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004184c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf]
call fcn.00504c10
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x48]
xor ecx, ebp
call fcn.0050b067
lea esp, [ebp + 0x4c]
pop ebp
ret 8
Function at 0x501ce0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0050d580
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x501d5f
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x210], ecx
cmp dword [ebp - 0x210], 0x208
jae 0x501d46
jmp 0x501d4b
call fcn.0050b7fe
xor edx, edx
mov eax, dword [ebp - 0x210]
mov word [ebp + eax - 0x20c], dx
xor al, al
jmp 0x501d70
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00418460
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050b067
mov esp, ebp
pop ebp
ret 8

Function at 0x502450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550698
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x34]
call fcn.00418590
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp - 0x70]
call fcn.00501ce0
movzx ecx, al
test ecx, ecx
jne 0x5024ba
mov byte [ebp - 0x65], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004184c0
mov al, byte [ebp - 0x65]
jmp 0x5025be
mov edx, 0x7f51
mov word [ebp - 0x1c], dx
mov eax, 0x5740
mov word [ebp - 0x1a], ax
mov ecx, 0x5bfc
mov word [ebp - 0x18], cx
mov edx, 0x822a
mov word [ebp - 0x16], dx
xor eax, eax
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00418550
mov byte [ebp - 4], 1
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0041e570
add esp, 0xc
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x34]
call fcn.004184d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004184c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004184c0
push 0x568688
lea ecx, [ebp - 0x34]
call fcn.0041c4b0
lea ecx, [ebp - 0x34]
push ecx
call fcn.0041eee0
add esp, 4
movzx edx, al
test edx, edx
jne 0x502571
mov byte [ebp - 0x66], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004184c0
mov al, byte [ebp - 0x66]
jmp 0x5025be
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.004183c0
push eax
push 0x568df8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x20
jle 0x50259f
mov dword [ebp - 0x6c], 1
jmp 0x5025a6
mov dword [ebp - 0x6c], 0
mov al, byte [ebp - 0x6c]
mov byte [ebp - 0x67], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004184c0
mov al, byte [ebp - 0x67]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050b067
mov esp, ebp
pop ebp
ret 4