joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4116e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x411702
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411709
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4116f8
mov eax, 1
add ebx, ebx
jne 0x41171b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411710
jne 0x41172c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411710
xor ecx, ecx
sub eax, 3
jb 0x411740
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4117b2
mov ebp, eax
add ebx, ebx
jne 0x41174b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411758
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41177c
inc ecx
add ebx, ebx
jne 0x411768
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41175d
jne 0x411779
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41175d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41179c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41178d
jmp 0x4116fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41179c
add edi, ecx
jmp 0x4116fe
pop esi
mov edi, esi
mov ecx, 0x11
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4117ba
cmp byte [edi], 1
jne 0x4117ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4117bf
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x411837
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16bf8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16c34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4117ec
mov ecx, edi
jns 0x41181b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16c38]
or eax, eax
je 0x411831
mov dword [ebx], eax
add ebx, 4
jmp 0x411809
call dword [esi + 0x16c48]
mov ebp, dword [esi + 0x16c3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41186b
sub esp, 0xffffff80
jmp 0x40125c
Function at 0x43c500
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x43ca20
test edx, edx
je 0x43ca20
call fcn.0043c517
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x43ca60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.0043c500
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x43cad1
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x43ca96
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x43d3e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x43d464
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x43d43c
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x43d444
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.0043d469

Function at 0x448610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9800
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x658bb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x448674
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x448685
push 0x48
push esi
call fcn.005c6577
add esp, 8
mov eax, esi
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 0x448c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9921
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x658bb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
push 0
mov dword [ebp - 0x1c], 0
call fcn.0047bc10
mov dword [ebp - 4], 0
mov dword [edi], vtable.CryptoPP::BaseN_Decoder.0
mov dword [edi + 4], vtable.CryptoPP::BaseN_Decoder.1.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0047c760
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0047e2c0
mov esi, eax
push 0x14
mov byte [ebp - 4], 3
call fcn.005c62f6
mov ecx, eax
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], str.DecodingLookupArray
mov word [ecx + 8], 1
mov dword [ecx + 0xc], 0
mov dword [ecx], vtable.CryptoPP::AlgorithmParametersTemplate_int_const__.0
mov dword [ecx + 0x10], eax
mov byte [ebp - 4], 4
mov eax, dword [esi + 4]
mov dword [esi + 4], 0
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
test edx, edx
je 0x448d12
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov edx, dword [esi + 4]
mov dword [ebp - 0x14], 0
test edx, edx
je 0x448d2e
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 4], ecx
mov byte [esi + 8], 1
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0047e240
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x448d5a
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
push str.Log2Base
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], vtable.CryptoPP::NameValuePairs.0
call fcn.004611f0
push eax
mov ecx, edi
call fcn.00482120
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x448d8f
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, edi
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.005c61f7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x448db0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9800
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x658bb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
mov edx, dword [esi + 0x38]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x448e07
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x448e18
push 0x3c
push esi
call fcn.005c6577
add esp, 8
mov eax, esi
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 0x44b540
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x44b562
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x11]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0x44b550
mov byte [esi + 4], 0
mov eax, esi
pop esi
ret
Function at 0x44ddc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
push edi
mov edi, ecx
cmp byte [esi + 0x4a], 0
je 0x44dde2
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax - 0x11]
inc eax
xor byte [edx], cl
cmp eax, 0x49
jb 0x44ddd0
mov byte [esi + 0x4a], 0
mov edx, esi
mov ecx, edi
call fcn.00461590
mov eax, edi
pop edi
pop esi
ret

Function at 0x44ddf0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
push edi
mov edi, ecx
cmp byte [esi + 0x15], 0
je 0x44de12
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax - 0x11]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x44de00
mov byte [esi + 0x15], 0
mov edx, esi
mov ecx, edi
call fcn.00461590
mov eax, edi
pop edi
pop esi
ret
Function at 0x450c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca74d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x658bb0]
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 dword [ebp - 0x4c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 4], 0
call fcn.00492010
mov edi, eax
xorps xmm0, xmm0
test edi, edi
jne 0x450ccf
push 4
movups xmmword [esi], xmm0
push str.null
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.00462a70
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x450cb2
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x450ca8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450e09
push ecx
push edx
call fcn.005c6577
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.005c61f7
mov esp, ebp
pop ebp
ret
movups xmmword [ebp - 0x28], xmm0
xor ecx, ecx
mov dword [ebp - 0x18], 0
movaps xmm0, xmmword [0x649780]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x2d6f6988
mov dword [ebp - 0x34], 0x296c7462
mov dword [ebp - 0x30], 0x25392636
mov word [ebp - 0x2c], 0x100
nop dword [eax]
lea eax, [ecx - 0x11]
xor byte [ebp + ecx - 0x48], al
inc ecx
cmp ecx, 0x1c
jb 0x450d10
lea eax, [ebp - 0x48]
mov byte [ebp - 0x2b], 0
push eax
push 0x2712
push edi
call fcn.00495dd0
push 0
push 0x40
push edi
call fcn.00495dd0
push 0
push 0x51
push edi
call fcn.00495dd0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x271f
push edi
call fcn.00495dd0
push 0x450bc0
push 0x4e2b
push edi
call fcn.00495dd0
lea eax, [ebp - 0x28]
push eax
push 0x2711
push edi
call fcn.00495dd0
add esp, 0x48
push edi
call fcn.004920b0
add esp, 4
test eax, eax
je 0x450da0
push 0x10
push 0
push eax
call fcn.00492a70
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 0x1c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x28], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp ecx, 0x10
jb 0x450cb2
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x450ca8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x450ca8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x4515d0
Capabilities:
Delete file
Delete service
Modify service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x658bb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x109cd68]
mov cl, byte [edi]
lea esi, [edi + 0x55]
mov dword [ebp - 0x24], esi
test cl, cl
je 0x4515fd
mov byte [edi + 0x54], 0
mov byte [esi], 0
jmp 0x451600
mov dword [ebp - 0x24], esi
cmp byte [edi + 0x54], 0
je 0x45161c
test cl, cl
jne 0x45161c
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
push ebx
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x45175a
cmp byte [esi], 0
mov ecx, 0x20
mov eax, 0x10020
cmovne eax, ecx
mov ecx, eax
or ecx, 2
cmp byte [edi + 0x56], 0
cmove ecx, eax
cmp dword [edi + 0x48], 0x10
lea eax, [edi + 0x34]
jb 0x45165a
mov eax, dword [eax]
push ecx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x451683
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x45174e
cmp byte [edi + 0x56], 0
je 0x4516c1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
je 0x45174e
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
je 0x4516ed
cmp byte [edi], 0
jne 0x4516ed
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x24], eax
call esi
push ebx
call esi
cmp byte [edi + 0x57], 0
je 0x451736
cmp byte [edi], 0
je 0x451736
add edi, 4
cmp dword [edi + 0x14], 0x10
jb 0x451719
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ebx
test eax, eax
pop edi
setne al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x24], 0
pop ebx
pop edi
setne al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
mov ecx, dword [ebp - 4]
xor al, al
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
Function at 0x451d80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca890
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x658bb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x124
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x134]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x138], pe_nt_image_headers32
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x451f62
nop dword [eax + eax]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x160], 0
push str.dumper.exe
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x15c], 0
movups xmmword [ebp - 0x170], xmm0
call fcn.00462a70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x114]
xorps xmm0, xmm0
mov dword [ebp - 0x148], 0
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x144], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451e60
sub eax, edx
lea ecx, [ebp - 0x158]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00462a70
cmp dword [ebp - 0x15c], 0x10
lea ecx, [ebp - 0x170]
push dword [ebp - 0x160]
mov esi, dword [ebp - 0x170]
lea eax, [ebp - 0x158]
mov edi, dword [ebp - 0x158]
cmovae ecx, esi
cmp dword [ebp - 0x144], 0x10
push ecx
push dword [ebp - 0x148]
cmovae eax, edi
setae byte [ebp - 0x139]
push eax
call fcn.0046a120
add esp, 0x10
mov byte [ebp - 0x13a], al
cmp byte [ebp - 0x139], 0
je 0x451f03
mov ecx, dword [ebp - 0x144]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x451ef9
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f82
push ecx
push edi
call fcn.005c6577
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x15c]
cmp eax, 0x10
jb 0x451f3c
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x451f32
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f82
push ecx
push esi
call fcn.005c6577
add esp, 8
cmp byte [ebp - 0x13a], 0
jne 0x451f88
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x451e00
xor esi, esi
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x451f90
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x451f92
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [ebp - 0x130]
jmp 0x451f62
xor eax, 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.005c61f7
mov esp, ebp
pop ebp
ret
Function at 0x451fb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x658bb0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [esp + 0x10], pe_nt_image_headers32
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x452057
mov eax, 0x63fdf0
lea ecx, [esp + 0x34]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x452030
test dl, dl
je 0x45202c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x452030
add ecx, 2
add eax, 2
test dl, dl
jne 0x452010
xor eax, eax
jmp 0x452035
sbb eax, eax
or eax, 1
test eax, eax
jne 0x452047
mov eax, dword [esp + 0x24]
cmp eax, esi
jle 0x452047
mov edi, dword [esp + 0x18]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x452000
mov ecx, dword [esp + 0x13c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret

Function at 0x452070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca8cd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x658bb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, bind
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 3
jb 0x452185
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push eax
push 3
push 0x63fe08
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.00464290
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x452124
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45211a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45215c
push ecx
push edx
call fcn.005c6577
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x45216c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x452162
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x452162
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005c6577
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
call fcn.00447160
int3
Function at 0x452190
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x658bb0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
lea eax, [esp + 8]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4521dd
lea eax, [esp + 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x4521ef
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0x10
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
xor ecx, esp
call fcn.005c61f7
mov esp, ebp
pop ebp
ret
Function at 0x4566f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cacbd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x658bb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
push 0x640528
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.004603f0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0x3c
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push eax
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], str.cmd.exe
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x45679c
or esi, 0xffffffff
jmp 0x4567c0
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x4567f6
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4567ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4567ec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005c6577
add esp, 8
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.005c61f7
mov esp, ebp
pop ebp
ret