Function at 0x51f350
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0a77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x6754d4]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.0053f3d0
mov eax, dword [esi + 0xb0]
mov ebx, 2
cmp dword [eax + 4], ebx
jne 0x51f3db
mov ecx, dword [esi + 0x3190]
cmp ecx, edi
je 0x51f3b1
cmp dword [esi + 0x3194], edi
je 0x51f3db
lea edx, [esi + 0x3184]
push 1
push edx
lea edx, [esi + 0x3194]
push edx
mov edx, dword [eax + 0x118]
push edx
mov edx, dword [eax + 0x114]
push edx
add eax, 8
push ecx
push eax
mov ecx, esi
call fcn.00524d00
push 0x679a28
lea ecx, [ebp - 0x14]
call fcn.0059adab
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 2
cmp dword [eax + 4], 1
jne 0x51f414
mov eax, dword [esi + 0x30f0]
cmp eax, edi
je 0x51f414
push eax
lea ecx, [ebp - 0x14]
push 0x64efb0
push ecx
call fcn.00593b08
add esp, 0xc
mov edx, dword [esi + 0xb0]
cmp dword [edx + 4], ebx
jne 0x51f437
mov eax, dword [esi + 0x3184]
lea ecx, [ebp - 0x14]
push eax
push 0x64efb0
push ecx
call fcn.00593b08
add esp, 0xc
mov edx, dword [esi + 0x3170]
cmp dword [edx - 8], edi
je 0x51f464
mov eax, dword [esi + 0x80]
mov dl, byte [eax + 0x172]
test dl, dl
sete al
test al, al
je 0x51f464
cmp dword [esi + 0x3174], edi
sete al
test al, al
jne 0x51f486
mov ecx, dword [esi + 0x3184]
cmp dword [ecx - 8], edi
je 0x51f47f
mov edx, dword [esi + 0xb0]
cmp dword [edx + 4], ebx
sete al
test al, al
jne 0x51f486
mov ebx, 0x679a28
jmp 0x51f48b
mov ebx, 0x66aef0
mov eax, dword [esi + 0x84]
cmp eax, edi
je 0x51f49a
mov edi, dword [eax + 0xc]
jmp 0x51f4a3
mov ecx, dword [esi + 0x80]
mov edi, dword [ecx + 0x14]
test eax, eax
jne 0x51f4c3
mov edx, dword [esi + 0x80]
lea ecx, [ebp - 0x20]
mov eax, dword [edx]
push eax
call fcn.0059adab
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
push ecx
push ebx
push edi
push eax
lea edx, [ebp - 0x18]
push 0x66b074
push edx
call fcn.00593b08
mov al, byte [ebp - 0x1c]
add esp, 0x18
test al, 1
mov dword [ebp - 4], 2
je 0x51f4f3
lea ecx, [ebp - 0x20]
call fcn.0059ad3d
mov ecx, esi
mov dword [esi + 0x5c], 0x10
call fcn.00509a70
mov eax, dword [ebp - 0x18]
push 0x66b064
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 0x30c4]
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00508e20
mov edi, eax
test edi, edi
jne 0x51f568
mov eax, dword [ebp + 8]
test eax, eax
je 0x51f568
push edi
mov ecx, esi
call fcn.0051e900
lea ecx, [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.0059ad3d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0059ad3d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0059ad3d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0059ad3d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4