joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x401c66
pop dword [ebp - 0x48]
mov eax, 0x41e29899
add eax, 0xbe5d83cd
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xea6436a9
sub dword [ebp - 0x58], 0x9c11f15e
mov dword [ebp - 0x54], 0x8a8286e7
add dword [ebp - 0x54], 0xa7b0c55e
mov dword [ebp - 0x50], 0xe9631965
sub dword [ebp - 0x50], 0x9d16d537
mov dword [ebp - 0x4c], 0x3d55417c
add dword [ebp - 0x4c], 0xc2aabe84
lea eax, [ebp - 0x58]
push eax
mov eax, 0xbba730cf
add eax, 0x4498ff85
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x994bfaee
sub dword [ebp - 0x58], 0x24d99198
mov dword [ebp - 0x54], 0x9a87ba5d
sub dword [ebp - 0x54], 0x591b58e8
mov dword [ebp - 0x50], 0x8e3802a7
add dword [ebp - 0x50], 0xd53769c5
mov dword [ebp - 0x4c], 0x6db7ff88
sub dword [ebp - 0x4c], 0x6db7ff88
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x32842
push 0
call eax
mov ecx, 0xeb3d6fb5
sub ecx, 0xeb3d3791
mov edi, eax
mov ebx, 0x407000
add ebx, dword [ebp - 0x48]
mov edx, 0x4a3ee1c1
mov esi, dword [ebx]
xor dword [ebp - 0xc], 0xef7a3937
add esi, edx
add dword [ebp - 0x3c], 0xa645b3f3
mov dword [edi], esi
xor dword [ebp - 0x20], 0x33a2e3b1
add edi, 0xc1d1dde1
sub edi, 0xc1d1dddd
add ebx, 0x68cf7a39
add ebx, 0x973085cb
loop 0x401d77
add eax, 0x4b300fa7
sub eax, 0x4b2f3c44
xor ebx, ebx
add ebx, eax
add eax, 0x44651eae
add eax, 0xbb9ae157
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x4269b9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4269f8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4269f8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4269f8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4269f8
cmp dword [ecx + 0x74], 0xe
jbe 0x4269f8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x438da0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438dcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438dcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x1941770c
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, str.xd
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5efe3378
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406b5f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [esi + 8], 0
je 0x406b96
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3f1
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x3ec
push dword [esi + 4]
call edi
push eax
call ebx
pop edi
pop ebx
push 0
push dword [ebp + 8]
push 0x402
push 0x3e9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
pop ebp
ret 4
Function at 0x130a8
Capabilities:
Accept command line arguments
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov bl, 1
xor eax, eax
push ebp
push 0x13151
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00012ddc
test al, al
je 0x13116
mov eax, dword [0x14070]
mov eax, dword [eax]
call fcn.00012c3c
test eax, eax
je 0x13116
push 0x105
lea eax, [ebp - 0x105]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov eax, dword [0x15060]
push eax
call sub.kernel32.dll_GetCommandLineA
push eax
lea eax, [ebp - 0x105]
push eax
call dword [0x14060]
mov edx, dword [0x14068]
mov dword [edx], eax
call fcn.00012ca4
xor ebx, ebx
test bl, bl
je 0x13131
push 0x10
push 0x13160
push 0x13170
call sub.user32.dll_GetActiveWindow
push eax
call sub.user32.dll_MessageBoxA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13158
mov eax, dword [0x14070]
mov eax, dword [eax]
call fcn.00011954
push eax
call sub.kernel32.dll_DeleteFileA
ret

Function at 0x40c7fb
Capabilities:
Encode data using xor

Disassembly:
adc byte [ecx + 0x38fcfcfc], bl
or al, 0x10
adc al, 0x18
arpl word [ecx + 0x2036f8b3], di
and al, 0x28
sub al, 0x30
xor al, 0x1c
xor al, 0x1c
cmp byte [eax + 0x46c72c], bh
mov eax, 0x46c72c
push eax
push dword fs:[0]
mov dword fs:[0], esp
and eax, 0
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x40c87b
arpl word [edx + esi], si
je 0x40c898
inc ecx
sub al, 0x61
jl 0x40c7dc
sub byte [ecx], 0xcb
bound eax, qword [edi - 0x7c]
ja 0x40c80a
jno 0x40c7f7
mov byte [eax + edx*4 + 0x1dc771dc], cl
xchg esp, eax
cwde
pushfd
adc al, 0xc6
sbb eax, 0xa8a4a077
xchg edx, eax
sub al, 0x61
sub al, 0x81
dec esp
aad 0xf3
xor eax, 0x83d40ca8
cmp eax, dword [0x290d2ef8]
jae 0x40c83c
pop ebp
in eax, dx
push 0x38c2fc19
daa
arpl word [ebx], di
das
dec edi
sub al, 0x67
dec esi
hlt
sbb byte [eax], dl
sbb al, 0x14
invalid
mov eax, dword [0x3702acb1]
mov cl, 0xac
add dh, byte [edi]
sal byte [eax], 0x22
or dword [edi], ecx
stosd dword es:[edi], eax
add al, 0x24
jmp 0x40c897
Function at 0x10008c0a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10008c19
pop dword [ebp - 0x10]
mov eax, 0x35759f8c
sub eax, 0x25751373
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xd1d8c389
add dword [ebp - 0x20], 0x7c7981c2
mov dword [ebp - 0x1c], 0xfe640c47
sub dword [ebp - 0x1c], 0xcc30c002
mov dword [ebp - 0x18], 0xa8f78fd5
sub dword [ebp - 0x18], 0x5cab4ba7
mov dword [ebp - 0x14], 0x53c14203
sub dword [ebp - 0x14], 0x53c14203
lea eax, [ebp - 0x20]
push eax
mov eax, 0xdda53267
add eax, 0x325c3ebd
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x595f2f05
add dword [ebp - 0x20], 0x1b133a51
mov dword [ebp - 0x1c], 0x98b32c3a
add dword [ebp - 0x1c], 0xa8b9353b
mov dword [ebp - 0x18], 0xd54f508d
sub dword [ebp - 0x18], 0x71dfe421
mov dword [ebp - 0x14], 0xe1b7d06a
add dword [ebp - 0x14], 0x1e482f96
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x359ed8a1
add eax, 0xda629887
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x37a0f
push 0
call eax
mov ecx, 0x44e7
xor edx, edx
add edx, eax
mov edi, 0xe1279ad5
sub edi, 0xd124c4d5
add edi, dword [ebp - 0x10]
mov esi, 0xc389e466
sub esi, 0x77b291ab
mov dword [ebp - 8], 0x14523c41
mov ebx, dword [edi]
xor dword [ebp - 8], 0x4478a6bc
sub ebx, esi
add dword [ebp - 8], edi
mov dword [edx], ebx
xor dword [ebp - 4], edx
add edx, 0xdf0681ba
sub edx, 0xdf0681b6
add edi, 4
loop 0x10008d37
add eax, 0x6e813b6f
add eax, 0x917fcb00
mov ebx, eax
add eax, 0x818e7849
add eax, 0x7e7187bc
mov ecx, 0x20d2a500
sub ecx, 0x10d2a500
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x1000bc24
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
push esi
push edi
call ebx
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x1c], ecx
jg 0x1000bc56
jl 0x1000bc46
cmp dword [ebp + 0x18], ecx
jae 0x1000bc56
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x14
jmp 0x1000bc6e
push 0x14
mov dword [ebp - 8], ecx
pop eax
cmp dword [ebp + 0x1c], ecx
jg 0x1000bc6b
jl 0x1000bc68
cmp dword [ebp + 0x18], eax
jae 0x1000bc6b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp + 0x10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000bcd3
xor edi, edi
cmp byte [ebp + 0x20], 0
mov esi, 0xf80001
je 0x1000bc93
mov esi, 0x4ff0001
push esi
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.user32.dll_PeekMessageA]
test eax, eax
je 0x1000bcc1
lea eax, [ebp - 0x28]
push eax
inc edi
call dword [sym.imp.user32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.user32.dll_DispatchMessageA]
cmp edi, 0x64
jl 0x1000bc93
cmp dword [ebp - 8], 0
jne 0x1000bc6e
call ebx
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0xc]
cmp eax, ecx
jb 0x1000bc6e
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x40e950
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b92b8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
push 5
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 0
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40ea1a
jmp 0x40ea06
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
lea ecx, [ebp - 0x54]
call fcn.0041ced0
push 0x55221c
lea eax, [ebp - 0x54]
push eax
call fcn.0049c518
int3

Function at 0x40ef30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9360
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebx + 0x6c]
lea ecx, [ebx + 0x6c]
lea eax, [ebx + 0x24]
push eax
call dword [edx + 0x18]
push 0
push 0
push 0xf0
push dword [ebx + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
lea edi, [ebx + 0x54]
mov ecx, edi
setne al
mov byte [ebx + 0x34], al
push dword [ebx + 0x28]
call fcn.0042c080
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
mov dword [ebp - 4], 1
xor esi, esi
mov edx, dword [edi + 8]
sub edx, dword [edi + 4]
sar edx, 4
xor ebx, ebx
mov dword [ebp - 0x18], edx
mov ecx, dword [edi + 0x10]
cmp edx, ecx
mov eax, ecx
cmovb eax, edx
cmp esi, eax
jae 0x40f072
push esi
lea eax, [ebp - 0x2c]
push 0x52b60c
push eax
call fcn.004038c0
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, dword [edi + 4]
sub eax, ecx
sar eax, 4
cmp eax, esi
jbe 0x40f0b6
mov eax, dword [edi + 0x14]
mov ecx, dword [ebx + ecx + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 4]
test edx, edx
je 0x40f069
mov eax, ecx
lea ecx, [eax + 2]
mov dword [ebp - 0x10], ecx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f040
sub eax, dword [ebp - 0x10]
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x14]
push 1
push 0
push dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x18]
inc esi
add ebx, 0x10
jmp 0x40eff3
cmp edx, ecx
jbe 0x40f07d
mov ecx, edi
call fcn.0042be40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.004039c0
mov ecx, edi
call fcn.0042be40
mov ecx, dword [ebp - 0x1c]
push 1
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004282e0
int3
Function at 0x412070
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9918
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], vtable.StringStorage.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], vtable.StringStorage.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041da00
test al, al
je 0x41215a
push str._service
push dword [ebp - 0x20]
lea eax, [ebp - 0x34]
push 0x525a10
push eax
call fcn.004038c0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.StringStorage.0
call fcn.004039c0
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00420820
push 0
push 0
push 0x524da8
push 0
push 0
mov byte [ebp - 4], 4
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x18]
push 1
push 2
push 0x10
push 0xf01ff
push 0x4c9428
push 0x4c9448
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
je 0x41221c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
push 2
push edi
mov dword [ebp - 0x10], 0x1388
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
test esi, esi
je 0x4121fc
push esi
call edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.StringStorage.0
call fcn.004039c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x70]
call fcn.0041ce10
push 0x55221c
lea eax, [ebp - 0x70]
push eax
call fcn.0049c518
int3
Function at 0x41c540
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4babb3
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
lea esi, [eax + 4]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push dword [ebp + 8]
mov dword [eax], vtable.WinCommandLineArgs.0
call fcn.00403030
mov dword [ebp - 0x34], vtable.UnicodeStringStorage.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
push dword [eax + 4]
call fcn.004030f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], vtable.StringStorage.0
call fcn.004039c0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sar eax, 1
add eax, 0xffffffff
je 0x41c705
lea eax, [ebp + 8]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x41c72b
xor edi, edi
cmp dword [ebp + 8], edi
jle 0x41c6fe
nop dword [eax]
push dword [ebx + edi*4]
lea ecx, [ebp - 0x44]
call fcn.00405a40
mov dword [ebp - 0x24], vtable.StringStorage.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 6
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x24]
push 0x524da8
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x40]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
sar eax, 1
add eax, 0xffffffff
je 0x41c6d2
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x41c6c6
mov dword [ecx], vtable.StringStorage.0
mov dword [ebp - 0x14], ecx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov byte [ebp - 4], 8
mov eax, dword [ecx]
push dword [ebp - 0x20]
call dword [eax + 4]
add dword [esi + 4], 0x10
jmp 0x41c6d2
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, esi
call fcn.0041c750
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.StringStorage.0
call fcn.004039c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], vtable.UnicodeStringStorage.0
call fcn.004039c0
inc edi
cmp edi, dword [ebp + 8]
jl 0x41c610
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.UnicodeStringStorage.0
call fcn.004039c0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x48]
push 0x5296cc
push eax
call fcn.00403f20
add esp, 8
lea eax, [ebp - 0x48]
push 0x5520f0
push eax
call fcn.0049c518
int3
Function at 0x41d640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bad88
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push esi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x24]
test eax, eax
je 0x41d680
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41d695
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x28], 0
lea eax, [ebp - 0x98]
mov ecx, esi
push eax
call fcn.0041d590
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0041d7a0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x98]
push eax
movzx eax, byte [esi + 0x3c]
push 0
push 0
push 0
push eax
push 0
push 0
push dword [ebp - 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41d709
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x18]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x24], eax
mov dword [ebp - 0x1c], vtable.StringStorage.0
call fcn.004039c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x54]
call fcn.0041ce10
push 0x55221c
lea eax, [ebp - 0x54]
push eax
call fcn.0049c518
int3

Function at 0x41dcd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
lea eax, [esp + 0x2c]
movlpd qword [esp + 0x4c], xmm0
push eax
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x68], 0
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0x440
mov dword [esp + 0x3c], str.runas
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41dd57
push 0xffffffffffffffff
push dword [esp + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 4]
call fcn.0041ce10
push 0x55221c
lea eax, [esp + 8]
push eax
call fcn.0049c518
int3
Function at 0x41e340
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4baf78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
xor edx, edx
test ecx, ecx
je 0x41e37a
cmp byte [ecx + 0x10], dl
lea eax, [ecx + 4]
cmove edx, eax
mov eax, dword [esi + 0x28]
push edx
push 0
push eax
push eax
push 0xff
push 0
push 0x40000003
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x24], eax
cmp eax, 0xffffffff
je 0x41e3af
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1c]
call fcn.00402fa0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push str.CreateNamedPipe_failed__error_code___d
push eax
call fcn.004038c0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00403150
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00403f20
add esp, 8
lea eax, [ebp - 0x30]
push 0x5520f0
push eax
call fcn.0049c518
int3
Function at 0x41e400
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bafca
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x24]
cmp ecx, 0xffffffff
jne 0x41e43b
mov ecx, esi
call fcn.0041e340
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
push ecx
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x41e514
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x217
je 0x41e4d6
cmp edi, 0x3e5
jne 0x41e560
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41e48e
push dword [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x41e4d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00402fa0
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push str.GetOverlappedResult___failed_after_the_ConnectNamedPipe___call__error_code___d
push eax
call fcn.004038c0
add esp, 0xc
lea ecx, [ebp - 0x20]
jmp 0x41e584
push 0xa0
call fcn.0049adb4
add esp, 4
mov dword [ebp - 0x10], eax
push 1
mov dword [ebp - 4], 3
mov ecx, eax
push dword [esi + 0x28]
push dword [esi + 0x24]
call fcn.00421b00
mov dword [esi + 0x24], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00402fa0
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push str.ConnectNamedPipe_failed__error_code___d
push eax
call fcn.004038c0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00403150
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00403f20
add esp, 8
lea eax, [ebp - 0x34]
push 0x5520f0
push eax
call fcn.0049c518
lea ecx, [ebp - 0x30]
call fcn.00402fa0
push edi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 2
push str.ConnectNamedPipe_failed__error_code___d
push eax
call fcn.004038c0
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00403150
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00403f20
add esp, 8
lea eax, [ebp - 0x5c]
push 0x5520f0
push eax
call fcn.0049c518
int3