Function at 0x578070
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.0057df11
add esp, 0xc
call fcn.00576e80
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 0x5780f0
jmp 0x57830c
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 0x57812d
jmp 0x57830c
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 0x57818b
call dword [0x40913c]
cmp eax, 0x3e5
je 0x578169
jmp 0x57830c
push 0x2710
push dword [0x40df5c]
call dword [0x409078]
cmp eax, 0x102
jne 0x57818b
jmp 0x57830c
push 0x4e20
push dword [0x40df60]
call dword [0x409078]
cmp eax, 0x102
jne 0x5781ad
jmp 0x57830c
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 0x5781d5
cmp dword [ebp - 0x60], 0xc8
je 0x5781e5
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
jmp 0x57830c
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 0x57820a
cmp dword [ebp - 0x4c], 0
ja 0x578214
jmp 0x57830c
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 0x57830c
and dword [ebp - 0x64], 0
push 0x400
push 0
lea eax, [ebp - 0x490]
push eax
call fcn.0057df11
add esp, 0xc
push 0
push 0x28
lea eax, [ebp - 0x8c]
push eax
call fcn.0057df11
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 0x5782cc
call dword [0x40913c]
cmp eax, 0x3e5
jne 0x5782c8
push 0x4e20
push dword [0x40df60]
call dword [0x409078]
cmp eax, 0x102
jne 0x5782c6
jmp 0x57830c
jmp 0x5782cc
jmp 0x57830c
cmp dword [ebp - 0x74], 0
jne 0x5782d6
jmp 0x57830c
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 0x578307
mov dword [ebp - 0x5c], 1
jmp 0x57830c
jmp 0x578232
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 0x578351
push dword [ebp + 0xc]
call dword [0x4090fc]
mov eax, dword [ebp - 0x5c]
leave
ret 8