Function at 0x401bf8
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4383d8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x44c370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov eax, dword [0x44d560]
mov dword [ebp - 0x3c], eax
push 0
push 0
push 0
push 0
push str.User_Agent
call dword [ebp - 0x3c]
mov dword [0x44d51c], eax
cmp dword [0x44d51c], 0
jne 0x401c54
push 0xffffffffffffffff
call fcn.0042319f
mov eax, dword [0x44d534]
mov dword [ebp - 0x48], eax
lea ecx, [ebp + 8]
call fcn.0040ec35
mov dword [ebp - 0x40], eax
mov eax, dword [0x44d51c]
mov dword [ebp - 0x44], eax
push 0
push dword [ebp + 0x20]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call dword [ebp - 0x48]
mov dword [0x44d520], eax
cmp dword [0x44d520], 0
jne 0x401c92
push 0xffffffffffffffff
call fcn.0042319f
mov eax, dword [0x44d544]
mov dword [ebp - 0x54], eax
lea ecx, [ebp + 0x24]
call fcn.0040ec35
mov dword [ebp - 0x4c], eax
mov eax, dword [0x44d520]
mov dword [ebp - 0x50], eax
push 0
push 0
push 0
push str.HTTP_1.1
push dword [ebp - 0x4c]
push 0x43a4b8
push dword [ebp - 0x50]
call dword [ebp - 0x54]
mov dword [0x44d524], eax
cmp dword [0x44d524], 0
jne 0x401cdb
push 0xffffffffffffffff
call fcn.0042319f
mov eax, dword [0x44d530]
mov dword [ebp - 0x58], eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [0x44d524]
call dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
mov eax, dword [0x44d548]
mov dword [ebp - 0x5c], eax
push 0
push dword [0x44d524]
call dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
and dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 4
mov eax, dword [0x44d52c]
mov dword [ebp - 0x60], eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x20000013
push dword [0x44d524]
call dword [ebp - 0x60]
cmp dword [ebp - 0x34], 0xc8
je 0x401d4e
push 0xffffffffffffffff
call fcn.0042319f
and dword [ebp - 0x30], 0
mov eax, dword [0x44d52c]
mov dword [ebp - 0x64], eax
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0x16
push dword [0x44d524]
call dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x401dc4
mov eax, dword [ebp - 0x2c]
shr eax, 1
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bb8f
pop ecx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x30], eax
mov eax, dword [0x44d52c]
mov dword [ebp - 0x6c], eax
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push str.Content_Length
push 0xffff
push dword [0x44d524]
call dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
mov eax, dword [0x44d540]
mov dword [ebp - 0x70], eax
push 0
push 0xffffffffffffffff
push 0
push dword [0x44d524]
call dword [ebp - 0x70]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
call fcn.00406b0d
mov byte [ebp - 4], 2
push 0xa
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.0040ff4c
add esp, 0xc
mov dword [0x44d594], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040784e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
call fcn.0041bb98
pop ecx
push dword [0x44d594]
call fcn.0042280d
pop ecx
mov dword [0x44d590], eax
mov eax, dword [0x44d554]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
push eax
push dword [0x44d594]
push dword [0x44d590]
push dword [0x44d524]
call dword [ebp - 0x78]
test eax, eax
jne 0x401e57
push 0xffffffffffffffff
call fcn.0042319f
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040784e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.0040784e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041bb9d
leave
ret