Function at 0x401b09
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x448508]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
push str.User_Agent
call dword [ebp - 0x14]
mov dword [0x4484c4], eax
cmp dword [0x4484c4], 0
jne 0x401b3c
push 0xffffffffffffffff
call fcn.004204a2
mov eax, dword [0x4484dc]
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 8]
call fcn.0040e8ff
mov dword [ebp - 0x18], eax
mov eax, dword [0x4484c4]
mov dword [ebp - 0x1c], eax
push 0
push dword [ebp + 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [ebp - 0x20]
mov dword [0x4484c8], eax
cmp dword [0x4484c8], 0
jne 0x401b7a
push 0xffffffffffffffff
call fcn.004204a2
mov eax, dword [0x4484ec]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp + 0x24]
call fcn.0040e8ff
mov dword [ebp - 0x24], eax
mov eax, dword [0x4484c8]
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push str.HTTP_1.1
push dword [ebp - 0x24]
push 0x4364c8
push dword [ebp - 0x28]
call dword [ebp - 0x2c]
mov dword [0x4484cc], eax
cmp dword [0x4484cc], 0
jne 0x401bc3
push 0xffffffffffffffff
call fcn.004204a2
mov eax, dword [0x4484d8]
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [0x4484cc]
call dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4484f0]
mov dword [ebp - 0x34], eax
push 0
push dword [0x4484cc]
call dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
and dword [ebp - 0xc], 0
mov dword [ebp - 4], 4
mov eax, dword [0x4484d4]
mov dword [ebp - 0x38], eax
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20000013
push dword [0x4484cc]
call dword [ebp - 0x38]
cmp dword [ebp - 0xc], 0xc8
je 0x401c36
push 0xffffffffffffffff
call fcn.004204a2
and dword [ebp - 8], 0
mov eax, dword [0x4484d4]
mov dword [ebp - 0x3c], eax
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x16
push dword [0x4484cc]
call dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x401cac
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00418edf
pop ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov eax, dword [0x4484d4]
mov dword [ebp - 0x44], eax
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push str.Content_Length
push 0xffff
push dword [0x4484cc]
call dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4484e8]
mov dword [ebp - 0x48], eax
push 0
push 0xffffffffffffffff
push 0
push dword [0x4484cc]
call dword [ebp - 0x48]
push dword [ebp - 8]
lea ecx, [ebp - 0x6c]
call fcn.00407002
push 0xa
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.0040fedf
add esp, 0xc
mov dword [0x448540], eax
lea ecx, [ebp - 0x6c]
call fcn.00407ccd
mov eax, dword [ebp - 8]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
call fcn.00418ee8
pop ecx
push dword [0x448540]
call fcn.0041fafd
pop ecx
mov dword [0x44853c], eax
mov eax, dword [0x4484fc]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x54]
push eax
push dword [0x448540]
push dword [0x44853c]
push dword [0x4484cc]
call dword [ebp - 0x50]
test eax, eax
jne 0x401d37
push 0xffffffffffffffff
call fcn.004204a2
lea ecx, [ebp + 8]
call fcn.00407ccd
lea ecx, [ebp + 0x24]
call fcn.00407ccd
leave
ret