Function at 0x404ad5
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x610
push esi
push edi
sub esp, 0xc
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.004116b4
lea eax, [ebp - 0x5f8]
push eax
call fcn.0040430f
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x5b4]
rep movsd dword es:[edi], dword [esi]
push 0xf
pop ecx
lea esi, [ebp - 0x5b4]
lea edi, [ebp - 0x450]
rep movsd dword es:[edi], dword [esi]
push 0x5f5e0ff
push 0
call dword [0x641870]
push eax
call dword [0x641800]
mov dword [ebp - 0x414], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x460], 1
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0x14]
call fcn.0041193a
push eax
call dword [0x641764]
mov dword [ebp - 8], eax
and dword [ebp - 0x10], 0
push dword [0x630a14]
push dword [ebp - 0x44c]
call dword [0x641840]
test eax, eax
jne 0x404b7e
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
je 0x404dad
push 0
push 0
push 3
push 0
push 0
push dword [ebp - 0x438]
push dword [ebp - 0x440]
push dword [ebp - 8]
call dword [0x641864]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0
je 0x404da1
and dword [ebp - 0x464], 0
cmp dword [ebp - 0x10], 0
je 0x404bd3
mov dword [ebp - 0x464], 0xc00100
jmp 0x404bdd
mov dword [ebp - 0x464], 0x400100
push 0
push dword [ebp - 0x464]
push 0
push 0
push dword [0x630860]
push dword [ebp - 0x424]
push 0x428d80
push dword [ebp - 0x454]
call dword [0x6418a4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x404d98
cmp dword [ebp - 0x10], 0
je 0x404c3e
mov eax, dword [ebp - 0x574]
or eax, 0x10300
mov dword [ebp - 0x574], eax
push 4
lea eax, [ebp - 0x574]
push eax
push 0x1f
push dword [ebp - 0xc]
call dword [0x64165c]
push 0
push 0
push 0
push 0
push dword [ebp - 0xc]
call dword [0x64182c]
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x470], 0x100
push 0
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x570]
push eax
push 0x13
push dword [ebp - 0xc]
call dword [0x6418bc]
test eax, eax
jne 0x404cbe
and dword [ebp - 0x458], 0
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x600], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x5fc], eax
lea ecx, [ebp + 8]
call fcn.00411701
lea ecx, [ebp + 0x14]
call fcn.00411701
mov eax, dword [ebp - 0x600]
mov edx, dword [ebp - 0x5fc]
jmp 0x404dff
lea eax, [ebp - 0x570]
push eax
call fcn.00412b90
pop ecx
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0xc8
jne 0x404d5b
cmp dword [ebp - 0x46c], 0
je 0x404d59
cmp dword [ebp - 0x460], 0
jbe 0x404d59
lea eax, [ebp - 0x460]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0xc]
call dword [0x64178c]
and dword [ebp - 0x578], 0
jmp 0x404d21
mov eax, dword [ebp - 0x578]
inc eax
mov dword [ebp - 0x578], eax
mov eax, dword [ebp - 0x578]
cmp eax, dword [ebp - 0x460]
jae 0x404d57
push 1
mov eax, dword [ebp - 0x578]
lea eax, [ebp + eax - 0x410]
push eax
mov eax, dword [ebp - 0x414]
add eax, dword [ebp - 4]
push eax
call fcn.00412c12
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x404d14
jmp 0x404ce6
jmp 0x404d98
and dword [ebp - 0x458], 0
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x608], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x604], eax
lea ecx, [ebp + 8]
call fcn.00411701
lea ecx, [ebp + 0x14]
call fcn.00411701
mov eax, dword [ebp - 0x608]
mov edx, dword [ebp - 0x604]
jmp 0x404dff
push dword [ebp - 0xc]
call dword [0x641760]
push dword [ebp - 0x454]
call dword [0x641760]
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x458], eax
push dword [ebp - 8]
call dword [0x641760]
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x610], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x60c], eax
lea ecx, [ebp + 8]
call fcn.00411701
lea ecx, [ebp + 0x14]
call fcn.00411701
mov eax, dword [ebp - 0x610]
mov edx, dword [ebp - 0x60c]
pop edi
pop esi
leave
ret