joyce8/EMBER2024-capa huggingface dataset:
Function at 0x729350
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
push esi
mov esi, dword [esp + 0x30]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], 0
movups xmmword [esp + 0x18], xmm0
cmp dword [esi + 0x14], 0x10
mov dword [esp + 8], eax
jb 0x72937f
mov eax, dword [esi]
jmp 0x729381
mov eax, esi
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xc]
push ecx
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x7293b8
push dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
call fcn.00728d40
push dword [esp + 0x34]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [esp + 0x2c]
pop esi
add esp, 0x24
ret
push esi
push eax
call fcn.007291c0
int3

Function at 0x729e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7be348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00461ac2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push edx
mov dword [ebp - 4], 0
mov dword [esi], vtable.Poco::BasicBufferedStreamBuf_char__struct_std::char_traits_char___class_Poco::Net::HTTPBufferAllocator_.0
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
call fcn.00730330
mov ecx, dword [ebp + 0x10]
add esp, 8
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
lea ecx, [eax + 4]
mov eax, dword [esi + 0xc]
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
sub ecx, ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x38]
add edx, ecx
mov dword [eax], ecx
sub edx, ecx
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x72e4d0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7be978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x10], 0
cmp dword [eax + 0x10], 0
je 0x72e576
cmp dword [eax + 0x14], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], 4
movups xmmword [ebp - 0x3c], xmm0
jb 0x72e516
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x72e576
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax + 0x18]
push dword [eax + 0x18]
add eax, 8
push eax
call fcn.0072dd90
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.0072dd30
lea ecx, [ebp - 0x2c]
call fcn.0072ddf0
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
call fcn.0072ddc0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x72ee30
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x72ee54
mov al, 1
add esp, 0x94
ret
mov eax, dword [esp + 4]
cmp eax, 6
jb 0x72ee6f
jne 0x72ee66
cmp dword [esp + 8], 2
jb 0x72ee6f
xor eax, eax
add esp, 0x94
ret
mov eax, 1
add esp, 0x94
ret

Function at 0x72eea0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7beb68
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [ebx + 8], 0xffffffff
jne 0x72eedb
mov esi, dword [ebx]
mov ecx, edi
call fcn.007246a0
push eax
mov ecx, ebx
call dword [esi + 0x90]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, edi
call fcn.00724970
push eax
mov ecx, edi
call fcn.00724630
push eax
push dword [ebx + 8]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x72ef3c
call esi
cmp eax, 0x2714
je 0x72eee1
call esi
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x24]
push eax
call fcn.00724b90
push eax
push esi
mov dword [ebp - 4], 0
call fcn.0072f200
mov eax, dword [ebp - 0x10]
add esp, 8
cmp eax, 0x10
jb 0x72ef3c
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.005fff0c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x72ef50
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7bea38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], edi
cmp dword [edi + 8], 0xffffffff
jne 0x72ef91
mov esi, dword [edi]
mov ecx, ebx
call fcn.007246a0
push eax
mov ecx, edi
call dword [esi + 0x90]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x84]
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00724970
mov ecx, ebx
mov esi, eax
call fcn.00724630
push esi
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x72f06d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2734
je 0x72f004
cmp esi, 0x2733
je 0x72f004
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00724b90
push eax
push esi
mov byte [ebp - 4], 1
call fcn.0072f200
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00457562
mov eax, dword [edi]
mov ecx, edi
push 7
push dword [ebp + 0xc]
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x72f059
push str.connect_timed_out
lea ecx, [ebp - 0x44]
call fcn.004540d3
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.00724b90
push 0
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.0071a530
push 0x89fa2c
lea eax, [ebp - 0x88]
push eax
call fcn.007328e6
mov ecx, edi
call fcn.00730310
test eax, eax
je 0x72f06d
push eax
call fcn.0072f190
add esp, 4
mov eax, dword [edi]
mov ecx, edi
push 1
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x84]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x72f0b0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7beb68
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0xffffffff
jne 0x72f0eb
mov esi, dword [edi]
mov ecx, ebx
call fcn.007246a0
push eax
mov ecx, edi
call dword [esi + 0x90]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x84]
mov ecx, ebx
call fcn.00724970
push eax
mov ecx, ebx
call fcn.00724630
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x72f150
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2734
je 0x72f150
cmp esi, 0x2733
je 0x72f150
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00724b90
push eax
push esi
mov dword [ebp - 4], 0
call fcn.0072f200
add esp, 8
lea ecx, [ebp - 0x24]
call fcn.00457562
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x72fb00
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7beb90
push eax
mov dword fs:[0], esp
sub esp, 0x360
push ebx
push esi
mov esi, dword [ecx + 8]
push edi
cmp esi, 0xffffffff
jne 0x72fb41
push 0
lea ecx, [ebp - 0x60]
call fcn.00727890
push 0x8a0dc4
lea eax, [ebp - 0x60]
push eax
call fcn.007328e6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x164], 0
test al, 1
je 0x72fb76
mov dword [ebp - 0x368], esi
mov dword [ebp - 0x36c], 1
test al, 2
je 0x72fb8a
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x268], 1
test al, 4
je 0x72fb9e
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x164], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0071b730
lea eax, [esi + 1]
xor ebx, ebx
mov dword [ebp + 0xc], eax
push dword [0x83a734]
mov esi, dword [ebp - 0x10]
push dword [0x83a730]
mov edi, dword [ebp - 0x14]
push esi
push edi
call fcn.005b9510
push 0
push 0xf4240
push esi
push edi
mov dword [ebp - 0x34], eax
call fcn.005b9510
imul eax, eax, 0xf4240
lea ecx, [ebp - 0x2c]
sub edi, eax
mov dword [ebp - 0x30], edi
call fcn.0071ed80
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x36c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
test esi, esi
jns 0x72fc83
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2714
jne 0x72fc83
lea ecx, [ebp - 0x24]
call fcn.0071ed80
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
sbb eax, dword [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0071b710
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jg 0x72fc6f
jl 0x72fc61
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jae 0x72fc6f
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0071b750
jmp 0x72fc7b
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.0071b710
lea ecx, [ebp - 0x24]
call fcn.0040a590
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040a590
test esi, esi
jns 0x72fcad
cmp ebx, 0x2714
je 0x72fbb1
push ebx
call fcn.0072f190
add esp, 4
test esi, esi
mov ecx, dword [ebp - 0xc]
setg al
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x72fcd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x2c
push esi
mov esi, ecx
cmp byte [esi + 0x21], 0
je 0x72fcf7
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
or eax, dword [ecx + 4]
je 0x72fcf7
mov eax, dword [esi]
push 1
push ecx
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x72fd66
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebp
mov ebp, dword [esp + 0x44]
push edi
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x72fd99
push ebp
push dword [esp + 0x48]
push dword [esp + 0x48]
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp byte [esi + 0x20], 0
mov edi, eax
je 0x72fd35
test edi, edi
jns 0x72fd5a
call ebx
cmp eax, 0x2714
je 0x72fd04
test edi, edi
jns 0x72fd5a
call ebx
cmp eax, 0x2733
jne 0x72fd4a
cmp byte [esi + 0x20], 0
je 0x72fd5a
jmp 0x72fd80
cmp eax, 0x274c
je 0x72fd80
push eax
call fcn.0072f190
add esp, 4
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x2c
ret 0xc
push 0
lea ecx, [esp + 8]
call fcn.0071a560
push 0x89fa2c
lea eax, [esp + 8]
push eax
call fcn.007328e6
push eax
lea ecx, [esp + 0x14]
call fcn.0071a560
push 0x89fa2c
lea eax, [esp + 0x14]
push eax
call fcn.007328e6
push 0
lea ecx, [esp + 0x14]
call fcn.00727890
push 0x8a0dc4
lea eax, [esp + 0x14]
push eax
call fcn.007328e6
int3

Function at 0x72fdc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7beba8
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x21], 0
je 0x72fe19
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
or eax, dword [ecx + 4]
je 0x72fe19
mov eax, dword [esi]
push 1
push ecx
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x72fe19
push 0
lea ecx, [ebp - 0x58]
call fcn.0071a560
push 0x89fa2c
lea eax, [ebp - 0x58]
push eax
call fcn.007328e6
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x10], 0x1c
nop word [eax + eax]
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x72fee7
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp byte [esi + 0x20], 0
mov edi, eax
je 0x72fe69
test edi, edi
jns 0x72fe6d
call ebx
cmp eax, 0x2714
je 0x72fe30
test edi, edi
js 0x72fe96
push dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x14]
call fcn.007243a0
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.00724580
lea ecx, [ebp + 0x14]
call fcn.00724520
jmp 0x72fed2
call ebx
cmp eax, 0x2733
jne 0x72fec2
cmp byte [esi + 0x20], 0
je 0x72fed2
push eax
lea ecx, [ebp - 0x84]
call fcn.0071a560
push 0x89fa2c
lea eax, [ebp - 0x84]
push eax
call fcn.007328e6
cmp eax, 0x274c
je 0x72fea5
push eax
call fcn.0072f190
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push 0
lea ecx, [ebp - 0x58]
call fcn.00727890
push 0x8a0dc4
lea eax, [ebp - 0x58]
push eax
call fcn.007328e6
int3
Function at 0x72ff00
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x2c
push esi
mov esi, ecx
cmp byte [esi + 0x21], 0
je 0x72ff27
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x18]
or eax, dword [ecx + 4]
je 0x72ff27
mov eax, dword [esi]
push 2
push ecx
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x72ff76
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebp
mov ebp, dword [esp + 0x44]
push edi
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x72ff90
push ebp
push dword [esp + 0x48]
push dword [esp + 0x48]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp byte [esi + 0x20], 0
mov edi, eax
je 0x72ff61
test edi, edi
jns 0x72ff6a
call ebx
cmp eax, 0x2714
je 0x72ff34
test edi, edi
jns 0x72ff6a
call fcn.0072f7c0
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x2c
ret 0xc
push 0
lea ecx, [esp + 8]
call fcn.0071a560
push 0x89fa2c
lea eax, [esp + 8]
push eax
call fcn.007328e6
push 0
lea ecx, [esp + 0x14]
call fcn.00727890
push 0x8a0dc4
lea eax, [esp + 0x14]
push eax
call fcn.007328e6
int3

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

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0xffffffff
je 0x730018
mov ecx, ebp
call fcn.00724970
push eax
mov ecx, ebp
call fcn.00724630
push eax
push dword [esp + 0x54]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_sendto]
cmp byte [edi + 0x20], 0
mov esi, eax
je 0x730003
test esi, esi
jns 0x73000c
call ebx
cmp eax, 0x2714
je 0x72ffc3
test esi, esi
jns 0x73000c
call fcn.0072f7c0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
push 0
lea ecx, [esp + 0x14]
call fcn.00727890
push 0x8a0dc4
lea eax, [esp + 0x14]
push eax
call fcn.007328e6
int3

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

Disassembly:
mov eax, dword [ecx + 8]
sub esp, 0x2c
cmp eax, 0xffffffff
je 0x73006a
push 1
push 1
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x730064
call fcn.0072f7c0
add esp, 0x2c
ret 4
push 0
lea ecx, [esp + 4]
call fcn.00727890
push 0x8a0dc4
lea eax, [esp + 4]
push eax
call fcn.007328e6
int3

Function at 0x730100
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [ecx + 8]
sub esp, 0x2c
cmp eax, 0xffffffff
je 0x730132
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x73012c
call fcn.0072f7c0
add esp, 0x2c
ret 0x10
push 0
lea ecx, [esp + 4]
call fcn.00727890
push 0x8a0dc4
lea eax, [esp + 4]
push eax
call fcn.007328e6
int3

Function at 0x75a170
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00759fef

Function at 0x75fa83
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0075f743

Function at 0x75fd42
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0075fc47
Function at 0x76708c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.005b9d80
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
push 0xf
mov ecx, dword [ebp + 8]
push ecx
call fcn.00602790
add esp, 8
cmp dword [ebp - 4], 0
jg 0x787601
mov edx, dword [ebp - 4]
push edx
call fcn.007879c0
add esp, 4
test eax, eax
je 0x787601
push 0xa
mov eax, dword [ebp + 8]
push eax
call fcn.00603080
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.005b9d80
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx], 6
je 0x787aec
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00788380
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x787aec
mov eax, dword [ebp - 4]
jmp 0x787b43
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
push 0xf
mov eax, dword [ebp + 8]
push eax
call fcn.00602790
add esp, 8
cmp dword [ebp - 4], 0
jg 0x787b40
mov ecx, dword [ebp - 4]
push ecx
call fcn.007879c0
add esp, 4
test eax, eax
je 0x787b40
push 0xa
mov edx, dword [ebp + 8]
push edx
call fcn.00603080
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x78a870
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.005b9d80
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x78a8b5
push 0x233
push str..crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call fcn.00614610
add esp, 0x14
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x78c920
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7bff58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.00461ac2
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x38], 0xffffffff
mov byte [ebx + 0x3c], 0
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, dword [ebx + 0x10]
mov dword [eax], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov edi, 0x8c8ae0
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x40], esi
and esi, 1
mov dword [ebx], vtable.Poco::Base64DecoderBuf.0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov eax, dword [ecx]
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], 0x8c8ce8
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x38]
mov ecx, 0x8c8ce8
mov dword [ebx + 0x50], eax
mov eax, 0x8c8be8
cmove eax, edi
mov dword [ebx + 0x54], eax
call fcn.007209d0
test esi, esi
je 0x78ca23
cmp byte [0x8c8be1], 0
jne 0x78ca61
or eax, 0xffffffff
mov ecx, 0x40
mov edi, 0x8c8be8
rep stosd dword es:[edi], eax
xor ecx, ecx
nop dword [eax]
movzx eax, byte [ecx + 0x857118]
mov byte [eax + 0x8c8be8], cl
inc ecx
cmp ecx, 0x40
jb 0x78ca00
mov byte [0x8c8c25], 0
mov byte [0x8c8be1], 1
jmp 0x78ca61
cmp byte [0x8c8be0], 0
jne 0x78ca61
or eax, 0xffffffff
mov ecx, 0x40
rep stosd dword es:[edi], eax
xor eax, eax
nop dword [eax + eax]
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ecx + 0x8c8ae0], al
inc eax
cmp eax, 0x40
jb 0x78ca40
mov byte [0x8c8b1d], 0
mov byte [0x8c8be0], 1
lea ecx, [ebp + 0xc]
call fcn.00720530
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x7a6900
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7beb68
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x7a696f
push 0x22
push str.cannot_allocate_thread_context_key
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
call fcn.0045c516
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.0071a4e0
push 0x89fa6c
lea eax, [ebp - 0x50]
push eax
call fcn.007328e6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10001460
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10207390]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x114]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x11c]
push 0x104
mov ebx, ecx
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.10085bc0
add esp, 0xc
cmp dword [esi + 0x18], 8
lea ebp, [esi + 4]
jb 0x100014ad
mov eax, dword [ebp]
jmp 0x100014af
mov eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 1
call edi
cmp dword [esi + 0x18], 8
jb 0x100014d2
mov ecx, dword [ebp]
jmp 0x100014d4
mov ecx, ebp
xor ebp, ebp
push ebp
push ebp
push eax
lea edx, [esp + 0x20]
push edx
push 0xffffffffffffffff
push ecx
push ebp
push 1
call edi
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
push eax
lea edx, [esp + 0x18]
call fcn.10001280
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push ebp
push esi
push 0x10001200
push ebp
push ebp
mov dword [esp + 0x28], ebp
call fcn.1008eb77
add esp, 0x18
cmp eax, ebp
mov dword [esi + 0x10], eax
pop edi
je 0x10001546
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000153e
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], ebp
mov eax, dword [ebx + 4]
mov al, byte [eax + 4]
jmp 0x1000154c
mov ecx, dword [ebx + 4]
mov al, byte [ecx + 4]
jmp 0x1000154c
mov edx, dword [ebx + 4]
mov al, byte [edx + 4]
mov ecx, dword [esp + 0x114]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1008545e
add esp, 0x10c
ret 8