joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415940
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c939b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.0049ac40
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
cmp word [ebp - 0x220], ax
jne 0x4159c8
xor ecx, ecx
jmp 0x4159e0
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4159d1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.00407100
push 1
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00415b00
cmp eax, 0xffffffff
je 0x415a87
push eax
push 0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x238]
call fcn.004106c0
mov esi, eax
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x415a70
cmp dword [ebp - 0x224], 8
jb 0x415a47
push dword [ebp - 0x238]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [ebp - 0x224], 7
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
call fcn.00407020
cmp dword [ebp - 0x23c], 8
jb 0x415a87
push dword [ebp - 0x250]
call fcn.00473980
add esp, 4
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x224], 8
jb 0x415ab9
push dword [ebp - 0x238]
call fcn.00473980
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x416ea0
Capabilities:
Delete registry key
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7838
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.SoftwareXuanZhiLDPlayer9
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [ebp - 0x2c]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416f08
push str.LDPlayer9
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x1a
xor eax, eax
mov dword [ebp - 0x14], 7
push str.SoftwareXuanZhiLDPlayer9
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407100
push 0x11
push str._already_been_run
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00410c50
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push SysReAllocString
call esi
push str.SoftwareXuanZhiLDPlayer9
push SysReAllocString
call esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallLDPlayer9
push SysReAllocString
call esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallLDPlayer9
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp dword [ebp - 0x14], 8
jb 0x416f89
push dword [ebp - 0x28]
call fcn.00473980
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x419ea0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c9ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x50c4d8]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x50c4d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040d540
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.00419dc0
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x419f1d
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.004973a0
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x419f46
push dword [esp + 0x10]
call fcn.00473980
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004921c3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41aad0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c9c8b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x50c4d8]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
mov eax, dword [0x50c4d8]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x5151b8]
lea ecx, [edi + 0x2c]
push 0
push dword [eax + 0x6c]
call fcn.00450ad0
push 0x100
lea eax, [esp + 0x150]
push 0
push eax
call fcn.0049ac40
add esp, 0xc
lea eax, [esp + 0x14c]
push 0x80
push str.uninstall_window
push 0x80
push eax
push 0
call fcn.00492c7b
add esp, 0x14
lea eax, [esp + 0x14c]
push eax
call fcn.0044ac70
mov edx, eax
add esp, 4
test edx, edx
jne 0x41ab91
lea eax, [esp + 0x14c]
push eax
push eax
call fcn.00449e60
lea eax, [esp + 0x154]
push eax
call fcn.0044ac70
add esp, 0xc
mov edx, eax
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp word [edx], ax
je 0x41abc7
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x10], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41abb6
sub eax, dword [esp + 0x10]
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00407100
mov dword [esp + 0x260], 0
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 8
mov ecx, edi
cmovae eax, dword [esp + 0x14]
push eax
call fcn.00447690
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push str.titleLabel
lea ecx, [edi + 0x2c]
call fcn.0044a190
cmp dword [esp + 0x28], 8
lea ecx, [esp + 0x14]
cmovae ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x3c]
push str.remoteOption
lea ecx, [edi + 0x2c]
call fcn.0044a190
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xe0]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x41ac60
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push dword [esp + 0x30]
push str.windows_os_dwMajorVersion___d
push 0x6a7
push str.isWin7OS
call fcn.00420530
add esp, 0x10
cmp dword [esp + 0x30], 6
jb 0x41ac9b
push 1
lea ecx, [edi + 0x2c]
call fcn.0044f660
push str.root_shadow.png
lea ecx, [edi + 0x2c]
call fcn.0044f7c0
jmp 0x41ace0
sub esp, 8
mov ecx, esp
push 0x1a4
push 0x28a
call fcn.00446210
mov ecx, edi
call fcn.00447690
mov ecx, eax
call fcn.0041db70
add esp, 8
lea ecx, [edi + 0x2c]
push str.rootContainer
call fcn.0044a190
sub esp, 0x10
xorps xmm0, xmm0
mov ecx, esp
mov edx, dword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, eax
call dword [edx + 0x68]
cmp dword [esp + 0x28], 8
jb 0x41acf3
push dword [esp + 0x14]
call fcn.00473980
add esp, 4
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x41c1d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c9f03
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x50c4d8]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push esi
mov eax, dword [0x50c4d8]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
mov byte [esp + 0x74], al
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
lea ecx, [esp + 0xc]
push 0x2f
push str.Content_Type:_application_x_www_form_urlencoded
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], eax
mov word [esp + 0x14], ax
call fcn.00407100
push ecx
lea eax, [esp + 0x10]
mov byte [esp + 0x94], 1
push eax
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x30]
call fcn.00407ae0
mov byte [esp + 0x90], 0
mov bl, al
cmp dword [esp + 0x20], 8
jb 0x41c2b4
push dword [esp + 0xc]
call fcn.00473980
add esp, 4
test bl, bl
je 0x41c2c1
lea ecx, [esp + 0x24]
call fcn.00407c60
lea ecx, [esp + 0x24]
call fcn.0040b000
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x41fe20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca660
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x50c4d8]
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, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov edi, dword [ebp + 0xc]
xor eax, eax
push eax
push 0x4e9c80
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407100
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 5
xor eax, eax
mov dword [ebp - 0x14], 7
push str._path
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407100
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00408b30
cmp edi, eax
je 0x41febf
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00407870
cmp dword [ebp - 0x14], 8
jb 0x41fed0
push dword [ebp - 0x28]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x41fef5
push dword [ebp - 0x40]
call fcn.00473980
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x41fefd
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
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.004921c3
mov esp, ebp
pop ebp
ret 8

Function at 0x423860
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x42389d
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x423a70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x4238af
mov dword [ebp - 8], 1
jmp 0x4238b6
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x4246b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca95b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x430], ecx
mov eax, dword [ebp - 0x430]
cmp dword [eax], 0
jne 0x424752
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.00422690
add esp, 8
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x434], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x434]
call fcn.00407290
push eax
push 0x4ea378
push 0x3e
push 0x4ea3b8
call fcn.00420530
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00407ab0
or eax, 0xffffffff
jmp 0x4247d4
mov ecx, dword [ebp + 8]
call fcn.004070f0
mov dword [ebp - 0x43c], 0x400
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x440]
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.004080b0
push eax
mov edx, dword [ebp - 0x430]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x4247b3
lea ecx, [ebp - 0x410]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00411810
jmp 0x4247ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4ea3d4
push 0x51
push str.utility::RegKey::RegRead
call fcn.00420530
add esp, 0x10
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret 8

Function at 0x424850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x80c], ecx
mov eax, dword [ebp - 0x80c]
cmp dword [eax], 0
jne 0x42489c
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
push 0x4ea734
push 0xd9
push 0x4ea774
call fcn.00420530
add esp, 0x10
or eax, 0xffffffff
jmp 0x424921
mov ecx, dword [ebp + 8]
call fcn.004070f0
mov dword [ebp - 0x810], 0x800
lea edx, [ebp - 0x810]
push edx
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x814]
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
mov edx, dword [ebp - 0x80c]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x808], eax
cmp dword [ebp - 0x808], 0
jne 0x4248fd
lea ecx, [ebp - 0x804]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004055c0
jmp 0x42491b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.read_reg_lastError___d
push 0xec
push str.utility::RegKeyEx::RegRead
call fcn.00420530
add esp, 0x10
mov eax, dword [ebp - 0x808]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret 8
Function at 0x4287d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x118
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0049ac40
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x428835
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x428842
mov al, 1
jmp 0x428844
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret

Function at 0x428860
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cae18
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4e9fbf
lea ecx, [ebp - 0x28]
call fcn.0040d790
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x34
push 0
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x428992
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
jne 0x4288e5
mov eax, dword [ebp - 0x34]
push eax
call fcn.004448e9
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
jmp 0x4288c8
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x428980
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x4ebcb4
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x428980
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push str._d._d._d._d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049895b
add esp, 0x18
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00411810
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00473980
add esp, 4
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00423390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d7f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x428bf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x14]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00407290
push eax
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
push str.shell_filename____s___param____s___runas___d__show___d
push 0xc
push 0x4ec11c
call fcn.00420530
add esp, 0x1c
call fcn.004287d0
movzx edx, al
test edx, edx
je 0x428c43
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x428c43
mov dword [ebp - 8], 0x4ec134
jmp 0x428c4a
mov dword [ebp - 8], 0x4ec1b8
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x428c5b
mov dword [ebp - 4], 5
jmp 0x428c62
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00407290
push eax
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_ret_._lastError___d
push 0x18
push 0x4ec200
call fcn.00420530
add esp, 0x10
cmp dword [ebp - 0x10], 0x20
jg 0x428ccf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4ec218
push 0x1b
push str.utility::process::shell
call fcn.00420530
add esp, 0x10
xor al, al
jmp 0x428cd1
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x428df0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cae58
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00407290
push eax
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
push str.createProcess_filename____s___param____s___show___d
push 0xed
push 0x4ec9f8
call fcn.00420530
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
mov edx, 0x4eca18
lea ecx, [ebp - 0x58]
call fcn.00411400
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0
push 0x4eca14
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00411150
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00407ab0
mov ecx, dword [ebp + 0xc]
call fcn.004070f0
movzx edx, al
test edx, edx
jne 0x428ed6
mov eax, dword [ebp + 0xc]
push eax
mov edx, 0x4eca1c
lea ecx, [ebp - 0x40]
call fcn.00411400
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040c880
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00407ab0
mov dword [ebp - 0xc8], 0
push 0x40
push 0
lea eax, [ebp - 0xc4]
push eax
call fcn.0049ac40
add esp, 0xc
mov dword [ebp - 0xc8], 0x44
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x9c], 1
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x428f36
mov dword [ebp - 0x5c], 5
jmp 0x428f3d
mov dword [ebp - 0x5c], 0
mov dx, word [ebp - 0x5c]
mov word [ebp - 0x98], dx
xor eax, eax
mov word [ebp - 0x96], ax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x7c], 0
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00407290
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x428fd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4eca20
push 0x100
push str.utility::process::create
call fcn.00420530
add esp, 0x10
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407ab0
mov eax, dword [ebp - 0x60]
jmp 0x429008
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x428fea
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x74]
mov dword [edx], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407ab0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x430790
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x518520], ecx
inc eax
cmp eax, 0x100
jb 0x430793
cmp eax, 0x800
jae 0x430863
nop
mov edx, dword [eax*4 + 0x518120]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x518520]
mov dword [eax*4 + 0x518520], edx
inc eax
cmp eax, 0x800
jb 0x430840
mov dword [0x51a520], 0x4323d0
mov dword [0x518508], 0x4323d0
mov dword [0x51a524], 0x432470
call fcn.00432680
mov ecx, dword [0x518508]
test eax, eax
mov edx, 0x432470
cmove ecx, edx
mov dword [0x518508], ecx
pop ecx
ret