Function at 0x10002760
Capabilities:
Connect socket
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Set socket configuration

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 0x10027543
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1220
call fcn.1000fd30
mov eax, dword [0x10036054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x11b8], eax
mov dword [ebp - 0x11d0], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x119c], eax
mov dword [ebp - 4], 0
call fcn.1000dead
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x11b4], edx
call fcn.1000de96
push dword [ebp - 0x11b4]
mov esi, edx
mov edi, eax
push dword [ebp - 0x18]
push esi
push edi
call fcn.10026f40
push 0
push 0x3b9aca00
push edx
push eax
call fcn.1000f850
push dword [ebp - 0x11b4]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x18]
mov dword [ebp - 0x11c0], edx
push esi
push edi
call fcn.10027130
push 0
push 0x3b9aca00
push edx
push eax
call fcn.1000f850
push dword [ebp - 0x11b4]
push dword [ebp - 0x18]
push edx
push eax
call fcn.10026f40
mov ecx, eax
mov esi, edx
add ecx, dword [ebp - 0x40]
mov edx, 0xf4240
mov eax, dword [ebx + 0x24]
adc esi, dword [ebp - 0x11c0]
mul edx
mov edx, 0xf4240
mov edi, eax
mov eax, dword [ebx + 0x20]
mul edx
add edi, edx
add eax, ecx
mov edx, str.http
mov dword [ebp - 0x11c0], eax
adc edi, esi
mov dword [ebp - 0x11c8], edi
mov edi, dword [ebp - 0x1c]
lea ecx, [edi + 4]
call fcn.100095b0
test al, al
je 0x100042c3
mov al, byte [edi + 1]
xorps xmm0, xmm0
movups xmmword [ebp - 0x158], xmm0
movups xmmword [ebp - 0x148], xmm0
test al, al
jne 0x1000289f
mov eax, 2
jmp 0x100028ac
cmp al, 1
jne 0x100042a2
mov eax, 0x17
cmp dword [edi + 0xa4], 0
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], 1
jne 0x100028cc
mov eax, 0x10032d1c
jmp 0x100028dd
cmp dword [edi + 0xa8], 0x10
lea eax, [edi + 0x94]
jb 0x100028dd
mov eax, dword [eax]
cmp dword [edi + 0x90], 0x10
lea esi, [edi + 0x7c]
mov ecx, esi
jb 0x100028ed
mov ecx, dword [esi]
lea edx, [ebp - 0x1194]
push edx
lea edx, [ebp - 0x158]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x100042de
mov eax, dword [sym.imp.WS2_32.dll_freeaddrinfo]
xorps xmm0, xmm0
movlpd qword [ebp - 0x138], xmm0
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x1194]
mov dword [ebp - 0x11b4], eax
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 2
lea eax, [edi + 0xac]
mov ecx, dword [eax + 0x10]
mov byte [ebp - 0x20], 0x3f
cmp ecx, 0x7fffffff
je 0x10004329
cmp dword [eax + 0x14], 0x10
jb 0x10002958
mov eax, dword [eax]
push 1
lea edx, [ebp - 0x20]
push edx
push ecx
push eax
push ecx
push dword [ebp - 0x11d0]
lea ecx, [ebp - 0x80]
call fcn.10009f90
lea eax, [edi + 0xc4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x80]
call fcn.10006e60
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x12c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x11c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0x10
jb 0x100029e2
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100029d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000432e
push ecx
push edx
call fcn.1000f0df
add esp, 8
push 4
mov dword [ebp - 0xdc], 0
lea ecx, [ebp - 0xdc]
push str.Host
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0xf
mov byte [ebp - 0xdc], 0
call fcn.10007770
push esi
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 6
call fcn.10006f30
mov byte [ebp - 4], 7
lea eax, [ebp - 0xdc]
mov ecx, dword [ebx + 0x18]
push eax
cmp ecx, dword [ebx + 0x1c]
je 0x10002a59
call fcn.10009d10
add dword [ebx + 0x18], 0x30
jmp 0x10002a62
push ecx
lea ecx, [ebx + 0x14]
call fcn.10009820
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.10004970
mov eax, dword [ebx + 0x10]
lea esi, [ebp - 0x23]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov dword [ebp - 0x18], ecx
nop
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x18]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x10002a80
lea eax, [ebp - 0x23]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp esi, eax
je 0x10002ad6
sub eax, esi
lea ecx, [ebp - 0x58]
push eax
push esi
call fcn.10007770
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xdc]
push 0xe
mov dword [ebp - 0xdc], 0
push str.Content_Length
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0xf
mov byte [ebp - 0xdc], 0
call fcn.10007770
movups xmm0, xmmword [ebp - 0x58]
mov byte [ebp - 0x58], 0
movups xmmword [ebp - 0xc4], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0xb4], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 4], 9
lea eax, [ebp - 0xdc]
mov ecx, dword [ebx + 0x18]
push eax
cmp ecx, dword [ebx + 0x1c]
je 0x10002b59
call fcn.10009d10
add dword [ebx + 0x18], 0x30
jmp 0x10002b62
push ecx
lea ecx, [ebx + 0x14]
call fcn.10009820
lea ecx, [ebp - 0xdc]
call fcn.10004970
mov byte [ebp - 4], 5
cmp dword [edi + 0x44], 0
je 0x10002d60
cmp dword [edi + 0x48], 0x10
lea ecx, [edi + 0x34]
lea edx, [ecx + 0x10]
mov edx, dword [edx]
jb 0x10002b91
mov eax, dword [ecx]
mov ecx, eax
add edx, eax
jmp 0x10002b93
add edx, ecx
push edx
push ecx
lea ecx, [ebp - 0x38]
call fcn.10008c50
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 0x14]
mov eax, ecx
mov edx, dword [esi + 0x10]
sub eax, edx
cmp eax, 6
jb 0x10002c43
lea eax, [edx + 6]
mov edi, esi
mov dword [esi + 0x10], eax
cmp ecx, 0x10
jb 0x10002bc8
mov edi, dword [esi]
cmp edi, 0x10032d5e
jae 0x10002bf7
lea eax, [edi + edx]
cmp eax, str.Basic
jb 0x10002bf7
cmp edi, str.Basic
ja 0x10002beb
mov dword [ebp - 0x18], 0
jmp 0x10002bfe
mov eax, edi
sub eax, str.Basic
mov dword [ebp - 0x18], eax
jmp 0x10002bfe
mov dword [ebp - 0x18], 6
lea eax, [edx + 1]
push eax
lea ecx, [edi + 6]
push edi
push ecx
call fcn.10010370
add esp, 0xc
push dword [ebp - 0x18]
push str.Basic
push edi
call fcn.10010370
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov eax, 6
sub eax, edx
push eax
lea eax, [edx + 0x10032d5e]
lea ecx, [edi + edx]
push eax
push ecx
call fcn.10010370
mov edi, dword [ebp - 0x1c]
add esp, 0xc
jmp 0x10002c5a
push 6
sub esp, 8
mov byte [ebp - 0x40], 0
mov ecx, esi
push dword [ebp - 0x40]
push 6
call fcn.1000a820
mov esi, eax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x11f0], xmm0
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x11d8], xmm0
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xdc]
push 0xd
mov dword [ebp - 0xdc], 0
push str.Authorization
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0xf
mov byte [ebp - 0xdc], 0
call fcn.10007770
movups xmm0, xmmword [ebp - 0x11f0]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
movups xmmword [ebp - 0xc4], xmm0
mov byte [ebp - 0x58], 0
movq xmm0, qword [ebp - 0x11d8]
movq qword [ebp - 0xb4], xmm0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xdc]
mov ecx, dword [ebx + 0x18]
push eax
cmp ecx, dword [ebx + 0x1c]
je 0x10002d14
call fcn.10009d10
add dword [ebx + 0x18], 0x30
jmp 0x10002d1d
push ecx
lea ecx, [ebx + 0x14]
call fcn.10009820
lea ecx, [ebp - 0xdc]
call fcn.10004970
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x10002d60
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002d56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004333
push ecx
push edx
call fcn.1000f0df
add esp, 8
lea edx, [ebx + 0x14]
lea ecx, [ebp - 0x11f8]
call fcn.100024e0
mov esi, eax
mov edx, dword [ebp - 0x119c]
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xd
call fcn.10002300
add esp, 4
push esi
push eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
push dword [ebp - 0x11d0]
call fcn.10009db0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x44]
mov eax, edx
mov ecx, dword [ebp - 0x48]
sub eax, ecx
cmp eax, 2
jb 0x10002dd6
lea eax, [ecx + 2]
cmp edx, 0x10
mov dword [ebp - 0x48], eax
mov edx, 0xa0d
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0x58]
jmp 0x10002dee
push 2
push 0x10032cf0
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x58]
push dword [ebp - 0x40]
push 2
call fcn.10009b60
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x10002e6c
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002e62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004338
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x10002eb6
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002eac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004338
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x11e4]
cmp ecx, 0x10
jb 0x10002f06
mov edx, dword [ebp - 0x11f8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002efc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004338
push ecx
push edx
call fcn.1000f0df
add esp, 8
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x98]
mov eax, dword [ebp - 0x88]
xorps xmm0, xmm0
cmovae ecx, dword [ebp - 0x98]
add eax, ecx
mov dword [ebp - 0x11e8], 0
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x11e4], 0xf
cmovae ecx, dword [ebp - 0x98]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x11f8], 0
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x60], 0
call fcn.10008b40
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x14
push dword [ebp - 0x11d0]
push dword [eax + 4]
push dword [eax]
push dword [ebp - 0x64]
call fcn.1000a090
mov al, byte [edi + 1]
test al, al
jne 0x10002f96
mov eax, 2
jmp 0x10002fa3
cmp al, 1
jne 0x100042a2
mov eax, 0x17
push 6
push 1
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
mov dword [ebp - 0x11b0], edi
cmp edi, 0xffffffff
je 0x1000433d
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 1
push eax
push 0x8004667e
push edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x1000436c
mov byte [ebp - 4], 0x15
cmp dword [ebx + 0x24], eax
jl 0x10003007
jg 0x10002fee
cmp dword [ebx + 0x20], eax
jb 0x10003007
push dword [ebp - 0x11c8]
push dword [ebp - 0x11c0]
call fcn.10004510
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
jmp 0x10003015
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 0x11b4]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
push esi
push eax
push edi
mov dword [ebp - 0x119c], eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10003055
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x10003091
push esi
push dword [ebp - 0x119c]
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10003035
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
sub esi, eax
mov dword [ebp - 0x1c], esi
je 0x10003159
mov dword [ebp - 0x18], eax
nop dword [eax]
cmp dword [ebx + 0x24], 0
jl 0x100030f0
jg 0x1000307e
cmp dword [ebx + 0x20], 0
jb 0x100030f0
push dword [ebp - 0x11c8]
push dword [ebp - 0x11c0]
call fcn.10004510
jmp 0x100030f5
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2733
jne 0x100043ef
push dword [ebp - 0x18]
lea ecx, [ebp - 0x11b0]
push dword [ebp - 0x1c]
push 1
call fcn.10002160
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x1007
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x100043a7
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x100043cd
jmp 0x10003055
or eax, 0xffffffff
or edx, eax
push edx
push eax
push 1
lea ecx, [ebp - 0x11b0]
call fcn.10002160
push 0
push esi
push dword [ebp - 0x18]
push edi
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10003144
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1000313b
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
je 0x10003118
cmp esi, 0xffffffff
je 0x10004415
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], esi
sub eax, esi
mov dword [ebp - 0x1c], eax
mov esi, eax
test eax, eax
jne 0x10003070
mov dword [ebp - 0x10c], 0
mov word [ebp - 0x3c], 0xa0d
mov dword [ebp - 0x5c], 0xa0d0a0d
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0xf
mov byte [ebp - 0x10c], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
xor eax, eax
mov dword [ebp - 0x9c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x11a8], eax
xor esi, esi
movq qword [ebp - 0xa4], xmm0
mov dword [ebp - 0x11a4], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
xor al, al
mov byte [ebp - 4], 0x17
mov byte [ebp - 0x119d], al
mov byte [ebp - 0x20], al
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x11a9], al
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x11fc], 1
jmp 0x1000322e
mov esi, dword [ebp - 0x11a4]
cmp dword [ebx + 0x24], 0
jl 0x1000324f
jg 0x1000323c
cmp dword [ebx + 0x20], 0
jb 0x1000324f
push dword [ebp - 0x11c8]
push dword [ebp - 0x11c0]
call fcn.10004510
jmp 0x10003254
or eax, 0xffffffff
or edx, eax
push edx
push eax
push 0
lea ecx, [ebp - 0x11b0]
call fcn.10002160
push 0
push 0x1000
lea eax, [ebp - 0x1190]
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x119c], eax
cmp eax, 0xffffffff
jne 0x100032c7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x100032b2
push 0
push 0x1000
lea eax, [ebp - 0x1190]
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
mov dword [ebp - 0x119c], esi
cmp esi, 0xffffffff
je 0x10003283
mov eax, dword [ebp - 0x119c]
mov esi, dword [ebp - 0x11a4]
cmp eax, 0xffffffff
je 0x100044dc
test eax, eax
je 0x10004154
push dword [ebp - 0x11d0]
lea ecx, [ebp - 0x1190]
add eax, ecx
push eax
mov eax, ecx
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0x11a8]
call fcn.1000a090
cmp byte [ebp - 0x119d], 0
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x11a4], ecx
jne 0x10003a75
mov edx, dword [ebp - 0xa0]
mov esi, edx
mov eax, esi
mov dword [ebp - 0x11a8], edx
sub eax, ecx
cmp eax, 4
jl 0x100033b5
lea eax, [esi - 4]
mov dword [ebp - 0x119c], ecx
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x11bc], eax
mov eax, dword [edi]
cmp eax, dword [ecx]
je 0x1000335c
cmp al, byte [ecx]
jne 0x10003360
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x10003360
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x10003360
mov al, byte [edi + 3]
mov edi, ecx
cmp al, byte [edi + 3]
jne 0x10003360
xor eax, eax
jmp 0x10003365
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0x11b0]
test eax, eax
mov dword [ebp - 0x119c], ecx
sete al
test al, al
jne 0x100033af
nop word [eax + eax]
mov eax, dword [ebp - 0x119c]
cmp eax, dword [ebp - 0x11bc]
je 0x100033b5
inc eax
mov dword [ebp - 0x119c], eax
lea eax, [ebp - 0x5c]
mov edi, dword [ebp - 0x119c]
mov eax, dword [eax]
cmp eax, dword [edi]
mov edi, dword [ebp - 0x11b0]
sete al
test al, al
je 0x10003380
mov esi, dword [ebp - 0x119c]
cmp esi, edx
je 0x10003e61
push ecx
lea eax, [esi + 2]
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.10008fd0
lea ecx, [esi + 4]
mov byte [ebp - 4], 0x19
mov esi, dword [ebp - 0x11a4]
cmp esi, ecx
je 0x10003409
mov eax, dword [ebp - 0x11a8]
sub eax, ecx
push eax
push ecx
push esi
mov dword [ebp - 0x11a8], eax
call fcn.10010370
mov eax, dword [ebp - 0x11a8]
add esp, 0xc
add eax, esi
mov dword [ebp - 0x11a8], eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
setae byte [ebp - 0x119d]
add eax, ecx
cmp byte [ebp - 0x119d], 0
lea ecx, [ebp - 0x58]
cmovne ecx, dword [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.10009090
add esp, 8
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0xb0], 0x10
push dword [ebp - 0xb4]
mov esi, dword [ebp - 0xd0]
mov dword [ebp - 0x114], eax
mov ax, word [ebp - 0xc8]
mov word [ebp - 0x110], ax
lea eax, [ebp - 0xc4]
cmovae eax, dword [ebp - 0xc4]
push eax
call fcn.10007770
nop dword [eax + eax]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
add eax, ecx
lea ecx, [ebp - 0x18c]
push eax
push esi
call fcn.100092e0
add esp, 8
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x188]
mov esi, dword [ebp - 0x18c]
lea ecx, [ebp - 0x38]
push eax
mov dword [ebp - 0x11c4], esi
call fcn.10006f30
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x11b0]
setae cl
cmovae edx, eax
test cl, cl
je 0x100034f4
mov ecx, dword [ebp - 0x28]
add ecx, eax
jmp 0x100034fd
lea ecx, [ebp - 0x38]
add ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x119c], ecx
cmp eax, ecx
je 0x10003549
sub edx, eax
mov esi, ecx
mov dword [ebp - 0x11bc], edx
mov edi, edx
mov ch, byte [eax]
mov cl, ch
sub cl, 0x41
mov byte [ebp - 0x119d], cl
mov cl, ch
add cl, 0x20
cmp byte [ebp - 0x119d], 0x19
movzx edx, cl
movzx ecx, ch
cmova edx, ecx
mov byte [edi + eax], dl
inc eax
cmp eax, esi
jne 0x10003513
mov esi, dword [ebp - 0x11c4]
mov edi, dword [ebp - 0x11b0]
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x80]
call fcn.10006f30
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
setae byte [ebp - 0x119d]
cmovae ecx, eax
cmp edx, 0x11
jne 0x1000365b
mov edx, str.transfer_encoding
mov edi, 0xd
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10003597
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10003586
mov al, byte [ecx]
mov dword [ebp - 0x119c], edi
mov edi, dword [ebp - 0x11b0]
cmp al, byte [edx]
jne 0x100035ce
cmp dword [ebp - 0x119c], 0xfffffffd
je 0x100035ca
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100035ce
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100035ce
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100035ce
xor eax, eax
jmp 0x100035d3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10003655
cmp dword [ebp - 0x6c], 0x10
lea ecx, [ebp - 0x80]
cmovae ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x70], 7
jne 0x1000443f
mov eax, dword [ecx]
mov edx, str.chunked
mov dword [ebp - 0x119c], 3
cmp eax, dword [edx]
jne 0x10003611
add ecx, 4
mov dword [ebp - 0x119c], 0xffffffff
add edx, 4
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1000363c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1000363c
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1000363c
cmp dword [ebp - 0x119c], 0xffffffff
je 0x10003638
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1000363c
xor eax, eax
jmp 0x10003641
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000443f
mov byte [ebp - 0x11a9], 1
jmp 0x1000375d
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
cmp byte [ebp - 0x119d], 0
lea ecx, [ebp - 0x38]
cmovne ecx, eax
cmp edx, 0xe
jne 0x1000375d
mov edx, str.content_length
mov edi, 0xa
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10003691
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10003680
mov al, byte [ecx]
mov dword [ebp - 0x119c], edi
mov edi, dword [ebp - 0x11b0]
cmp al, byte [edx]
jne 0x100036c8
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100036c8
cmp dword [ebp - 0x119c], 0xfffffffe
je 0x100036c4
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100036c8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100036c8
xor eax, eax
jmp 0x100036cd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000375d
call fcn.100150a7
cmp dword [ebp - 0x6c], 0x10
mov ecx, eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x11bc], ecx
cmovae eax, dword [ebp - 0x80]
push 0xa
mov dword [ecx], 0
lea ecx, [ebp - 0x1198]
push ecx
push eax
mov dword [ebp - 0x11c4], eax
call fcn.10014a9f
mov ecx, eax
add esp, 0xc
mov eax, dword [ebp - 0x11c4]
mov dword [ebp - 0x40], ecx
cmp eax, dword [ebp - 0x1198]
je 0x10004486
mov eax, dword [ebp - 0x11bc]
cmp dword [eax], 0x22
je 0x1000447c
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0xe8]
mov byte [ebp - 0x20], 1
cmp ecx, eax
jbe 0x1000375d
cmp ecx, 0x7fffffff
ja 0x10004477
push ecx
lea ecx, [ebp - 0xe8]
call fcn.10007630
movups xmm0, xmmword [ebp - 0x38]
mov byte [ebp - 0x38], 0
movups xmmword [ebp - 0x1230], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [ebp - 0x1220], xmm0
movups xmm0, xmmword [ebp - 0x80]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
movups xmmword [ebp - 0x1218], xmm0
mov byte [ebp - 0x80], 0
movq xmm0, qword [ebp - 0x70]
movq qword [ebp - 0x1208], xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x1230]
mov ecx, dword [ebp - 0xf0]
push eax
cmp ecx, dword [ebp - 0xec]
je 0x100037d8
call fcn.10009d10
add dword [ebp - 0xf0], 0x30
jmp 0x100037e4
push ecx
lea ecx, [ebp - 0xf4]
call fcn.10009820
lea ecx, [ebp - 0x1230]
call fcn.10004970
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
add eax, ecx
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x6c]
cmp esi, eax
je 0x100038af
cmp ecx, 0x10
jb 0x1000383f
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003835
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000432e
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0x10
jb 0x10003889
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000387f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000432e
push ecx
push edx
call fcn.1000f0df
add esp, 8
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0x1a
call fcn.10004970
jmp 0x10003490
cmp ecx, 0x10
jb 0x100038e0
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100038d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000432e
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0x10
jb 0x1000392a
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003920
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000432e
push ecx
push edx
call fcn.1000f0df
add esp, 8
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.10004970
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0xb0]
mov byte [ebp - 0x119d], 1
cmp ecx, 0x10
jb 0x1000398c
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003982
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000432e
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x100039c4
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100039ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000432e
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov esi, dword [ebp - 0x11a8]
mov ecx, dword [ebp - 0x11a4]
cmp byte [ebp - 0x11a9], 0
je 0x10003ce1
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
test eax, eax
je 0x10003a86
mov edx, dword [ebp - 0x1c]
mov eax, esi
push dword [ebp - 0x11d0]
sub eax, ecx
cmp eax, edx
cmovb edx, eax
mov dword [ebp - 0x119c], edx
lea eax, [ecx + edx]
push eax
push ecx
push dword [ebp - 0xe4]
lea ecx, [ebp - 0xe8]
call fcn.1000a090
mov ecx, dword [ebp - 0x11a4]
mov eax, dword [ebp - 0x119c]
add eax, ecx
cmp ecx, eax
je 0x10003a4c
sub esi, eax
push esi
push eax
push ecx
call fcn.10010370
mov ecx, dword [ebp - 0x11a4]
add esp, 0xc
add esi, ecx
mov dword [ebp - 0x11a8], esi
mov dword [ebp - 0xa0], esi
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x119c]
mov edx, dword [ebp - 0x18]
movzx edx, dl
cmove edx, dword [ebp - 0x11fc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
cmp ecx, esi
jne 0x100039e3
jmp 0x10003228
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0x11a8], esi
jmp 0x100039d0
test dl, dl
je 0x10003ad8
mov eax, esi
sub eax, ecx
cmp eax, 2
jb 0x10003228
lea eax, [ebp - 0x3c]
mov ax, word [eax]
cmp ax, word [ecx]
sete al
test al, al
je 0x10004490
xor al, al
mov dword [ebp - 0x18], eax
lea eax, [ecx + 2]
cmp ecx, eax
je 0x10003ad8
sub esi, eax
push esi
push eax
push ecx
call fcn.10010370
mov ecx, dword [ebp - 0x11a4]
add esp, 0xc
add esi, ecx
mov dword [ebp - 0x11a8], esi
mov dword [ebp - 0xa0], esi
mov eax, esi
sub eax, ecx
cmp eax, 2
jl 0x10003b2d
lea eax, [ebp - 0x3c]
movzx eax, byte [eax]
lea edx, [esi - 2]
cmp al, byte [ecx]
jne 0x10003afe
lea eax, [ebp - 0x3c]
movzx eax, byte [eax + 1]
cmp al, byte [ecx + 1]
jne 0x10003afe
xor eax, eax
jmp 0x10003b03
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x10003b25
nop dword [eax]
cmp ecx, edx
je 0x10003b27
inc ecx
lea eax, [ebp - 0x3c]
mov ax, word [eax]
cmp ax, word [ecx]
sete al
test al, al
je 0x10003b10
mov esi, ecx
mov ecx, dword [ebp - 0x11a4]
cmp esi, dword [ebp - 0x11a8]
je 0x10003228
mov eax, esi
mov dword [ebp - 0x38], 0
sub eax, ecx
mov dword [ebp - 0x28], 0
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.1000abb0
mov eax, dword [ebp - 0x11a4]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x11c4], ecx
mov byte [ebp - 4], 0x20
cmp eax, esi
je 0x10003bd2
nop dword [eax]
mov dl, byte [eax]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0x130], dl
cmp ecx, dword [ebp - 0x24]
jae 0x10003bab
cmp dword [ebp - 0x24], 0x10
lea eax, [ecx + 1]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x10003bc7
push dword [ebp - 0x130]
mov byte [ebp - 0x11d0], 0
push dword [ebp - 0x11d0]
push ecx
lea ecx, [ebp - 0x38]
call fcn.10009a20
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, esi
jne 0x10003b80
lea ecx, [esi + 2]
mov byte [ebp - 4], 0x21
mov esi, dword [ebp - 0x11a4]
cmp esi, ecx
je 0x10003c10
mov eax, dword [ebp - 0x11a8]
sub eax, ecx
push eax
push ecx
push esi
mov dword [ebp - 0x11a8], eax
call fcn.10010370
mov eax, dword [ebp - 0x11a8]
add esp, 0xc
add eax, esi
mov dword [ebp - 0x11a8], eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x24], 0x10
lea esi, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
cmovae esi, dword [ebp - 0x38]
setae dl
add eax, esi
test dl, dl
lea esi, [ebp - 0x38]
cmovne esi, dword [ebp - 0x38]
cmp esi, eax
je 0x10003f9d
mov dl, byte [esi]
mov cl, dl
sub cl, 0x30
cmp cl, 9
ja 0x10003c48
movsx ecx, dl
sub ecx, 0x30
jmp 0x10003c6e
mov cl, dl
sub cl, 0x41
cmp cl, 5
ja 0x10003c5a
movsx ecx, dl
sub ecx, 0x37
jmp 0x10003c6e
mov cl, dl
sub cl, 0x61
cmp cl, 5
ja 0x100044b1
movsx ecx, dl
sub ecx, 0x57
push eax
lea eax, [esi + 1]
push eax
call fcn.10009640
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10003f9d
mov ecx, dword [ebp - 0x11a4]
mov esi, dword [ebp - 0x11a8]
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100039e0
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x38]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003cc6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d2
push ecx
push edx
call fcn.1000f0df
mov ecx, dword [ebp - 0x11a4]
add esp, 8
mov esi, dword [ebp - 0x11a8]
jmp 0x100039dd
push dword [ebp - 0x11d0]
push esi
push ecx
push dword [ebp - 0xe4]
lea ecx, [ebp - 0xe8]
call fcn.1000a090
cmp byte [ebp - 0x20], 0
mov esi, dword [ebp - 0x11a4]
mov eax, esi
mov dword [ebp - 0x11a8], eax
mov dword [ebp - 0xa0], eax
je 0x1000322e
mov eax, dword [ebp - 0xe4]
sub eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0x40]
jb 0x1000322e
mov ecx, dword [ebp - 0x11b8]
lea eax, [ebp - 0x114]
push eax
call fcn.10004a00
mov byte [ebp - 4], 0x16
test esi, esi
je 0x10003d77
mov ecx, dword [ebp - 0x9c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10003d6d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d7
push ecx
push esi
call fcn.1000f0df
add esp, 8
lea ecx, [ebp - 0x114]
call fcn.100048d0
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x68]
test edx, edx
je 0x10003dc1
mov ecx, dword [ebp - 0x60]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x10003db7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d7
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x84]
cmp ecx, 0x10
jb 0x10003dff
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003df5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d7
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp ecx, 0x10
jb 0x10003e58
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003e4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d7
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 0x23
jmp 0x10004283
mov esi, dword [ebp - 0x11b8]
lea eax, [ebp - 0x114]
push eax
mov ecx, esi
call fcn.10004a00
mov ecx, dword [ebp - 0x11a4]
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x10003eb3
mov edx, dword [ebp - 0x9c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10003ea9
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d7
push edx
push ecx
call fcn.1000f0df
add esp, 8
lea ecx, [ebp - 0x114]
call fcn.100048d0
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x68]
test edx, edx
je 0x10003efd
mov ecx, dword [ebp - 0x60]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x10003ef3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d7
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x84]
cmp ecx, 0x10
jb 0x10003f3b
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003f31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d7
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp ecx, 0x10
jb 0x10003f94
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003f8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d7
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 0x24
jmp 0x1000411e
mov esi, dword [ebp - 0x11b8]
lea eax, [ebp - 0x114]
push eax
mov ecx, esi
call fcn.10004a00
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x10003fe9
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003fdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d2
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov ecx, dword [ebp - 0x11a4]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x10004039
mov edx, dword [ebp - 0x9c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000402f
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d2
push edx
push ecx
call fcn.1000f0df
add esp, 8
lea ecx, [ebp - 0x114]
call fcn.100048d0
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x68]
test edx, edx
je 0x10004083
mov ecx, dword [ebp - 0x60]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x10004079
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d2
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x84]
cmp ecx, 0x10
jb 0x100040c1
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100040b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d2
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp ecx, 0x10
jb 0x1000411a
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004110
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d2
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 0x22
push dword [ebp - 0x11b4]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea ecx, [ebx + 0x14]
call fcn.100076f0
mov eax, esi
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.1000ee9f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20
mov ecx, dword [ebp - 0x11b8]
lea eax, [ebp - 0x114]
push eax
call fcn.10004a00
mov byte [ebp - 4], 0x16
test esi, esi
je 0x1000419e
mov ecx, dword [ebp - 0x9c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10004194
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d7
push ecx
push esi
call fcn.1000f0df
add esp, 8
lea ecx, [ebp - 0x114]
call fcn.100048d0
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x68]
test edx, edx
je 0x100041e8
mov ecx, dword [ebp - 0x60]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x100041de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d7
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x84]
cmp ecx, 0x10
jb 0x10004226
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000421c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d7
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp ecx, 0x10
jb 0x1000427f
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004275
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044d7
push ecx
push edx
call fcn.1000f0df
add esp, 8
mov byte [ebp - 4], 0x18
push dword [ebp - 0x11b4]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea ecx, [ebx + 0x14]
call fcn.100076f0
mov eax, dword [ebp - 0x11b8]
jmp 0x10004134
push str.Unsupported_protocol
lea ecx, [ebp - 0x11ec]
call fcn.10001f90
push 0x100351bc
lea eax, [ebp - 0x11ec]
push eax
call fcn.10010bee
push str.Only_HTTP_scheme_is_supported
lea ecx, [ebp - 0x68]
call fcn.10001f90
push 0x100351bc
lea eax, [ebp - 0x68]
push eax
call fcn.10010bee
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
call fcn.100019c0
mov esi, eax
lea ecx, [ebp - 0x12c]
mov eax, dword [ebp - 0x1c]
mov edx, str.Failed_to_get_address_info_of
add eax, 0x1c
push eax
call fcn.10008bf0
add esp, 4
push eax
push esi
push edi
lea ecx, [ebp - 0x11f4]
mov byte [ebp - 4], 1
call fcn.10001580
push 0x100350ec
lea eax, [ebp - 0x11f4]
push eax
call fcn.10010bee
call fcn.10001220
call fcn.10015de5
call fcn.10015de5
call fcn.10015de5
call sub.WS2_32.dll_WSAGetLastError
push str.Failed_to_create_socket
mov ecx, eax
call fcn.100019c0
push eax
push ecx
lea ecx, [ebp - 0xac]
call fcn.100015b0
push 0x100350ec
lea eax, [ebp - 0xac]
push eax
call fcn.10010bee
lea ecx, [ebp - 0x11b0]
call fcn.100022b0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.Failed_to_get_socket_flags
mov ecx, eax
call fcn.100019c0
push eax
push ecx
lea ecx, [ebp - 0x11e0]
call fcn.100015b0
push 0x100350ec
lea eax, [ebp - 0x11e0]
push eax
call fcn.10010bee
call esi
push str.Failed_to_get_socket_option
mov ecx, eax
call fcn.100019c0
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.100015b0
push 0x100350ec
lea eax, [ebp - 0x34]
push eax
call fcn.10010bee
push str.Failed_to_connect
call fcn.100019c0
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.100015b0
push 0x100350ec
lea eax, [ebp - 0x34]
push eax
call fcn.10010bee
call esi
push str.Failed_to_connect
mov ecx, eax
call fcn.100019c0
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.100015b0
push 0x100350ec
lea eax, [ebp - 0x34]
push eax
call fcn.10010bee
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.Failed_to_send_data
mov ecx, eax
call fcn.100019c0
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.100015b0
push 0x100350ec
lea eax, [ebp - 0x34]
push eax
call fcn.10010bee
lea eax, [ebp - 0x80]
mov edx, str.Unsupported_transfer_encoding:
push eax
lea ecx, [ebp - 0x11f8]
call fcn.10008bf0
add esp, 4
push eax
lea ecx, [ebp - 0x11d8]
mov byte [ebp - 4], 0x1e
call fcn.10002050
push 0x100351f8
lea eax, [ebp - 0x11d8]
push eax
call fcn.10010bee
call fcn.10007620
push str.stoul_argument_out_of_range
call fcn.1000e0bc
push str.invalid_stoul_argument
call fcn.1000e07c
push str.Invalid_chunk
lea ecx, [ebp - 0x11d8]
call fcn.10001ff0
push 0x100351f8
lea eax, [ebp - 0x11d8]
push eax
call fcn.10010bee
push str.Invalid_hex_integer
lea ecx, [ebp - 0x11ec]
call fcn.10001ff0
push 0x100351f8
lea eax, [ebp - 0x11ec]
push eax
call fcn.10010bee
call fcn.10015de5
call fcn.10015de5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.Failed_to_read_data
mov ecx, eax
call fcn.100019c0
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.100015b0
push 0x100350ec
lea eax, [ebp - 0x34]
push eax
call fcn.10010bee
int3