Function at 0x576070
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.0057bf11
add esp, 0xc
call fcn.00574e80
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 [fcn.0040df40]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x5760f0
jmp 0x57630c
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 0x57612d
jmp 0x57630c
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 0x57618b
call dword [0x40913c]
cmp eax, 0x3e5
je 0x576169
jmp 0x57630c
push 0x2710
push dword [0x40df5c]
call dword [0x409078]
cmp eax, 0x102
jne 0x57618b
jmp 0x57630c
push 0x4e20
push dword [0x40df60]
call dword [0x409078]
cmp eax, 0x102
jne 0x5761ad
jmp 0x57630c
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 0x5761d5
cmp dword [ebp - 0x60], 0xc8
je 0x5761e5
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
jmp 0x57630c
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 0x57620a
cmp dword [ebp - 0x4c], 0
ja 0x576214
jmp 0x57630c
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 0x57630c
and dword [ebp - 0x64], 0
push 0x400
push 0
lea eax, [ebp - 0x490]
push eax
call fcn.0057bf11
add esp, 0xc
push 0
push 0x28
lea eax, [ebp - 0x8c]
push eax
call fcn.0057bf11
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 0x5762cc
call dword [0x40913c]
cmp eax, 0x3e5
jne 0x5762c8
push 0x4e20
push dword [0x40df60]
call dword [0x409078]
cmp eax, 0x102
jne 0x5762c6
jmp 0x57630c
jmp 0x5762cc
jmp 0x57630c
cmp dword [ebp - 0x74], 0
jne 0x5762d6
jmp 0x57630c
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 0x576307
mov dword [ebp - 0x5c], 1
jmp 0x57630c
jmp 0x576232
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 0x576351
push dword [ebp + 0xc]
call dword [0x4090fc]
mov eax, dword [ebp - 0x5c]
leave
ret 8