Function at 0x4062e0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10a8
call fcn.004140a0
mov byte [ebp - 0x41], 0
mov al, byte [ebp - 0x41]
mov byte [ebp - 0x1089], al
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], 0
mov edx, dword [ebp + 0x1c]
mov dword [edx + 4], 0
mov eax, dword [ebp + 0x18]
push eax
call fcn.004033f0
add esp, 4
lea ecx, [ebp - 0x5c]
push ecx
push 8
push str.deflate
call fcn.00402100
add esp, 0xc
lea edx, [ebp - 0x50]
push edx
push 8
push str.gzip
call fcn.00402100
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push 0x38
push str._s_s_sConnection:_close_r_nAccept_Encoding:_gzip
call fcn.00402100
add esp, 0xc
lea ecx, [ebp - 0x7c]
push ecx
push 0x20
push str.Proxy_Connection:_close_r_n
call fcn.00402100
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x40637d
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1094], eax
jmp 0x406387
mov dword [ebp - 0x1094], 0
mov eax, dword [ebp - 0x1094]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x80
ja 0x406780
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp + 0xc], 0
je 0x4063bd
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1098], eax
jmp 0x4063c7
mov dword [ebp - 0x1098], 0
mov edx, dword [ebp - 0x1098]
mov dword [ebp - 0x48], edx
push 0
push 0
mov eax, dword [ebp - 0x48]
neg eax
sbb eax, eax
and eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x48]
neg ecx
sbb ecx, ecx
and ecx, 3
push ecx
push 0
call dword [0x419fd8]
mov dword [ebp - 0x1090], eax
cmp dword [ebp - 0x1090], 0
je 0x406773
cmp dword [ebp + 0x10], 0
je 0x40641d
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x109c], eax
jmp 0x406427
mov dword [ebp - 0x109c], 0
mov eax, dword [ebp - 0x109c]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x48], 0
je 0x406441
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x10a0], ecx
jmp 0x40644b
mov dword [ebp - 0x10a0], 0x415353
cmp dword [ebp - 0x40], 0
je 0x40645d
mov dword [ebp - 0x10a4], 0x415408
jmp 0x406467
mov dword [ebp - 0x10a4], 0x415357
cmp dword [ebp - 0x40], 0
je 0x406478
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10a8], edx
jmp 0x406482
mov dword [ebp - 0x10a8], 0x415385
mov eax, dword [ebp - 0x10a0]
push eax
mov ecx, dword [ebp - 0x10a4]
push ecx
mov edx, dword [ebp - 0x10a8]
push edx
lea eax, [ebp - 0x38]
push eax
push 0x1000
lea ecx, [ebp - 0x1080]
push ecx
call dword [0x419fec]
add esp, 0x18
mov dword [ebp - 0x40], 1
push 4
lea edx, [ebp - 0x40]
push edx
push 0x41
mov eax, dword [ebp - 0x1090]
push eax
call dword [0x419fd0]
mov ecx, dword [ebp + 0x14]
imul ecx, ecx, 0x3e8
mov dword [ebp - 0x40], ecx
push 4
lea edx, [ebp - 0x40]
push edx
push 2
mov eax, dword [ebp - 0x1090]
push eax
call dword [0x419fd0]
push 4
lea ecx, [ebp - 0x40]
push ecx
push 6
mov edx, dword [ebp - 0x1090]
push edx
call dword [0x419fd0]
push 4
lea eax, [ebp - 0x40]
push eax
push 5
mov ecx, dword [ebp - 0x1090]
push ecx
call dword [0x419fd0]
mov dword [ebp - 0x40], 3
push 4
lea edx, [ebp - 0x40]
push edx
push 3
mov eax, dword [ebp - 0x1090]
push eax
call dword [0x419fd0]
lea ecx, [ebp - 0x1080]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x40], eax
push 0
push 0x84003380
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x1080]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x1090]
push edx
call dword [0x419fa8]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x40674e
lea eax, [ebp - 0x40]
push eax
push 0x1000
lea ecx, [ebp - 0x1080]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [0x419fe8]
test eax, eax
je 0x4065cb
cmp dword [ebp - 0x40], 0
jne 0x40659f
mov byte [ebp - 0x41], 1
jmp 0x4065cb
push 0
push 1
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1080]
push ecx
call fcn.004034d0
add esp, 0x18
movzx edx, al
test edx, edx
jne 0x4065c9
jmp 0x4065cb
jmp 0x406573
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x406737
mov dword [ebp - 0x40], 4
push 0
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp + 0x1c]
add edx, 4
push edx
push 0x20000013
mov eax, dword [ebp - 0x54]
push eax
call dword [0x419fc0]
test eax, eax
je 0x40672a
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx + 4], 0xc8
jne 0x406728
mov byte [ebp - 0x1089], 1
mov dword [ebp - 0x40], 0x1000
push 0
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x1080]
push eax
push 0x1d
mov ecx, dword [ebp - 0x54]
push ecx
call dword [0x419fc0]
test eax, eax
je 0x406728
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x1080]
push eax
call dword [0x419ffc]
test eax, eax
je 0x406728
mov byte [ebp - 0x1089], 0
lea ecx, [ebp - 0x1088]
push ecx
call fcn.004033f0
add esp, 4
mov edx, dword [ebp + 0x18]
mov eax, 0x100000
cmp eax, dword [edx]
sbb ecx, ecx
and ecx, 0xffffffe0
add ecx, 0x40
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x3c]
imul eax, dword [edx]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x1088]
push edx
call fcn.004034a0
add esp, 8
movzx eax, al
test eax, eax
je 0x406728
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, 6
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
add ecx, 2
push ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x1084]
push eax
call fcn.00401fb0
add esp, 0x10
test eax, eax
jne 0x40670e
cmp dword [ebp - 0x3c], 0
jl 0x40670e
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x1088], ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.00403410
add esp, 4
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x1088]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x1084]
mov dword [edx + 4], eax
mov byte [ebp - 0x1089], 1
movzx ecx, byte [ebp - 0x1089]
test ecx, ecx
jne 0x406728
lea edx, [ebp - 0x1088]
push edx
call fcn.00403410
add esp, 4
jmp 0x406735
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
jmp 0x406742
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x54]
push eax
call dword [0x419fa4]
jmp 0x406759
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
movzx edx, byte [ebp - 0x1089]
test edx, edx
jne 0x406771
mov eax, dword [ebp - 0x1090]
push eax
call dword [0x419fa4]
jmp 0x40677e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
jmp 0x406789
mov edx, dword [ebp + 0x1c]
mov dword [edx], 0x2f79
movzx eax, byte [ebp - 0x1089]
test eax, eax
jne 0x4067a0
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00403410
add esp, 4
mov al, byte [ebp - 0x1089]
mov esp, ebp
pop ebp
ret