joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443740
Capabilities:
Encrypt data via sspi
Send data
Send data on socket

Disassembly:
sub esp, 0x4c
mov eax, dword [0x45a220]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
push ebx
push esi
push edi
mov edi, dword [esp + 0x60]
xor esi, esi
push esi
mov dword [esp + 0x18], edi
push eax
mov edi, dword [edi + 0x74]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
call dword [0x4556f4]
mov eax, dword [esp + 0x70]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4438d4
push ebp
mov esi, eax
mov eax, dword [edi + 0x10]
sub esi, ebx
cmp dword [edi + 0x18], esi
cmovb esi, dword [edi + 0x18]
add eax, dword [edi + 0x14]
add eax, esi
push eax
push 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4438b2
mov eax, dword [esp + 0x14]
add eax, ebx
push esi
push eax
mov eax, dword [edi + 0x10]
add eax, ebp
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], 7
lea ecx, [eax + ebp]
mov dword [esp + 0x30], ebp
mov eax, dword [edi + 0x14]
mov dword [esp + 0x40], eax
lea eax, [ecx + esi]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push 0
push eax
mov eax, dword [esi + 0x74]
push 0
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], 6
mov dword [esp + 0x5c], 0
mov dword [esp + 0x2c], 4
mov dword [esp + 0x28], 0
push dword [eax + 0xc]
call sub.Secur32.dll_EncryptMessage
test eax, eax
js 0x443895
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x28]
push 0
push eax
push ebp
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x44389c
mov esi, dword [esp + 0x10]
add esi, eax
push ebp
mov dword [esp + 0x14], esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add ebx, dword [edi + 0x18]
add esp, 4
mov eax, dword [esp + 0x6c]
cmp ebx, eax
jb 0x443788
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0044bf41
add esp, 0x4c
ret
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebp
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0044bf41
add esp, 0x4c
ret
push 0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0044bf41
add esp, 0x4c
ret
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044bf41
add esp, 0x4c
ret
Function at 0x443e50
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x98
mov eax, dword [0x45a220]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
lea ecx, [esp]
push ebx
mov ebx, dword [esp + 0xa8]
push esi
push edi
mov edi, dword [esp + 0xa8]
push 0
push ecx
push 0
push 0
push ebx
push eax
call sub.DNSAPI.dll_DnsQuery_A
mov esi, eax
test esi, esi
jne 0x443f0b
cmp bx, 1
jne 0x443ea9
mov eax, dword [esp + 0xc]
push dword [eax + 0x18]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
jmp 0x443ef4
cmp bx, 0x1c
jne 0x443eed
push 0x80
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x18]
add esp, 0xc
movups xmm0, xmmword [eax + 0x18]
push 0x80
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
push 0x17
movups xmmword [esp + 0x20], xmm0
call sub.WS2_32.dll_inet_ntop
lea eax, [esp + 0x20]
push eax
jmp 0x443ef4
mov eax, dword [esp + 0xc]
push dword [eax + 0x18]
push edi
call dword [0x455688]
add esp, 8
push 1
push dword [esp + 0x10]
call sub.DNSAPI.dll_DnsFree
jmp 0x443f42
cmp esi, 0x251d
je 0x443f38
cmp esi, 0x25e5
je 0x443f38
cmp esi, 0x232b
je 0x443f38
push 0
push edi
call dword [0x4556f4]
add esp, 8
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x443f42
push edi
call dword [0x4556e8]
add esp, 4
mov ecx, dword [esp + 0xa0]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044bf41
add esp, 0x98
ret
Function at 0x44a5e0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push esi
push edi
call dword [0x4556f8]
push 1
push 0x44a420
push edi
call dword [0x455744]
push 1
push str.Task
push edi
call dword [0x4556c0]
push 0xffffffffffffffff
push edi
call dword [0x455734]
add esp, 0x28
push 0
push 0
push esi
push dword [esp + 0x20]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
je 0x44a648
push 0
push 0
push 0
push 0
push edi
call dword [0x455750]
add esp, 0x14
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call dword [0x455730]
push 0
push 0xffffffffffffffff
push edi
call dword [0x455684]
push eax
push str.async_error_:__s
push edi
call dword [0x455718]
add esp, 0x20
pop edi
pop esi
ret

Function at 0x44af70
Capabilities:
Initialize winsock library

Disassembly:
push esi
push edi
push 0x45a538
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, dword [esp + 0xc]
push 0x44af50
push 0x454ffc
push 0x455024
push 0x44e718
push edi
call dword [0x455784]
mov esi, dword [sym.luart_static.exe_lua_registerobject]
push 0x454898
push 0x4547f8
push 0x443ad0
push str.Socket
push 0x45aa74
push edi
call esi
push 0x454a80
push 0x454a10
push 0x4462f0
push str.Http
push 0x45a528
push edi
call esi
add esp, 0x44
push 0x454f90
push 0x454f10
push 0x449e30
push 0x455164
push 0x45a52c
push edi
call esi
add esp, 0x18
mov eax, 1
pop edi
pop esi
ret

Function at 0x44bad0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push str.AdvAPI32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.CryptDecrypt
push eax
mov dword [0x45a714], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44bab0
push 0x4554b0
push 0x455490
push str.crypto
push dword [esp + 0x14]
mov dword [0x45a710], eax
call sym.luart_static.exe_lua_registermodule
push 0x4551a0
push 0x455168
push 0x44b550
push str.Cipher
push 0x45aa70
push dword [esp + 0x2c]
call sym.luart_static.exe_lua_registerobject
add esp, 0x2c
push 0xf0000000
push 0x18
push 0
push 0
push 0x45a70c
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov eax, 1
ret

Function at 0x44cbd1
Capabilities:
Parse pe header

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

Function at 0x408921
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
add esi, 0x494ccd27
call fcn.0040894a
and esi, esi
xor dword [edi], ebx
dec esi
add edi, 1
cmp edi, eax
jne fcn.00408921
inc edx
inc esi
ret
Function at 0x100019b0
Capabilities:
Connect socket
Create thread
Initialize winsock library
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b70d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b8
mov eax, dword [0x10027014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x1b8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10001a22
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x2c], eax
cmp eax, 0xffffffff
jne 0x10001a42
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000c402
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, 2
lea edi, [esi + 0x1c]
mov word [edi], ax
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x10001a58
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + 0x20], eax
movzx eax, word [esi]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, 1
mov word [esi + 0x1e], ax
lea ecx, [esi + 0x4c]
mov eax, edx
xchg dword [ecx], eax
lea eax, [esi + 0x50]
xchg dword [eax], edx
push 0x10
push edi
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_connect]
xorps xmm0, xmm0
mov dword [ebp - 0x1bc], eax
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.10001cd0
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
push 0
mov dword [ecx + edi], 1
mov eax, dword [esi + 0x58]
mov dword [ecx + edi + 4], eax
lea eax, [ecx + 0x18]
push eax
push edi
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_send]
test edi, edi
je 0x10001ad3
push edi
call fcn.1000c410
add esp, 4
push 8
call fcn.1000c415
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0x10001b60
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10002c70
push 0
push 0
call fcn.1001236f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c4], ecx
test ecx, ecx
je 0x10001b3a
cmp dword [esi + 0x3c], 0
jne 0x10001b4b
mov eax, dword [ebp - 0x1c0]
mov dword [esi + 0x3c], eax
xor eax, eax
cmp dword [ebp - 0x1bc], 0xffffffff
mov dword [esi + 0x38], ecx
setne al
jmp 0x10001a24
push 6
mov dword [ebp - 0x1c0], 0
call fcn.1000bcac
call fcn.10012400
int3
Function at 0x10002110
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [0x10027014]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
xorps xmm0, xmm0
push edi
lea ecx, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
call fcn.10001cd0
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
lea ecx, [eax + 4]
push 0
mov dword [eax + edi], 1
mov eax, dword [esi + 0x58]
mov dword [ecx + edi], eax
lea eax, [ecx + 0x14]
push eax
push edi
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_send]
test edi, edi
je 0x1000216e
push edi
call fcn.1000c410
add esp, 4
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.1000c402
mov esp, ebp
pop ebp
ret
Function at 0x10004600
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bbf5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10027014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0x86]
lea ecx, [esi + 0x86]
test al, al
jne 0x100046ba
mov dword [0x100294d0], esi
mov al, 1
xchg byte [ecx], al
mov ecx, dword [esi + 0x72]
call fcn.10003cc0
mov eax, dword [esi + 0x72]
mov cl, 1
mov eax, dword [eax + 0x81]
mov dword [eax], 0
call fcn.10004490
cmp byte [esi + 0x24], 0
push 8
je 0x100046d4
call fcn.1000c415
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
mov dword [eax + 4], 0x100051d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10002c70
push 0
push 0
call fcn.1001236f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10004734
cmp dword [esi + 0x4e], 0
jne 0x1000472f
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x4a], ecx
mov dword [esi + 0x4e], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c402
mov esp, ebp
pop ebp
ret
call fcn.1000c415
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
mov dword [eax + 4], 0x10005510
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
push ecx
push 0
push eax
push 0x10002c70
push 0
push 0
call fcn.1001236f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x10004721
cmp dword [esi + 0x46], 0
jne 0x10004742
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x42], ecx
mov dword [esi + 0x46], eax
jmp 0x100046ba
push 6
mov dword [ebp - 0x20], 0
call fcn.1000bcac
call fcn.10012400
push 6
mov dword [ebp - 0x18], 0
call fcn.1000bcac
call fcn.10012400
int3

Function at 0x100048d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bc2d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10027014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0x87]
lea ecx, [esi + 0x87]
test al, al
jne 0x10004964
mov al, 1
xchg byte [ecx], al
mov ecx, dword [esi + 0x72]
call fcn.10003cc0
push 8
call fcn.1000c415
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
mov dword [eax + 4], 0x100049a0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10002c70
push 0
push 0
call fcn.1001236f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1000497e
cmp dword [esi + 0x56], 0
jne 0x1000498c
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x52], ecx
mov dword [esi + 0x56], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c402
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.1000bcac
call fcn.10012400
int3
Function at 0x10004a10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bc2d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10027014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0x88]
lea ecx, [esi + 0x88]
test al, al
jne 0x10004a9c
mov al, 1
xchg byte [ecx], al
push 8
call fcn.1000c415
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
mov dword [eax + 4], 0x10004ad0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10002c70
push 0
push 0
call fcn.1001236f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10004ab6
cmp dword [esi + 0x5e], 0
jne 0x10004ac4
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x5a], ecx
mov dword [esi + 0x5e], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c402
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.1000bcac
call fcn.10012400
int3

Function at 0x10006140
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bc2d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10027014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0x89]
lea ecx, [esi + 0x89]
test al, al
jne 0x100061cc
mov al, 1
xchg byte [ecx], al
push 8
call fcn.1000c415
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
mov dword [eax + 4], 0x100059d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10002c70
push 0
push 0
call fcn.1001236f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x100061e6
cmp dword [esi + 0x66], 0
jne 0x100061f4
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x62], ecx
mov dword [esi + 0x66], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c402
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.1000bcac
call fcn.10012400
int3
Function at 0x10006260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bc2d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10027014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0x8a]
lea ecx, [esi + 0x8a]
test al, al
jne 0x100062f4
mov al, 1
xchg byte [ecx], al
mov ecx, dword [esi + 0x72]
call fcn.10003cc0
push 8
call fcn.1000c415
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
mov dword [eax + 4], 0x10006200
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10002c70
push 0
push 0
call fcn.1001236f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1000630e
cmp dword [esi + 0x6e], 0
jne 0x1000631c
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x6a], ecx
mov dword [esi + 0x6e], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c402
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.1000bcac
call fcn.10012400
int3
Function at 0x10009e90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001c2df
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10027014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub dword [ebp + 0xc], 1
jne 0x10009fa2
mov eax, dword [ebp + 8]
push 0x5c
mov dword [0x100294f8], eax
call fcn.1000c415
mov edi, eax
mov dword [ebp + 0xc], edi
push 0x5c
push 0
push edi
mov dword [ebp - 4], 0
call fcn.10010cf0
add esp, 0x10
mov dword [edi], 0x2de2
lea ecx, [edi + 4]
push str.127.0.0.1
call fcn.10002360
lea esi, [edi + 0x30]
mov byte [ebp - 4], 1
push 0x40
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000c415
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
movq qword [edi + 0x38], xmm0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x58], 0
mov esi, dword [0x10029514]
mov dword [0x10029514], edi
test esi, esi
je 0x10009f8d
mov ecx, esi
call fcn.10009c80
push 0x5c
push esi
call fcn.1000c445
add esp, 8
push 0
push 0
push 0
push 0x10009de0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000a1d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [0x10027014]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, dword [0x100295b8]
push edi
mov edi, dword [0x100295bc]
mov dword [0x10027890], 0
cmp esi, edi
je 0x1000a237
cmp dword [esi + 4], 0
je 0x1000a230
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x1000a2e5
push 0
push dword [esi + 4]
push dword [esi]
call fcn.1000bf75
add esp, 0xc
test eax, eax
jne 0x1000a2ec
mov dword [esi], eax
mov dword [esi + 4], eax
add esi, 8
cmp esi, edi
jne 0x1000a200
mov eax, dword [0x10029514]
test eax, eax
je 0x1000a2c5
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x1000a2c5
mov esi, dword [0x10029514]
xor ecx, ecx
lea eax, [esi + 0x50]
xchg dword [eax], ecx
xorps xmm0, xmm0
lea ecx, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
call fcn.10001cd0
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
push 0
mov dword [eax + edi], 0x17
add eax, 0x14
push eax
push edi
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_send]
test edi, edi
je 0x1000a295
push edi
call fcn.1000c410
add esp, 4
mov eax, dword [0x10029514]
mov eax, dword [eax + 0x54]
test eax, eax
jne 0x1000a2c5
mov dword [esp + 8], 0xc8
mov dword [esp + 0xc], eax
nop dword [eax]
lea ecx, [esp + 8]
call fcn.10006cb0
mov eax, dword [0x10029514]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x1000a2b0
mov ecx, dword [0x1002959d]
test ecx, ecx
je 0x1000a2d4
call fcn.10004750
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.1000c402
mov esp, ebp
pop ebp
ret
push 5
call fcn.1000bcac
push 2
call fcn.1000bcac
int3
Function at 0x1000aea0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001c39d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10027014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov dword [ecx + 8], 0
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
mov eax, dword [0x10029554]
sub esp, 8
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x30], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x28], eax
movups xmmword [ebp - 0x20], xmm0
call fcn.10009bc0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x30]
push 0
movss dword [eax + ecx], xmm0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
add ecx, 4
movss xmm0, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
movss dword [ecx + eax], xmm0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
add ecx, 4
movss xmm0, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
movss dword [ecx + eax], xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x20], eax
add eax, 0x10
push eax
push ecx
push dword [esi + 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0
call dword [sym.imp.WS2_32.dll_send]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1000af8d
push eax
call fcn.1000c410
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000af9d
push eax
call fcn.1000c410
add esp, 4
test edi, edi
je 0x1000afaa
push edi
call fcn.1000c410
add esp, 4
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.1000c402
mov esp, ebp
pop ebp
ret 8