Function at 0x407fa0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474bcf
mov eax, dword fs:[0]
push eax
mov eax, 0x11c8
call fcn.00474300
mov eax, dword [0x487080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x112c], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xb0]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1144], eax
mov dword [ebp - 0x1130], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1104], eax
lea eax, [ebp + 0x18]
push eax
mov dword [ebp - 0x1140], 1
call fcn.00401cc0
mov edx, eax
lea ecx, [ebp - 0x1168]
call fcn.0041ecf0
mov al, byte [esi + 1]
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0x100], xmm0
movups xmmword [ebp - 0xf0], xmm0
test al, al
jne 0x40803c
mov eax, 2
jmp 0x408049
cmp al, 1
jne 0x409792
mov eax, 0x17
add esi, 0x34
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], 1
mov edx, esi
cmp dword [esi + 0x14], 0xf
jbe 0x408066
mov edx, dword [esi]
mov eax, dword [ebp - 0x112c]
add eax, 0x4c
cmp dword [eax + 0x14], 0xf
jbe 0x408077
mov eax, dword [eax]
lea ecx, [ebp - 0x1118]
push ecx
lea ecx, [ebp - 0x100]
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x4097a8
mov eax, dword [sym.imp.WS2_32.dll_freeaddrinfo]
xorps xmm0, xmm0
movlpd qword [ebp - 0xb0], xmm0
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x1118]
mov dword [ebp - 0x1148], eax
mov dword [ebp - 0xac], eax
mov esi, closesocket
mov dword [ebp - 4], 1
mov ecx, dword [edi + 0x10]
mov eax, esi
sub eax, ecx
cmp eax, 1
jb 0x4097e6
cmp dword [edi + 0x14], 0xf
jbe 0x4080e1
mov edi, dword [edi]
push 1
push 0x478b30
push ecx
push edi
push ecx
push dword [ebp - 0x1144]
lea ecx, [ebp - 0x118c]
call fcn.004213e0
mov eax, dword [ebp - 0x112c]
lea edx, [ebp - 0x118c]
add eax, 0x64
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x11bc]
call fcn.0041e9d0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 3
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xb
jb 0x408160
lea eax, [ecx + 0xb]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x408142
mov eax, dword [edi]
push 0xb
lea esi, [eax + ecx]
push str._HTTP_1.1_r_n
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + 0xb], 0
add esp, 0xc
mov esi, closesocket
jmp 0x40817f
push 0xb
push str._HTTP_1.1_r_n
mov byte [ebp - 0x1120], 0
mov ecx, edi
push dword [ebp - 0x1120]
push 0xb
call fcn.00420270
mov edi, eax
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
mov eax, 0xc01
movups xmm0, xmmword [edi]
mov dword [ebp - 0x1128], eax
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x50], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x11a8]
cmp ecx, 0xf
jbe 0x4081fb
mov edx, dword [ebp - 0x11bc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4081f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408246
push ecx
push edx
call fcn.00473531
add esp, 8
mov dword [ebp - 0x11ac], 0
mov dword [ebp - 0x11a8], 0xf
mov byte [ebp - 0x11bc], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1178]
cmp ecx, 0xf
jbe 0x408256
mov edx, dword [ebp - 0x118c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40824c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40824c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00473531
add esp, 8
mov eax, dword [ebp - 0x1104]
mov dword [ebp - 0x117c], 0
mov dword [ebp - 0x1178], 0xf
mov byte [ebp - 0x118c], 0
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1140], eax
cmp edi, eax
je 0x408399
nop word [eax + eax]
mov ecx, dword [edi + 0x10]
sub esi, ecx
cmp esi, 2
jb 0x4097e6
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x4082a8
mov eax, dword [edi]
push 2
push 0x478b34
push ecx
push eax
push ecx
push dword [ebp - 0x1144]
lea ecx, [ebp - 0x1160]
call fcn.004213e0
or dword [ebp - 0x1128], 0x80
mov byte [ebp - 4], 7
lea edx, [ebp - 0x1160]
cmp dword [ebp - 0x114c], 0xf
mov eax, dword [ebp - 0x1160]
mov esi, dword [ebp - 0x50]
cmova edx, eax
mov ecx, dword [ebp - 0x1150]
mov dword [ebp - 0x1120], eax
mov eax, dword [ebp - 0x4c]
sub eax, esi
push ecx
push edx
cmp ecx, eax
ja 0x40832f
cmp dword [ebp - 0x4c], 0xf
lea eax, [ecx + esi]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x60]
cmova eax, dword [ebp - 0x60]
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x1150]
add esp, 0xc
mov ecx, dword [ebp - 0x1120]
mov byte [esi + eax], 0
jmp 0x40834b
mov byte [ebp - 0x1104], 0
push dword [ebp - 0x1104]
push ecx
lea ecx, [ebp - 0x60]
call fcn.00420270
mov ecx, dword [ebp - 0x1160]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x114c]
cmp eax, 0xf
jbe 0x408385
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x40837b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409764
push edx
push ecx
call fcn.00473531
add esp, 8
add edi, 0x18
mov esi, closesocket
cmp edi, dword [ebp - 0x1140]
jne 0x408290
mov eax, dword [ebp + 0x10]
lea esi, [ebp - 0x13]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov dword [ebp - 0x1134], ecx
nop word [eax + eax]
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 - 0x1134]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x1134], eax
test eax, eax
jne 0x4083b0
push ecx
lea eax, [ebp - 0x13]
push eax
push esi
lea ecx, [ebp - 0x11a4]
call fcn.0041f260
mov edi, dword [ebp - 0x1128]
or edi, 0x60
mov ecx, dword [ebp - 0x112c]
mov eax, closesocket
add ecx, 0x1c
mov byte [ebp - 4], 8
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 6
jb 0x4097eb
cmp dword [ecx + 0x14], 0xf
jbe 0x408422
mov ecx, dword [ecx]
push edx
push ecx
push 6
push str.Host:
push ecx
push dword [ebp - 0x1144]
lea ecx, [ebp - 0x1160]
call fcn.004213e0
or edi, 0x10
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x114c]
mov eax, edx
mov ecx, dword [ebp - 0x1150]
sub eax, ecx
push 0x12
push str._r_nContent_Length:
cmp eax, 0x12
jb 0x408490
cmp edx, 0xf
lea esi, [ebp - 0x1160]
lea eax, [ecx + 0x12]
cmova esi, dword [ebp - 0x1160]
add esi, ecx
mov dword [ebp - 0x1150], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x12], 0
lea eax, [ebp - 0x1160]
jmp 0x4084aa
mov byte [ebp - 0x1120], 0
lea ecx, [ebp - 0x1160]
push dword [ebp - 0x1120]
push 0x12
call fcn.00420270
movups xmm0, xmmword [eax]
or edi, 8
movups xmmword [ebp - 0x11d4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x11c4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x11a4]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x11d4]
push eax
push dword [ebp - 0x1144]
lea ecx, [ebp - 0x90]
call fcn.00421200
or edi, 2
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x7c]
mov eax, edx
mov ecx, dword [ebp - 0x80]
sub eax, ecx
cmp eax, 4
jb 0x408538
lea eax, [ecx + 4]
cmp edx, 0xf
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x90]
cmova eax, dword [ebp - 0x90]
mov dword [eax + ecx], 0xa0d0a0d
mov byte [eax + ecx + 4], 0
lea eax, [ebp - 0x90]
jmp 0x408559
push 4
push str._r_n_r_n
mov byte [ebp - 0x1120], 0
lea ecx, [ebp - 0x90]
push dword [ebp - 0x1120]
push 4
call fcn.00420270
movups xmm1, xmmword [eax]
or edi, 4
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x28], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x1128], edi
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x18]
movd edi, xmm1
push ecx
cmova edx, edi
sub eax, esi
push edx
cmp ecx, eax
ja 0x4085cc
cmp dword [ebp - 0x4c], 0xf
lea eax, [ecx + esi]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x60]
cmova eax, dword [ebp - 0x60]
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x4085e5
mov byte [ebp - 0x1120], 0
push dword [ebp - 0x1120]
push ecx
lea ecx, [ebp - 0x60]
call fcn.00420270
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x40861c
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x408612
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40872f
push ecx
push edi
call fcn.00473531
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x408657
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40864d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40872f
push ecx
push edx
call fcn.00473531
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x11c0]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp ecx, 0xf
jbe 0x4086aa
mov edx, dword [ebp - 0x11d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4086a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40872f
push ecx
push edx
call fcn.00473531
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x114c]
cmp ecx, 0xf
jbe 0x4086e4
mov edx, dword [ebp - 0x1160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4086da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40872f
push ecx
push edx
call fcn.00473531
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1190]
mov dword [ebp - 0x1150], 0
mov dword [ebp - 0x114c], 0xf
mov byte [ebp - 0x1160], 0
cmp ecx, 0xf
jbe 0x40873f
mov edx, dword [ebp - 0x11a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408735
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408735
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00473531
add esp, 8
cmp dword [ebp - 0x4c], 0xf
lea edi, [ebp - 0x60]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x14], 0
cmova edi, dword [ebp - 0x60]
xorps xmm0, xmm0
add edi, dword [ebp - 0x50]
cmp dword [ebp - 0x4c], 0xf
movq qword [ebp - 0x1c], xmm0
cmova eax, dword [ebp - 0x60]
xor edx, edx
mov dword [ebp - 0x1120], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
sub edi, eax
je 0x4087a2
push edi
lea ecx, [ebp - 0x1c]
call fcn.004234d0
mov esi, dword [ebp - 0x1c]
push edi
push dword [ebp - 0x1120]
push esi
call sub.VCRUNTIME140.dll_memmove
lea edx, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 0xd
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.00421d30
mov ecx, dword [ebp - 0x112c]
movzx eax, byte [ecx + 1]
lea ecx, [ebp - 0x1138]
push eax
call fcn.00407460
mov byte [ebp - 4], 0xe
cmp dword [ebp + 0x1c], 0
jl 0x4087f9
jg 0x4087e3
cmp dword [ebp + 0x18], 0
jb 0x4087f9
push dword [ebp - 0x1164]
push dword [ebp - 0x1168]
call fcn.00409840
add esp, 8
jmp 0x4087fe
or eax, 0xffffffff
or edx, eax
push edx
push eax
mov eax, dword [ebp - 0x1148]
lea ecx, [ebp - 0x1138]
push dword [eax + 0x10]
push dword [eax + 0x18]
call fcn.00407560
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
sub esi, edi
je 0x40885f
cmp dword [ebp + 0x1c], 0
jl 0x408845
jg 0x40882f
cmp dword [ebp + 0x18], 0
jb 0x408845
push dword [ebp - 0x1164]
push dword [ebp - 0x1168]
call fcn.00409840
add esp, 8
jmp 0x40884a
or eax, 0xffffffff
or edx, eax
push edx
push eax
push esi
push edi
lea ecx, [ebp - 0x1138]
call fcn.00407680
add edi, eax
sub esi, eax
jne 0x408821
mov eax, dword [ebp - 0x1130]
xorps xmm0, xmm0
lea ecx, [eax + 4]
mov word [ebp - 0x2c], 0xa0d
mov dword [ebp - 0x1174], ecx
mov dword [eax], 0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0x1128]
xor esi, esi
or eax, 1
movq qword [ebp - 0x84], xmm0
xor edi, edi
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x1128], eax
mov dword [ebp - 0x1140], eax
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
xor eax, eax
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x1134], eax
mov byte [ebp - 0x1121], al
mov dword [ebp - 0x1120], eax
mov byte [ebp - 0x1122], al
mov dword [ebp - 0x112c], eax
xor al, al
mov dword [ebp - 0x113c], eax
jmp 0x408926
mov esi, dword [ebp - 0x111c]
cmp dword [ebp + 0x1c], 0
jl 0x40894a
jg 0x408934
cmp dword [ebp + 0x18], 0
jb 0x40894a
push dword [ebp - 0x1164]
push dword [ebp - 0x1168]
call fcn.00409840
add esp, 8
jmp 0x40894f
or eax, 0xffffffff
or edx, eax
push edx
push eax
push 0x1000
lea eax, [ebp - 0x1100]
push eax
lea ecx, [ebp - 0x1138]
call fcn.00407710
test eax, eax
je 0x4096b8
push eax
lea eax, [ebp - 0x1100]
push eax
push edi
lea ecx, [ebp - 0x84]
call fcn.00421d30
cmp dword [ebp - 0x1134], 2
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp - 0x80]
mov dword [ebp - 0x111c], esi
je 0x409180
lea eax, [ebp - 0x2a]
mov dword [ebp - 0x1108], 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1104], edi
push eax
push edi
push esi
lea ecx, [ebp - 0x1108]
call fcn.0041ed30
mov esi, dword [ebp - 0x1108]
add esp, 0x10
cmp esi, edi
je 0x40916d
push ecx
mov ecx, dword [ebp - 0x111c]
push esi
push ecx
lea ecx, [ebp - 0x78]
call fcn.0041ee90
lea eax, [esi + 2]
mov byte [ebp - 4], 0x12
mov esi, dword [ebp - 0x111c]
cmp esi, eax
je 0x408a10
sub edi, eax
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
add edi, esi
mov dword [ebp - 0x1104], edi
mov dword [ebp - 0x80], edi
cmp dword [ebp - 0x68], 0
je 0x40921f
mov eax, dword [ebp - 0x1134]
test eax, eax
jne 0x408c45
cmp dword [ebp - 0x64], 0xf
lea ecx, [ebp - 0x78]
mov esi, dword [ebp - 0x68]
cmova ecx, dword [ebp - 0x78]
add esi, ecx
mov dword [ebp - 0x1134], 1
cmp dword [ebp - 0x64], 0xf
lea ecx, [ebp - 0x78]
push 0x20
cmova ecx, dword [ebp - 0x78]
push esi
push ecx
call fcn.00472c40
cmp dword [ebp - 0x64], 0xf
mov esi, eax
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x64]
cmova eax, ecx
add eax, dword [ebp - 0x68]
cmp esi, eax
je 0x4090ff
inc esi
lea eax, [ebp - 0x78]
cmp edx, 0xf
push 0x20
cmova eax, ecx
add eax, dword [ebp - 0x68]
push eax
push esi
call fcn.00472c40
mov dword [ebp - 0x1170], eax
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
movups xmmword [ebp - 0xc8], xmm0
cmp esi, eax
jne 0x408ace
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
jmp 0x408add
sub eax, esi
lea ecx, [ebp - 0xc8]
push eax
push esi
call fcn.0041fb70
mov byte [ebp - 4], 0x13
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0xb4], 0xf
lea esi, [ebp - 0xc8]
mov dword [ebp - 0x1108], eax
cmova esi, dword [ebp - 0xc8]
mov dword [eax], 0
lea eax, [ebp - 0x110c]
push 0xa
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x110c]
je 0x409533
mov eax, dword [ebp - 0x1108]
cmp dword [eax], 0x22
je 0x409528
mov eax, dword [ebp - 0x1130]
mov edx, dword [ebp - 0x64]
cmp edx, 0xf
mov esi, dword [ebp - 0x78]
mov dword [eax], ecx
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0x1170]
cmova eax, esi
add eax, dword [ebp - 0x68]
cmp ecx, eax
je 0x408bfe
lea eax, [ecx + 1]
mov dword [ebp - 0x1150], 0
cmp edx, 0xf
mov dword [ebp - 0x114c], 0
lea ecx, [ebp - 0x78]
xorps xmm0, xmm0
cmova ecx, esi
add ecx, dword [ebp - 0x68]
movups xmmword [ebp - 0x1160], xmm0
cmp eax, ecx
jne 0x408ba3
mov dword [ebp - 0x114c], 0xf
mov byte [ebp - 0x1160], 0
jmp 0x408bb2
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x1160]
call fcn.0041fb70
mov ecx, dword [ebp - 0x1174]
lea eax, [ebp - 0x1160]
push eax
call fcn.0041c100
mov ecx, dword [ebp - 0x114c]
cmp ecx, 0xf
jbe 0x408bfe
mov edx, dword [ebp - 0x1160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408bf4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408246
push ecx
push edx
call fcn.00473531
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x4090ff
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408c36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408246
push ecx
push edx
call fcn.00473531
add esp, 8
jmp 0x4090ff
cmp eax, 1
jne 0x409105
mov esi, dword [ebp - 0x1130]
lea ecx, [ebp - 0x78]
push ecx
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
je 0x408c6d
mov ecx, eax
call fcn.0041c2c0
add dword [esi + 0x20], 0x18
jmp 0x408c76
push eax
lea ecx, [esi + 0x1c]
call fcn.00422b30
cmp dword [ebp - 0x64], 0xf
lea esi, [ebp - 0x78]
mov edi, dword [ebp - 0x68]
cmova esi, dword [ebp - 0x78]
test edi, edi
je 0x408c9c
push edi
push 0x3a
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x408c9c
sub eax, esi
jmp 0x408c9f
or eax, 0xffffffff
mov dword [ebp - 0x1108], eax
cmp eax, 0xffffffff
je 0x409554
cmp edi, eax
mov dword [ebp - 0x98], 0
mov ecx, eax
mov dword [ebp - 0x94], 0
cmovb ecx, edi
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 0xf
xorps xmm0, xmm0
push ecx
cmova eax, dword [ebp - 0x78]
lea ecx, [ebp - 0xa8]
push eax
movups xmmword [ebp - 0xa8], xmm0
call fcn.0041fb70
mov eax, dword [ebp - 0x1128]
or eax, 0x100
mov dword [ebp - 0x1128], eax
mov dword [ebp - 0x1140], eax
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0xf
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0xa8]
lea edi, [ebp - 0xa8]
cmova eax, edx
cmova ecx, edx
mov dword [ebp - 0x1170], eax
mov eax, dword [ebp - 0x98]
add eax, ecx
cmp dword [ebp - 0x94], 0xf
mov dword [ebp - 0x30], eax
cmova edi, edx
cmp edi, eax
je 0x408d72
mov esi, dword [ebp - 0x1170]
sub esi, edi
mov ah, byte [edi]
mov dl, ah
mov al, ah
add al, 0x20
sub dl, 0x41
movzx ecx, al
cmp dl, 0x19
movzx eax, ah
cmova ecx, eax
mov byte [edi + esi], cl
inc edi
cmp edi, dword [ebp - 0x30]
jne 0x408d52
mov edx, dword [ebp - 0x1108]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x68]
inc edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
cmp eax, edx
jb 0x40982d
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x64], 0xf
lea eax, [ebp - 0x78]
cmova eax, dword [ebp - 0x78]
push ecx
add eax, edx
lea ecx, [ebp - 0x48]
push eax
call fcn.0041fb70
mov eax, dword [ebp - 0x1128]
or eax, 0x200
mov dword [ebp - 0x1128], eax
mov dword [ebp - 0x1140], eax
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x48]
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
cmp esi, 0xf
mov edi, dword [ebp - 0x38]
cmova edx, ecx
add edx, edi
cmp esi, 0xf
cmova eax, ecx
cmp eax, edx
je 0x408e0b
mov cl, byte [eax]
cmp cl, 0x20
je 0x408e03
cmp cl, 9
jne 0x408e08
inc eax
cmp eax, edx
jne 0x408df7
mov ecx, dword [ebp - 0x48]
cmp esi, 0xf
lea edx, [ebp - 0x48]
cmova edx, ecx
lea ecx, [ebp - 0x48]
cmova ecx, dword [ebp - 0x48]
mov esi, edx
sub esi, ecx
sub eax, edx
mov ecx, edi
lea edx, [ebp - 0x48]
sub ecx, esi
cmp ecx, eax
cmovb eax, ecx
cmp dword [ebp - 0x34], 0xf
cmova edx, dword [ebp - 0x48]
sub edi, eax
mov ecx, edi
add edx, esi
sub ecx, esi
add eax, edx
inc ecx
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x48]
add esp, 0xc
mov dword [ebp - 0x38], edi
cmp dword [ebp - 0x34], 0xf
lea esi, [ebp - 0x48]
cmova eax, edx
add eax, edi
cmp dword [ebp - 0x34], 0xf
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x48]
cmova eax, edx
cmova esi, edx
add eax, edi
cmp eax, esi
je 0x408e8b
mov cl, byte [eax - 1]
cmp cl, 0x20
je 0x408e83
cmp cl, 9
jne 0x408e88
dec eax
cmp eax, esi
jne 0x408e76
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x48]
mov esi, dword [ebp - 0x30]
cmova ecx, edx
sub esi, eax
mov edx, eax
mov eax, edi
sub edx, ecx
lea ecx, [ebp - 0x48]
sub eax, edx
cmp eax, esi
cmovb esi, eax
cmp dword [ebp - 0x34], 0xf
cmova ecx, dword [ebp - 0x48]
sub edi, esi
add ecx, edx
mov eax, edi
sub eax, edx
inc eax
push eax
lea eax, [ecx + esi]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
cmp dword [ebp - 0x94], 0xf
lea ecx, [ebp - 0xa8]
mov esi, dword [ebp - 0x98]
mov edx, esi
cmova ecx, dword [ebp - 0xa8]
push 0xe
push str.content_length
mov dword [ebp - 0x38], edi
call fcn.00422eb0
add esp, 0x14
test al, al
je 0x408f7f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x34], 0xf
lea esi, [ebp - 0x48]
mov edi, eax
lea eax, [ebp - 0x1110]
cmova esi, dword [ebp - 0x48]
push 0xa
push eax
push esi
mov dword [edi], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x1120], edx
cmp esi, dword [ebp - 0x1110]
je 0x409549
cmp dword [edi], 0x22
je 0x40953e
mov ecx, dword [ebp - 0x1130]
add ecx, 0x28
mov byte [ebp - 0x1121], 1
mov dword [ebp - 0x30], edx
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cmp edx, eax
jbe 0x40906f
cmp edx, 0x7fffffff
ja 0x4097f0
lea eax, [ebp - 0x30]
push eax
call fcn.0041f880
jmp 0x40906f
cmp dword [ebp - 0x94], 0xf
lea ecx, [ebp - 0xa8]
cmova ecx, dword [ebp - 0xa8]
cmp esi, 0x11
jne 0x40906f
mov edx, str.transfer_encoding
sub esi, 4
jb 0x408fb7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x408fbc
add ecx, 4
add edx, 4
sub esi, 4
jae 0x408fa6
cmp esi, 0xfffffffc
je 0x408ff0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x408fe9
cmp esi, 0xfffffffd
je 0x408ff0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x408fe9
cmp esi, 0xfffffffe
je 0x408ff0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x408fe9
cmp esi, 0xffffffff
je 0x408ff0
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x408ff0
sbb eax, eax
or eax, 1
jmp 0x408ff2
xor eax, eax
test eax, eax
jne 0x40906f
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x48]
cmova ecx, dword [ebp - 0x48]
cmp edi, 7
jne 0x4097f5
mov edx, str.chunked
sub edi, 4
jb 0x409025
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40902a
add ecx, 4
add edx, 4
sub edi, 4
jae 0x409014
cmp edi, 0xfffffffc
je 0x40905e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x409057
cmp edi, 0xfffffffd
je 0x40905e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x409057
cmp edi, 0xfffffffe
je 0x40905e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x409057
cmp edi, 0xffffffff
je 0x40905e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40905e
sbb eax, eax
or eax, 1
jmp 0x409060
xor eax, eax
test eax, eax
jne 0x4097f5
mov byte [ebp - 0x1122], 1
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x4090a7
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40909d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408246
push ecx
push edx
call fcn.00473531
add esp, 8
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp eax, 0xf
jbe 0x4090f9
mov edx, dword [ebp - 0xa8]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4090ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408246
push ecx
push edx
call fcn.00473531
add esp, 8
mov edi, dword [ebp - 0x1104]
mov esi, dword [ebp - 0x111c]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x64]
cmp edx, 0xf
jbe 0x40913d
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409133
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408246
push edx
push ecx
call fcn.00473531
add esp, 8
lea eax, [ebp - 0x2a]
mov dword [ebp - 0x1108], 0
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push esi
lea ecx, [ebp - 0x1108]
call fcn.0041ed30
mov esi, dword [ebp - 0x1108]
add esp, 0x10
cmp esi, edi
jne 0x4089d6
cmp dword [ebp - 0x1134], 2
mov esi, dword [ebp - 0x111c]
jne 0x408926
cmp byte [ebp - 0x1122], 0
je 0x4093de
mov eax, dword [ebp - 0x113c]
mov edx, dword [ebp - 0x112c]
nop dword [eax]
test edx, edx
je 0x40926a
mov eax, edi
mov ecx, edx
sub eax, esi
cmp eax, edx
cmovb ecx, eax
push ecx
mov dword [ebp - 0x1104], ecx
mov ecx, dword [ebp - 0x1130]
push esi
push dword [ecx + 0x2c]
lea ecx, [ecx + 0x28]
call fcn.00421d30
mov eax, dword [ebp - 0x1104]
lea ecx, [esi + eax]
cmp esi, ecx
je 0x4091f1
sub edi, ecx
push edi
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x1104]
add esp, 0xc
add edi, esi
mov dword [ebp - 0x80], edi
mov edx, dword [ebp - 0x112c]
mov ecx, 1
sub edx, eax
mov eax, dword [ebp - 0x113c]
movzx eax, al
cmove eax, ecx
mov dword [ebp - 0x112c], edx
mov dword [ebp - 0x113c], eax
cmp esi, edi
jne 0x4091a0
jmp 0x408926
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x1134], 2
cmp ecx, 0xf
jbe 0x409180
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40925b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408246
push ecx
push edx
call fcn.00473531
add esp, 8
jmp 0x409180
test al, al
je 0x4092c0
mov eax, edi
sub eax, esi
cmp eax, 2
jb 0x408926
lea ecx, [ebp - 0x2c]
movzx eax, byte [ecx]
cmp al, byte [esi]
jne 0x409292
movzx eax, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x409292
xor eax, eax
jmp 0x409297
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409574
xor al, al
mov dword [ebp - 0x113c], eax
lea eax, [esi + 2]
cmp esi, eax
je 0x4092c0
sub edi, eax
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
add edi, esi
mov dword [ebp - 0x80], edi
lea eax, [ebp - 0x2a]
mov dword [ebp - 0x1104], 0
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push esi
lea ecx, [ebp - 0x1104]
call fcn.0041ed30
mov esi, dword [ebp - 0x1104]
add esp, 0x10
cmp esi, edi
je 0x408920
push ecx
mov ecx, dword [ebp - 0x111c]
push esi
push ecx
lea ecx, [ebp - 0xe0]
call fcn.0041ee90
lea eax, [esi + 2]
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x111c]
cmp esi, eax
je 0x409327
sub edi, eax
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
add edi, esi
mov dword [ebp - 0x80], edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0xcc], 0xf
lea esi, [ebp - 0xe0]
mov dword [ebp - 0x30], eax
cmova esi, dword [ebp - 0xe0]
mov dword [eax], 0
lea eax, [ebp - 0x1114]
push 0x10
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x112c], edx
cmp esi, dword [ebp - 0x1114]
je 0x409549
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0x22
je 0x40953e
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xcc]
test edx, edx
je 0x409589
mov esi, dword [ebp - 0x111c]
mov eax, dword [ebp - 0x113c]
cmp ecx, 0xf
jbe 0x4091a0
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4093c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40968a
push ecx
push edx
call fcn.00473531
mov esi, dword [ebp - 0x111c]
add esp, 8
jmp 0x40918d
mov ecx, dword [ebp - 0x1130]
mov eax, edi
sub eax, esi
push eax
push esi
push dword [ecx + 0x2c]
lea ecx, [ecx + 0x28]
call fcn.00421d30
cmp esi, edi
cmovne edi, esi
cmp byte [ebp - 0x1121], 0
mov dword [ebp - 0x80], edi
je 0x408926
mov ecx, dword [ebp - 0x1130]
mov eax, dword [ecx + 0x2c]
sub eax, dword [ecx + 0x28]
cmp eax, dword [ebp - 0x1120]
jb 0x408926
mov byte [ebp - 4], 0xf
test esi, esi
je 0x409457
mov ecx, dword [ebp - 0x7c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x40944d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409764
push ecx
push esi
call fcn.00473531
add esp, 8
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x1138]
cmp eax, 0xffffffff
je 0x409470
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x4094a8
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x40949e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409764
push ecx
push edx
call fcn.00473531
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x4094e0
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4094d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409764
push ecx
push edx
call fcn.00473531
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov dword [ebp - 4], 0x1a
push dword [ebp - 0x1148]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x1130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472ead
mov esp, ebp
pop ebp
ret 0x18
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
push str.stoul_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
push str.invalid_stoul_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
lea eax, [ebp - 0x78]
mov edx, str.Invalid_header:
push eax
lea ecx, [ebp - 0x11a4]
call fcn.0041e810
add esp, 4
mov byte [ebp - 4], 0x14
jmp 0x409810
push str.Invalid_chunk
lea ecx, [ebp - 0x116c]
call fcn.00407290
jmp 0x40981c
cmp ecx, 0xf
jbe 0x4095bd
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4095b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40968a
push ecx
push edx
call fcn.00473531
add esp, 8
mov ecx, dword [ebp - 0x111c]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xf
mov byte [ebp - 0xe0], 0
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x409613
mov edx, dword [ebp - 0x7c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x409609
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40968a
push edx
push ecx
call fcn.00473531
add esp, 8
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x1138]
cmp eax, 0xffffffff
je 0x40962c
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x409660
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x409656
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40968a
push ecx
push edx
call fcn.00473531
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x40969a
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409690
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409690
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00473531
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov dword [ebp - 4], 0x19
jmp 0x4094f9
mov byte [ebp - 4], 0xf
test esi, esi
je 0x4096ed
mov ecx, dword [ebp - 0x7c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4096e3
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409764
push ecx
push esi
call fcn.00473531
add esp, 8
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x1138]
cmp eax, 0xffffffff
je 0x409706
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x40973a
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x409730
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409764
push ecx
push edx
call fcn.00473531
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x409774
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40976a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40976a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00473531
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov dword [ebp - 4], 0x11
jmp 0x4094f9
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00407230
push 0x4849e4
lea eax, [ebp - 0x1c]
jmp 0x409827
push esi
mov edx, str.Failed_to_get_address_info_of
lea ecx, [ebp - 0x11a4]
call fcn.0041e810
add esp, 4
push eax
mov dword [ebp - 4], 0
call fcn.00401ac0
push eax
call sub.WS2_32.dll_WSAGetLastError
push eax
lea ecx, [ebp - 0x24]
call fcn.00401760
push 0x484894
lea eax, [ebp - 0x24]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.004013c0
call fcn.004013c0
call fcn.0041d8e0
lea eax, [ebp - 0x48]
mov edx, str.Unsupported_transfer_encoding:
push eax
lea ecx, [ebp - 0x11a4]
call fcn.0041e810
add esp, 4
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x116c]
call fcn.004072f0
push 0x484a10
lea eax, [ebp - 0x116c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.0041e700
int3