joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000aa2b
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
mov bl, byte [edx + 0x100]
mov ch, byte [edx + 0x101]
cmp dword [ebp + 0xc], esi
jle 0x1000aa91
movzx ecx, ch
movzx eax, bl
mov dword [ebp + 0x10], ecx
push edi
mov ch, byte [ebp + 0x10]
lea ebx, [eax + 1]
movzx eax, bl
mov dword [ebp - 4], eax
mov edi, eax
mov cl, byte [eax + edx]
add ch, cl
movzx eax, ch
mov dword [ebp + 0x10], eax
mov al, byte [eax + edx]
mov byte [edi + edx], al
mov eax, dword [ebp + 0x10]
mov byte [eax + edx], cl
mov al, byte [edi + edx]
mov edi, dword [ebp + 8]
add al, cl
movzx eax, al
mov al, byte [eax + edx]
xor byte [esi + edi], al
inc esi
mov eax, dword [ebp - 4]
cmp esi, dword [ebp + 0xc]
jl 0x1000aa51
pop edi
pop esi
mov byte [edx + 0x100], bl
mov byte [edx + 0x101], ch
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4038fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408398]
jne 0x403906
repz ret
jmp fcn.00403dae

Function at 0x4239a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.TGOqOPny
lea edi, [esi - 0x19000]
push edi
or ebp, 0xffffffff
jmp 0x4239c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4239c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4239b8
mov eax, 1
add ebx, ebx
jne 0x4239db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4239d0
jne 0x4239ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4239d0
xor ecx, ecx
sub eax, 3
jb 0x423a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x423a72
mov ebp, eax
add ebx, ebx
jne 0x423a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x423a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x423a3c
inc ecx
add ebx, ebx
jne 0x423a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x423a1d
jne 0x423a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x423a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x423a4d
jmp 0x4239be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x423a5c
add edi, ecx
jmp 0x4239be
pop esi
mov edi, esi
mov ecx, 0x138
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x423a7a
cmp byte [edi], 6
jne 0x423a7a
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 0x423a7f
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x423aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x423aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x23030]
or eax, eax
je 0x423ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x423ac9
call dword [esi + 0x2302c]
mov ebp, dword [esi + 0x23034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x423b22
sub esp, 0xffffff80
jmp 0x4038fc
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x419b00
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x403428]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x194]
push eax
mov esi, ecx
push 0x202
mov dword [esi], vtable.CDwonKey.0
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x4dc1c
lea ecx, [esi + 0x10]
push 0
push ecx
mov dword [esi + 0xc], eax
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0x4dc30], 0
mov dword [esi + 4], 0
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00401432
mov esp, ebp
pop ebp
ret

Function at 0x4010b0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode
Terminate process

Disassembly:
push esi
push edi
push 0x40
push 0x3000
push 0x4dc1c
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4010d1
pop edi
pop esi
ret
push 0x4dc1c
add edi, 0x4dc34
push edi
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 0
push 0
push esi
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401270
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x403428]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 6
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x4012af
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401432
mov esp, ebp
pop ebp
ret 8
push edi
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov edx, dword [edi + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov eax, dword [esi + 8]
push 0x10
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x40130a
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esi + 0xc]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4012b0
push 0
push 0
push esi
push 0x401170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00401432
mov esp, ebp
pop ebp
ret 8
Function at 0x401738
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x4021d8
call fcn.0040197c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x403798
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x401557
cmp eax, esi
jne 0x40154a
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x40155a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401531
xor esi, esi
inc esi
mov eax, dword [0x403794]
cmp eax, esi
jne 0x40156d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4015a8
mov eax, dword [0x403794]
test eax, eax
jne 0x4015a2
mov dword [0x403794], esi
push 0x4020e8
push 0x4020dc
call fcn.004014b8
pop ecx
pop ecx
test eax, eax
je 0x4015a8
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401672
mov dword [0x40345c], esi
mov eax, dword [0x403794]
cmp eax, esi
jne 0x4015cc
push 0x4020d8
push 0x4020d0
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x403794], 2
cmp dword [ebp - 0x1c], ebx
jne 0x4015d9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x40379c], ebx
je 0x4015fa
push 0x40379c
call fcn.00401904
pop ecx
test eax, eax
je 0x4015fa
push ebx
push 2
push ebx
call dword [0x40379c]
push dword [0x403444]
push dword [0x403448]
push dword [0x403440]
call fcn.00401360
add esp, 0xc
mov dword [0x403458], eax
cmp dword [0x40344c], ebx
jne 0x401658
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x40345c], ebx
jne 0x401666
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x403458]
call fcn.004019c1
ret
call fcn.00401aab
jmp 0x40150f
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
push ebx
pop eax
and eax, 0x1f
push ebx
pop edx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
sub eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
push eax
pop edi
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
mov esi, eax
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
or eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x49ad73f9
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5b897a07
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x414dd8
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [esi], edx
sub ecx, 0x31b69e01
mov ebx, 0x18075d5
add esi, 4
and ebx, ebx
cmp esi, edi
jne fcn.00414dd8
or eax, ecx
add ebx, 0xede7a58c
add eax, 1
ret
Function at 0x4123e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], ecx
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x412421
push str.Could_not_create_named_pipe_server__stop_event_could_not_be_created.
lea ecx, [ebp - 0x10]
call fcn.004036b0
push 0x58c824
lea eax, [ebp - 0x10]
push eax
call fcn.004b84f4
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x4126d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x41246f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Could_not_create_named_pipe_server__dedicated_thread_could_not_be_created.
lea ecx, [ebp - 0x1c]
call fcn.004036b0
push 0x58c824
lea eax, [ebp - 0x1c]
push eax
call fcn.004b84f4
mov esp, ebp
pop ebp
ret
Function at 0x412bc0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x1008
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1004]
push edx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x412c01
push str.ConnectNamedPipe_returned_non_null_value_while_trying_to_connect_named_pipe_server_instance.
lea ecx, [ebp - 0x14]
call fcn.004036b0
push 0x58c824
lea eax, [ebp - 0x14]
push eax
call fcn.004b84f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x217
je 0x412c2d
cmp dword [ebp - 8], 0x3e5
je 0x412c1e
jmp 0x412c6b
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x101c], 0x11
jmp 0x412c86
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x412c5c
push str.Could_not_set_event_while_trying_to_connect_named_pipe_server_instance.
lea ecx, [ebp - 0x20]
call fcn.004036b0
push 0x58c824
lea ecx, [ebp - 0x20]
push ecx
call fcn.004b84f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x101c], 2
jmp 0x412c86
push str.Failed_trying_to_connect_named_pipe_server_instance.
lea ecx, [ebp - 0x2c]
call fcn.004036b0
push 0x58c824
lea eax, [ebp - 0x2c]
push eax
call fcn.004b84f4
mov esp, ebp
pop ebp
ret

Function at 0x412c90
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], ecx
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1018], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1018], 0
jne 0x412cd7
push str.Could_not_create_event_while_trying_to_create_named_pipe_server_instance.
lea ecx, [ebp - 0x1c]
call fcn.004036b0
push 0x58c824
lea eax, [ebp - 0x1c]
push eax
call fcn.004b84f4
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
push 1
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 8], 1
lea edx, [ebp - 0x3c]
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x10]
push eax
push 0x3e8
push 0x1000
push 0x1000
push 0xff
push 6
push 0x40000003
mov ecx, dword [ebp + 8]
call fcn.00411a80
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1004], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1004], 0xffffffff
jne 0x412d81
push str.Could_not_create_named_pipe_while_trying_to_create_named_pipe_server_instance.
lea ecx, [ebp - 0x28]
call fcn.004036b0
push 0x58c824
lea eax, [ebp - 0x28]
push eax
call fcn.004b84f4
mov esp, ebp
pop ebp
ret 4
Function at 0x41e8f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5079ce
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x58fa2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
lea ecx, [ebp - 0x24]
call fcn.0041dcb0
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x41e92f
mov eax, dword [eax]
push eax
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
call fcn.0040f860
cmp ebx, 0xffffffff
je 0x41e967
test bl, 0x10
jne 0x41e967
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41eaa0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507a9c
mov eax, dword fs:[0]
push eax
mov eax, 0x10d0
call fcn.004a4910
mov eax, dword [0x58fa2c]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x54]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 0x40
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x6c], 0
call fcn.004b8570
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0x44
push 1
push 0x568b44
lea ecx, [ebp - 0x88]
movups xmmword [ebp - 0x68], xmm0
call fcn.0041d860
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0xb8]
push ebx
push eax
call fcn.0041d700
push edi
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
call fcn.0041d700
add esp, 0x2c
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd0]
call fcn.0041dcb0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x41eb69
mov eax, dword [eax]
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push dword [ebp + 0x14]
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd0]
sete bl
call fcn.0040f860
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00405600
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.00405600
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 8
call fcn.00405600
mov byte [ebp - 4], 0
test bl, bl
je 0x41ec3d
lea eax, [ebp - 0xb8]
push edi
push eax
call fcn.0041dc40
mov edi, eax
mov dword [ebp - 4], 9
lea eax, [ebp - 0xa0]
push dword [ebp - 0x14]
push eax
call fcn.0041dc40
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.0040d410
push eax
mov ecx, esi
call fcn.0040d410
push eax
lea eax, [ebp - 0x10dc]
push str.Could_not_create_process_with_path___s__and_arguments___s____i_.
push eax
call fcn.00428190
add esp, 0x14
lea eax, [ebp - 0x10dc]
push 0x58caac
push eax
call fcn.004b84f4
mov dword [ebp - 4], 0xb
mov dword [esi], 0
mov byte [ebp - 4], 0
mov dword [esi], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0xc
push eax
mov ecx, esi
call fcn.0041ed40
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0041edb0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
call fcn.0041edb0
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.004a4566
mov esp, ebp
pop ebp
ret
Function at 0x42aa80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509531
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x58fa2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0xd]
lea esi, [edi + 4]
mov dword [edi], vtable.Algorithms::TrieNode.0
push eax
mov dword [ebp - 0x18], esi
call fcn.00407e10
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042b6e0
mov dword [esi], eax
mov byte [ebp - 4], 3
lea ecx, [edi + 0x18]
call fcn.004057c0
mov byte [ebp - 4], 4
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov byte [ebp - 4], 5
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov byte [edi + 0x14], 0
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test esi, esi
je 0x42ab30
mov ecx, esi
call fcn.00411ee0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
lea eax, [edi + 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041ee50
mov ecx, dword [ebp - 0x20]
add esp, 8
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x20], eax
mov dword [edi + 0x30], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x42ab66
call fcn.00411f00
mov al, byte [ebp + 0x10]
inc dword [0x594544]
mov byte [edi + 0xc], al
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x42ab85
call fcn.00411f00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc