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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100353bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x10]
push ebx
push esi
mov esi, dword [eax]
xor edx, edx
mov dword [ebp - 0x48], 0x1003d14c
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], edx
cmp dword [esi + 0x384], edx
je 0x1002677f
mov dword [ebp - 0x48], 0x1003d140
mov eax, dword [ebp + 8]
sub eax, edx
push 3
pop ecx
je 0x100267d8
sub eax, ecx
je 0x100267ce
dec eax
je 0x100267ca
dec eax
je 0x100267c3
dec eax
je 0x100267aa
dec eax
je 0x100267d8
push 0x1003d120
push esi
call fcn.1001e441
pop ecx
jmp 0x100269fe
push 6
cmp dword [esi + 0x3bc], edx
je 0x100267cf
mov eax, edi
call fcn.100266db
mov dword [ebp - 0x4c], eax
jmp 0x100269fe
mov dword [edi], ecx
jmp 0x100269ff
push 4
jmp 0x100267b4
push ecx
mov esi, edi
call fcn.10026715
jmp 0x100267bb
inc dword [edi + 0x18]
mov eax, dword [edi + 0x18]
cmp eax, dword [edi + 0x20]
jle 0x100267f3
mov dword [edi + 8], 0xffffff9e
mov dword [edi], ecx
xor eax, eax
jmp 0x10026a02
lea ebx, [edi + 0x160]
mov eax, ebx
cmp dword [esi + 0x3bc], edx
je 0x1002683d
push 2
pop ecx
call fcn.10025c00
mov eax, dword [ebx]
mov ecx, dword [edi + 0x10]
mov ecx, dword [ecx]
add eax, 4
mov dword [ecx + 0x114], eax
mov eax, dword [esi + 0x4890]
mov ecx, dword [esi + 0x4894]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x10026845
push ecx
push eax
push esi
call fcn.1001c414
add esp, 0xc
jmp 0x10026845
xor ecx, ecx
inc ecx
call fcn.10025c00
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x50]
push ecx
push eax
mov eax, dword [edi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x4860]
inc eax
push eax
push esi
call fcn.10006de2
add esp, 0x18
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x10026a02
push eax
push dword [ebp - 0x48]
push eax
push dword [ebp - 0x50]
mov eax, dword [ebx]
push 0x1003d114
push dword [edi + 0x154]
add eax, 2
push eax
call sym.libcurl.dll_curl_msnprintf
mov eax, dword [ebp - 0x50]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10026896
sub eax, ecx
mov ecx, dword [ebp - 0x48]
lea edx, [ecx + 1]
mov dword [ebp - 0x48], edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x100268a8
sub ecx, dword [ebp - 0x48]
cmp dword [esi + 0x1f4], 0
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x48], eax
jne 0x100269b6
cmp dword [esi + 0x3bc], 0
je 0x100268fb
mov eax, dword [esi + 0x4890]
mov esi, dword [esi + 0x4894]
mov ecx, eax
and ecx, esi
cmp ecx, 0xffffffff
je 0x100268fb
push esi
push eax
push 0x10039c6c
lea eax, [ebp - 0x44]
push 0x40
push eax
call sym.libcurl.dll_curl_msnprintf
add esp, 0x14
jmp 0x10026902
push 0x30
pop eax
mov word [ebp - 0x44], ax
mov eax, dword [ebx]
add eax, dword [ebp - 0x48]
mov esi, 0x1003cf24
push eax
push dword [ebp - 0x48]
push edi
call fcn.10025e6f
add dword [ebp - 0x48], eax
mov eax, dword [ebx]
add eax, dword [ebp - 0x48]
lea esi, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
push edi
call fcn.10025e6f
push dword [edi + 0x158]
add dword [ebp - 0x48], eax
push 0x100353e8
mov eax, esi
push 0x40
push eax
call sym.libcurl.dll_curl_msnprintf
mov eax, dword [ebx]
add eax, dword [ebp - 0x48]
mov esi, 0x1003cf68
push eax
push dword [ebp - 0x48]
push edi
call fcn.10025e6f
add dword [ebp - 0x48], eax
mov eax, dword [ebx]
add eax, dword [ebp - 0x48]
lea esi, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
push edi
call fcn.10025e6f
add dword [ebp - 0x48], eax
add esp, 0x40
push dword [edi + 0x1c]
mov eax, esi
push 0x100353e8
push 0x40
push eax
call sym.libcurl.dll_curl_msnprintf
mov eax, dword [ebx]
add eax, dword [ebp - 0x48]
mov esi, 0x1003d10c
push eax
push dword [ebp - 0x48]
push edi
call fcn.10025e6f
add dword [ebp - 0x48], eax
mov eax, dword [ebx]
add eax, dword [ebp - 0x48]
lea esi, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
push edi
call fcn.10025e6f
mov esi, dword [ebp - 0x54]
add esp, 0x28
add dword [ebp - 0x48], eax
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x4c]
push dword [eax + 0x10]
push dword [eax + 0x18]
push 0
push dword [ebp - 0x48]
push dword [ebx]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, dword [ebp - 0x48]
je 0x100269f5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [edi + 0x10]
call fcn.1002396e
push eax
push 0x100362f8
push esi
call fcn.1001e441
add esp, 0x14
push dword [ebp - 0x50]
call dword [0x1003532c]
pop ecx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10033b66
leave
ret