Function at 0x4130b7
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a0
and dword [ebp - 0x6c], 0
and dword [ebp - 0x70], 0
and dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 4
and dword [ebp - 0x54], 0
or dword [ebp - 0x60], 0xffffffff
and dword [ebp - 0x68], 0
mov eax, dword [0x409158]
mov dword [ebp - 0x64], eax
push 0xc
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.004194d9
add esp, 0xc
push 0x40
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.004194d9
add esp, 0xc
call fcn.00411ee2
push eax
push 0x40957c
lea eax, [ebp - 0x50]
push eax
call dword [fcn.00409210]
add esp, 0xc
push 0x10000000
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
call dword [0x40dc4c]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x413147
jmp 0x413355
push 0
push 0
push 0
push 0
call dword [ebp - 0x64]
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
call dword [ebp - 0x64]
mov dword [ebp - 4], eax
push 0x4029e0
push dword [ebp - 0x68]
call dword [0x40dc60]
cmp eax, 0xffffffff
jne 0x413180
jmp 0x413355
lea eax, [ebp - 0xc]
push eax
push 0x84000000
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x68]
call dword [0x40dc50]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4131d8
call dword [0x40915c]
cmp eax, 0x3e5
je 0x4131b9
jmp 0x413355
push 0x2710
push dword [ebp - 8]
call dword [0x409150]
cmp eax, 0x102
jne 0x4131d8
jmp 0x413355
push 0x4e20
push dword [ebp - 4]
call dword [0x409150]
cmp eax, 0x102
jne 0x4131f7
jmp 0x413355
push 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
push 0x20000013
push dword [ebp - 0xc]
call dword [0x40dc54]
test eax, eax
je 0x41321c
cmp dword [ebp - 0x70], 0xc8
je 0x413226
jmp 0x413355
push 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x20000005
push dword [ebp - 0xc]
call dword [0x40dc54]
test eax, eax
je 0x413248
cmp dword [ebp - 0x5c], 0
ja 0x413252
jmp 0x413355
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push dword [ebp + 0xc]
call dword [fcn.004090c4]
mov dword [ebp - 0x60], eax
xor eax, eax
inc eax
je 0x413355
and dword [ebp - 0x74], 0
push 0x400
push 0
lea eax, [ebp - 0x4a0]
push eax
call fcn.004194d9
add esp, 0xc
push 0
push 0x28
lea eax, [ebp - 0x9c]
push eax
call fcn.004194d9
add esp, 0xc
mov dword [ebp - 0x9c], 0x28
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 0x400
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0xc]
call dword [0x40dc58]
test eax, eax
jne 0x41330c
call dword [0x40915c]
cmp eax, 0x3e5
jne 0x413308
push 0x4e20
push dword [ebp - 4]
call dword [0x409150]
cmp eax, 0x102
jne 0x413306
jmp 0x413355
jmp 0x41330c
jmp 0x413355
cmp dword [ebp - 0x84], 0
jne 0x413319
jmp 0x413355
push 0
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push dword [ebp - 0x60]
call dword [fcn.004090e0]
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x5c]
jne 0x413350
mov dword [ebp - 0x6c], 1
jmp 0x413355
jmp 0x413270
push dword [ebp - 0xc]
call dword [0x40dc5c]
push dword [ebp - 0x68]
call dword [0x40dc5c]
push dword [ebp - 8]
call dword [fcn.00409110]
push dword [ebp - 4]
call dword [fcn.00409110]
push dword [ebp - 0x60]
call dword [fcn.00409110]
cmp dword [ebp - 0x6c], 1
je 0x413391
push dword [ebp + 0xc]
call dword [0x409118]
mov eax, dword [ebp - 0x6c]
leave
ret 8