Function at 0x49e070
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
and dword [ebp - 0x5c], 0
and dword [ebp - 0x60], 0
and dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 4
and dword [ebp - 0x44], 0
or dword [ebp - 0x50], 0xffffffff
and dword [ebp - 0x58], 0
mov eax, dword [0x409138]
mov dword [ebp - 0x54], eax
push 0x40
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.004a3f11
add esp, 0xc
call fcn.0049ce80
push eax
push 0x409578
lea eax, [ebp - 0x40]
push eax
call dword [fcn.004091fc]
add esp, 0xc
push 0x10000000
push 0
push 0
push 0
lea eax, [ebp - 0x40]
push eax
call dword [0x40df40]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x49e0f0
jmp 0x49e30c
push 0
push 0
push 0
push 0
call dword [ebp - 0x54]
mov dword [0x40df5c], eax
push 0
push 0
push 0
push 0
call dword [ebp - 0x54]
mov dword [0x40df60], eax
push 0x402a35
push dword [ebp - 0x58]
call dword [0x40df54]
cmp eax, 0xffffffff
jne 0x49e12d
jmp 0x49e30c
push 1
push 0x84000000
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x58]
call dword [0x40df44]
mov dword [0x40df58], eax
cmp dword [0x40df58], 0
jne 0x49e18b
call dword [0x40913c]
cmp eax, 0x3e5
je 0x49e169
jmp 0x49e30c
push 0x2710
push dword [0x40df5c]
call dword [0x409078]
cmp eax, 0x102
jne 0x49e18b
jmp 0x49e30c
push 0x4e20
push dword [0x40df60]
call dword [0x409078]
cmp eax, 0x102
jne 0x49e1ad
jmp 0x49e30c
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x20000013
push dword [0x40df58]
call dword [0x40df48]
test eax, eax
je 0x49e1d5
cmp dword [ebp - 0x60], 0xc8
je 0x49e1e5
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
jmp 0x49e30c
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x20000005
push dword [0x40df58]
call dword [0x40df48]
test eax, eax
je 0x49e20a
cmp dword [ebp - 0x4c], 0
ja 0x49e214
jmp 0x49e30c
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push dword [ebp + 0xc]
call dword [fcn.004090a4]
mov dword [ebp - 0x50], eax
xor eax, eax
inc eax
je 0x49e30c
and dword [ebp - 0x64], 0
push 0x400
push 0
lea eax, [ebp - 0x490]
push eax
call fcn.004a3f11
add esp, 0xc
push 0
push 0x28
lea eax, [ebp - 0x8c]
push eax
call fcn.004a3f11
add esp, 0xc
mov dword [ebp - 0x8c], 0x28
lea eax, [ebp - 0x490]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0x400
push 2
push 0
lea eax, [ebp - 0x8c]
push eax
push dword [0x40df58]
call dword [0x40df4c]
test eax, eax
jne 0x49e2cc
call dword [0x40913c]
cmp eax, 0x3e5
jne 0x49e2c8
push 0x4e20
push dword [0x40df60]
call dword [0x409078]
cmp eax, 0x102
jne 0x49e2c6
jmp 0x49e30c
jmp 0x49e2cc
jmp 0x49e30c
cmp dword [ebp - 0x74], 0
jne 0x49e2d6
jmp 0x49e30c
push 0
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x50]
call dword [fcn.004090c0]
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x4c]
jne 0x49e307
mov dword [ebp - 0x5c], 1
jmp 0x49e30c
jmp 0x49e232
push dword [0x40df58]
call dword [0x40df50]
push dword [ebp - 0x58]
call dword [0x40df50]
push dword [0x40df5c]
call dword [fcn.004090f0]
push dword [0x40df60]
call dword [fcn.004090f0]
push dword [ebp - 0x50]
call dword [fcn.004090f0]
cmp dword [ebp - 0x5c], 1
je 0x49e351
push dword [ebp + 0xc]
call dword [0x4090fc]
mov eax, dword [ebp - 0x5c]
leave
ret 8