Function at 0x10001471
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
push ebp
lea ebp, [esp - 0x5058]
mov eax, 0x5058
call fcn.100200e0
push 0xffffffffffffffff
push 0x10029add
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10035060]
xor eax, ebp
mov dword [ebp + 0x5054], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x5064]
mov esi, dword [eax + 0x14]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 0x5068]
xor edi, edi
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x506c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
jb 0x100014df
mov eax, dword [eax + 4]
jmp 0x100014e2
add eax, 4
push edi
push esi
push eax
push dword [ebp + 0x5060]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jne 0x1000176e
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], 0xf
call fcn.1000282f
mov dword [ebp - 4], edi
jmp 0x10001553
add dword [ebp - 0x18], eax
push eax
lea eax, [ebp + 0x4054]
push eax
lea esi, [ebp + 0x1c]
call fcn.10002036
push 0xffffffffffffffff
push edi
lea esi, [ebp + 0x38]
mov byte [ebp - 4], 1
call fcn.1000271c
push edi
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0
call fcn.1000247b
push str._r_n_r_n
mov eax, esi
push eax
call fcn.100020ac
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10001578
push edi
push 0x1000
lea eax, [ebp + 0x4054]
push eax
push dword [ebp + 0x5060]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, edi
jg 0x1000150e
push edi
push 1
jmp 0x10001766
mov eax, dword [ebp + 0x4c]
sub eax, ebx
mov dword [ebp - 0x14], edi
cmp eax, 4
jbe 0x100015c5
push 0xffffffffffffffff
lea eax, [ebx + 4]
push eax
lea eax, [ebp + 0x38]
push eax
lea esi, [ebp + 0x1c]
call fcn.100020cd
push dword [ebp - 0x24]
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x14], eax
mov eax, esi
push eax
call dword [ebp - 0x28]
pop ecx
pop ecx
push edi
mov ecx, esi
push 1
test al, al
jne 0x100015bc
call fcn.1000247b
jmp 0x10001570
mov byte [ebp - 4], 0
call fcn.1000247b
add ebx, 4
push ebx
push edi
lea eax, [ebp + 0x38]
push eax
lea esi, [ebp + 0x1c]
call fcn.100020cd
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 3
call fcn.1000226e
xor ebx, ebx
push edi
inc ebx
push ebx
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1000247b
push str.Content_Length:
lea eax, [ebp + 0x38]
push eax
call fcn.100020ac
cmp eax, 0xffffffff
je 0x10001764
push 0xffffffffffffffff
add eax, 0xf
push eax
lea eax, [ebp + 0x38]
push eax
lea esi, [ebp]
call fcn.100020cd
push 0x1002e8b8
mov eax, esi
push eax
mov byte [ebp - 4], 4
call fcn.100020ac
push eax
mov eax, esi
push edi
push eax
lea esi, [ebp + 0x1c]
call fcn.100020cd
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 5
call fcn.1000226e
push edi
push ebx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.1000247b
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x10001666
lea eax, [ebp + 4]
push eax
call fcn.10014633
pop ecx
mov dword [ebp - 0x2c], eax
cmp eax, edi
je 0x1000175a
mov esi, eax
sub esi, dword [ebp - 0x14]
mov dword [ebp - 0x14], esi
je 0x1000174d
cmp esi, edi
jl 0x1000175a
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x10], edi
je 0x1000169a
push edi
call dword [ebp - 0x10]
cmp esi, edi
jle 0x1000174b
jmp 0x100016aa
mov esi, dword [ebp - 0x14]
xor ebx, ebx
inc ebx
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x5060]
call fcn.100013b3
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
jle 0x10001749
add dword [ebp - 0x18], eax
push eax
lea eax, [ebp + 0x54]
push eax
lea esi, [ebp + 0x1c]
call fcn.10002036
push dword [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
call dword [ebp - 0x28]
pop ecx
pop ecx
mov bl, al
neg bl
push edi
sbb bl, bl
push 1
mov ecx, esi
inc bl
mov byte [ebp - 4], 4
call fcn.1000247b
test bl, bl
jne 0x10001743
cmp dword [ebp - 0x10], edi
je 0x10001732
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fidiv dword [ebp - 0x2c]
fmul qword [0x1002fe70]
call fcn.100296c0
mov esi, eax
cmp esi, 0x64
jne 0x10001726
push 0x63
pop esi
cmp dword [ebp - 0x20], esi
je 0x10001732
push esi
call dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x34]
cmp eax, edi
mov dword [ebp - 0x14], eax
jg 0x100016a4
mov esi, dword [ebp - 0x14]
xor ebx, ebx
inc ebx
cmp esi, edi
jne 0x1000175a
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x10], edi
je 0x1000175a
push 0x64
call dword [ebp - 0x10]
push edi
push ebx
lea ecx, [ebp]
call fcn.1000247b
push edi
push ebx
lea ecx, [ebp + 0x38]
call fcn.1000247b
push dword [ebp - 0x18]
push str.any_http_readed__d_bytes
call fcn.10012b90
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5054]
xor ecx, ebp
call fcn.10014392
add ebp, 0x5058
leave
ret