joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4047d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
mov edi, ecx
push 0
push 0
push 0
mov eax, dword [edi + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [edi + 4]
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, eax
test ebx, ebx
jne 0x404884
mov ecx, dword [ebp - 8]
cmp ecx, dword [edi + 8]
jb 0x404851
push dword [edi + 4]
call fcn.00421c08
mov eax, dword [ebp - 8]
inc eax
push eax
mov dword [edi + 8], eax
call fcn.00421c0d
mov ecx, dword [edi + 8]
add esp, 8
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
mov dword [edi + 4], eax
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, eax
test ebx, ebx
jne 0x404884
mov edx, dword [edi + 4]
cmp byte [edx], 0
jne 0x404866
xor ecx, ecx
push ecx
push edx
mov ecx, esi
call fcn.00402bf0
jmp 0x404896
mov ecx, edx
lea edi, [ecx + 1]
jmp 0x404870
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404870
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00402bf0
jmp 0x404896
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x404893
mov esi, dword [esi]
mov byte [esi], 0
mov ecx, dword [ebp - 4]
xor eax, eax
test ebx, ebx
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.00549fe1
mov esp, ebp
pop ebp
ret 8

Function at 0x4051a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5683d1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5d4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x28
mov dword [edi], 0
call fcn.00421bdb
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x40525b
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [esi], vtable.CCmdLineParser.0
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
call fcn.00410fc0
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov byte [esi + 0x24], 0
test eax, eax
je 0x405246
push eax
mov ecx, esi
call fcn.004155e0
mov dword [edi], esi
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
mov dword [edi], 0
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 0x4056a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x568466
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5d4050]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
push edi
mov eax, dword [0x5d4050]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 8
push eax
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.004231e8
push 0
call fcn.0042d6f0
push 0xc
call fcn.00421bdb
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0xf0], 0
test eax, eax
je 0x405740
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.0042ee4d
mov esi, eax
jmp 0x405742
xor esi, esi
push 0x57c260
mov dword [esp + 0xf4], 0xffffffff
call fcn.0042cd81
push str.Local_AppWizard_Generated_Applications
mov ecx, edi
call fcn.00424013
push 0xc0
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0054d610
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0
push 0x66
call fcn.004343ae
mov dword [esp + 0xf0], 1
mov dword [esp + 0x1c], vtable.CAsusSetupDlg.0
call fcn.0043adc9
call fcn.0043adc9
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0xd8], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xf0], 2
mov ecx, eax
mov dword [edi + 0x20], eax
call fcn.0042f7e2
test esi, esi
je 0x4057dd
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
lea ecx, [esp + 0xcc]
mov dword [esp + 0xf0], 4
call fcn.00424dbb
mov byte [esp + 0xf0], 3
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc0], vtable.CBrush.0
call fcn.00405510
lea ecx, [esp + 0x1c]
mov dword [esp + 0xf0], 0xffffffff
call fcn.0042f2e3
xor eax, eax
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret

Function at 0x405bd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0042f477
Function at 0x406930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568578
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x28]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x4069e4
mov dword [ebp - 0x18], eax
lea eax, [edx + 0x110]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x1c]
push edx
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406a4a
cmp dword [ebp - 0x1c], 4
jne 0x406a4a
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x50]
add eax, 0x214
push eax
call fcn.00402420
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.0054b90b
add esp, 4
cmp dword [ebp - 0x18], eax
sete bl
cmp dword [ebp - 0x3c], 0x10
jb 0x4069de
push dword [ebp - 0x50]
call fcn.00421c08
add esp, 4
test bl, bl
je 0x406a4a
jmp 0x406a62
cmp eax, 1
jne 0x406a4e
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
mov ecx, dword [ecx]
add edx, 0x110
push eax
call fcn.004045e0
add esp, 4
test al, al
je 0x406a39
mov edx, dword [esi + 0x28]
lea ecx, [ebp - 0x38]
add edx, 0x214
call fcn.00403a60
test al, al
je 0x406a39
lea ecx, [ebp - 0x38]
call fcn.00402530
jmp 0x406a62
cmp dword [ebp - 0x24], 0x10
jb 0x406a4a
push dword [ebp - 0x38]
call fcn.00421c08
add esp, 4
xor al, al
jmp 0x406a64
push 0
push str.RegPathFinish
push str.Invalid_FinishRegistryValueType.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret 4
Function at 0x407130
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56864b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 0x18], 0
jne 0x407175
cmp dword [ebp + 0x30], 0
je 0x4072a4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call edi
mov esi, eax
jmp 0x407190
push 0x80
lea eax, [ebp - 0x90]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
cmp dword [ebp + 0x18], 0
je 0x4071ca
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x90]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x407259
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x20]
mov dword [ebp - 0x118], 0xf
push eax
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
call fcn.00402ac0
xor eax, eax
cmp dword [ebp - 0x11c], eax
mov byte [ebp - 4], 1
setne al
test eax, eax
sete bl
cmp dword [ebp - 0x118], 0x10
jb 0x407223
push dword [ebp - 0x12c]
call fcn.00421c08
add esp, 4
test bl, bl
jne 0x40726a
push 0x80
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0054b050
add esp, 8
test eax, eax
jne 0x40726a
push 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x407190
jmp 0x4072a4
test esi, esi
je 0x4072a4
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x4072a4
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4072a6
xor esi, esi
cmp dword [ebp + 0x1c], 0x10
jb 0x4072b7
push dword [ebp + 8]
call fcn.00421c08
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x4072da
push dword [ebp + 0x20]
call fcn.00421c08
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret 0x30
Function at 0x407300
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x28]
add eax, 0x328
push eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, eax
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x28]
sub eax, dword [esi + 8]
imul ecx, dword [ecx + 0x42c], 0x3e8
cmp eax, ecx
jae 0x407384
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, 0xffffffff
jne 0x407373
push 0x30
push str.MessageFinish
push str.GetMessage_error
push 0
call ebx
jmp 0x407330
cmp dword [ebp - 0x1c], edi
je 0x407384
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x407330
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00549fe1
mov esp, ebp
pop ebp
ret
Function at 0x407950
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5686fb
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 0x18], 0
jne 0x407995
cmp dword [ebp + 0x30], 0
je 0x407ac4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call edi
mov esi, eax
jmp 0x4079b0
push 0x80
lea eax, [ebp - 0x90]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
cmp dword [ebp + 0x18], 0
je 0x4079ea
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x90]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x407a79
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x20]
mov dword [ebp - 0x118], 0xf
push eax
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
call fcn.00402ac0
xor eax, eax
cmp dword [ebp - 0x11c], eax
mov byte [ebp - 4], 1
setne al
test eax, eax
sete bl
cmp dword [ebp - 0x118], 0x10
jb 0x407a43
push dword [ebp - 0x12c]
call fcn.00421c08
add esp, 4
test bl, bl
jne 0x407a8a
push 0x80
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0054b050
add esp, 8
test eax, eax
jne 0x407a8a
push 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x4079b0
jmp 0x407ac4
test esi, esi
je 0x407ac4
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x407ac4
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x407ac6
xor esi, esi
cmp dword [ebp + 0x1c], 0x10
jb 0x407ad7
push dword [ebp + 8]
call fcn.00421c08
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x407afa
push dword [ebp + 0x20]
call fcn.00421c08
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret 0x30
Function at 0x407c30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568752
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x244], 0
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov dword [ebp - 0x248], ebx
mov word [ebx], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [0x5e06d4]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x240], 0x22c
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [0x5e0940]
test eax, eax
je 0x407cc0
push 0
push 2
call eax
mov esi, eax
jmp 0x407cc2
xor esi, esi
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x407d30
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ebx, [ebx]
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp - 0x14]
je 0x407cfb
lea eax, [ebp - 0x240]
push eax
push esi
call edi
test eax, eax
jne 0x407ce0
jmp 0x407d30
cmp word [ebp - 0x21c], 0
jne 0x407d09
xor ecx, ecx
jmp 0x407d21
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407d12
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, ebx
push eax
call fcn.00403360
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret

Function at 0x407d60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x114
lea eax, [ebp - 0x118]
mov esi, ecx
push 0
push eax
call fcn.0054d610
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x407dbe
mov dword [esi], 4
mov eax, dword [esi]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x114]
cmp eax, 6
jne 0x407de0
mov dword [esi], 1
mov eax, dword [esi]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x407dfc
mov dword [esi], 0
mov eax, dword [esi]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x407e18
mov dword [esi], 3
mov eax, dword [esi]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret
mov ecx, 0xa
cmp ecx, eax
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
and eax, 0xfffffffe
add eax, 4
mov dword [esi], eax
pop esi
call fcn.00549fe1
mov esp, ebp
pop ebp
ret
Function at 0x408bf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568888
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp byte [edx], 0
jne 0x408c38
xor ecx, ecx
jmp 0x408c49
mov ecx, edx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408c40
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402bf0
push 0x208
mov dword [ebp - 4], 0
xor esi, esi
call fcn.00421c0d
add esp, 4
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edi, eax
mov edx, edi
cmovae ecx, dword [ebp - 0x28]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x408c78
push 0x44
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.0054d610
add esp, 0xc
mov dword [ebp - 0x70], 0x44
lea eax, [ebp - 0x80]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x80], xmm0
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 0x80]
test eax, eax
push dword [ebp - 0x7c]
cmovne esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x408cf0
push dword [ebp - 0x28]
call fcn.00421c08
add esp, 4
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.00549fe1
mov esp, ebp
pop ebp
ret 8
Function at 0x408d10
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5688b8
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
cmp byte [edx], 0
jne 0x408d5b
xor eax, eax
jmp 0x408d69
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408d60
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x30]
call fcn.00402bf0
push 0x208
mov dword [ebp - 4], 0
xor esi, esi
call fcn.00421c0d
add esp, 4
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
mov edi, eax
mov edx, edi
cmovae ecx, dword [ebp - 0x30]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x408d98
push 0x44
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.0054d610
add esp, 0xc
mov dword [ebp - 0x78], 0x44
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x18], esi
xorps xmm0, xmm0
mov word [ebp - 0x14], 0x1000
movdqu xmmword [ebp - 0xa0], xmm0
push eax
push 0x8b
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x84]
push eax
push 1
push 2
push 0
push 0
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2000
push 1
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov eax, dword [ebp - 0x80]
push eax
mov dword [ebp - 0x8c], 0x20
mov dword [ebp - 0x90], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x90]
push eax
push 0x19
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push 0
push dword [ebp - 0x7c]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push dword [ebp - 0x88]
push 0x430
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 0xa0]
test eax, eax
push dword [ebp - 0x9c]
cmovne esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x1c], 0x10
jb 0x408ecb
push dword [ebp - 0x30]
call fcn.00421c08
add esp, 4
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.00549fe1
mov esp, ebp
pop ebp
ret 8
Function at 0x4095c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568998
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x68]
push 0x3c
push 0
push eax
call fcn.0054d610
add esp, 0xc
mov dword [ebp - 0x6c], 0xf
cmp byte [esi], 0
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
jne 0x409617
xor ecx, ecx
jmp 0x409629
mov ecx, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409620
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x80]
call fcn.00402bf0
lea edx, [ebp - 0x80]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004086a0
cmp dword [ebp - 0x6c], 0x10
jb 0x409656
push dword [ebp - 0x80]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x68], 0x3c
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x64], 0x440
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x5c], str.explore
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [ebp - 0x18], 0x10
mov esi, dword [ebp - 0x30]
jb 0x4096af
push dword [ebp - 0x2c]
call fcn.00421c08
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret 4
Function at 0x40dd70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 8]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 1
cmp byte [eax + 0x711], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x40ddce
mov ecx, esi
call fcn.00417f70
mov ecx, dword [ebp - 0x24]
xor edx, edx
test al, al
cmovne ecx, edx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00549fe1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x410ff0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x569538
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5d4050]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x5d4050]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [edx + 0x10]
mov dword [esp + 0xc], 0
test ecx, ecx
je 0x4110a2
cmp dword [edx + 0x14], 0x10
jb 0x411040
mov eax, dword [edx]
jmp 0x411042
mov eax, edx
cmp byte [eax + ecx - 1], 0x5c
je 0x4110a2
push 0xffffffffffffffff
push 0
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00402ac0
push 0x5c
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
call fcn.00403d80
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00402480
cmp dword [esp + 0x24], 0x10
jb 0x4110bf
push dword [esp + 0x10]
call fcn.00421c08
add esp, 4
jmp 0x4110bf
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push edx
mov byte [esi], 0
call fcn.00402ac0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret