Function at 0x1004f896
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov eax, dword [0x50]
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1004fed5
fild dword [ebp - 4]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x116]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fmul qword [0xb4]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fadd qword [0xc2c1]
fstp qword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
fld qword [ebp - 0x54]
call fcn.1002cf89
push eax
push dword [0x24]
call fcn.1002d640
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0xc2c9]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
fld qword [ebp - 0x44]
call fcn.1002cf89
push eax
push dword [0x24]
call fcn.1002d640
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x58], 0x2e
jne 0x1004f9a5
cmp dword [ebp - 0x54], 0
jne 0x1004fecd
fild dword [ebp - 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0xc5a0]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
fld qword [ebp - 0x44]
call fcn.1002cf89
push eax
push dword [0x24]
call fcn.10032dbc
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1003aa14
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x1004f9fc
push ebx
call fcn.1006f96e
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1004fa10
push ebx
call fcn.1006f96e
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x5b
push dword [ebp - 0xc]
call fcn.1002c98f
add esp, 8
cmp eax, 0
jne 0x1004fa32
jmp 0x1004fecd
mov ebx, dword [0x20]
add ebx, 0x94
mov dword [ebp - 0x38], ebx
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1004fa66
mov eax, 0x5b
push eax
push 0x80000004
push 0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
test eax, eax
jne 0x1004fa7c
mov eax, 0x5b
push eax
push 4
mov ebx, 0x148
call fcn.1006f97a
add esp, 0x34
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x1004faa1
jmp 0x1004fecd
fild dword [ebp - 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0xc2dd]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
fld qword [ebp - 0x44]
call fcn.1002cf89
push eax
push dword [0x24]
call fcn.1002d640
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1004fae5
jmp 0x1004fecd
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x168
call fcn.1006f97a
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x1004fb29
mov eax, 0x5b
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1004fb3d
mov eax, 0x5b
push eax
push 4
mov ebx, 0x148
call fcn.1006f97a
add esp, 0x34
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1004fb63
push ebx
call fcn.1006f96e
add esp, 4
cmp dword [ebp - 0x3c], 0xffffffff
je 0x1004fb72
jmp 0x1004fecd
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x168
call fcn.1006f97a
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x3ec
push dword [ebp - 0x38]
push dword [ebp - 0x14]
mov ecx, 3
call fcn.1002d01b
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1004fbbc
push ebx
call fcn.1006f96e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1004fbd0
push ebx
call fcn.1006f96e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0xd883]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.1002cf89
push eax
push dword [0x24]
call fcn.1002e575
mov dword [ebp - 0x4c], eax
fld dword [ebp - 0x4c]
fstp qword [ebp - 0x54]
push 0x80000601
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push 1
mov ebx, 0x60
call fcn.1006f97a
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0xd88b]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.1002cf89
push eax
push dword [0x24]
call fcn.1002e575
mov dword [ebp - 0x4c], eax
fld dword [ebp - 0x4c]
fstp qword [ebp - 0x54]
push 0x80000601
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push 1
mov ebx, 0x60
call fcn.1006f97a
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [0x20]
add ebx, 0x10
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x20]
add ebx, 0x14
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fild dword [ebx]
fstp dword [ebp - 0x40]
push dword [ebp - 0x40]
mov ebx, dword [ebp - 0x38]
fild dword [ebx]
fstp dword [ebp - 0x44]
push dword [ebp - 0x44]
fild dword [ebp - 0x1c]
fstp dword [ebp - 0x48]
push dword [ebp - 0x48]
fild dword [ebp - 0x18]
fstp dword [ebp - 0x4c]
push dword [ebp - 0x4c]
call fcn.1004f29b
mov dword [ebp - 0x50], eax
push 0xffffffffffffffff
push 8
push 0x160625c3
push 0x52010001
call fcn.1006f98c
add esp, 0x10
mov dword [ebp - 0x54], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x1004fce6
mov eax, 0x5b
push eax
push 1
mov ebx, 0x9dc
call fcn.1006f97a
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x1004fd0c
push ebx
call fcn.1006f96e
add esp, 4
fld dword [ebp - 0x50]
fstp qword [ebp - 0x60]
fild dword [ebp - 0x58]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x60]
fsub qword [ebp - 0x68]
fcomp qword [0x64]
fnstsw ax
test ah, 0x41
jne 0x1004fd34
jmp 0x1004fecd
fild dword [ebp - 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0xd8d7]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
fld qword [ebp - 0x44]
call fcn.1002cf89
push eax
push dword [0x24]
call fcn.1002d640
mov dword [ebp - 0x20], eax
mov ebx, dword [0x20]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
cmp dword [ebp - 0x20], eax
je 0x1004fecd
fild dword [ebp - 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0xd86d]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.1002cf89
push eax
push dword [0x24]
call fcn.1002e575
mov dword [ebp - 0x4c], eax
fld dword [ebp - 0x4c]
fstp qword [ebp - 0x54]
push 0x80000601
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push 1
mov ebx, 0x60
call fcn.1006f97a
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xc8
jg 0x1004fecd
cmp dword [ebp - 0x24], 0x23
jg 0x1004fe31
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1004fe0b
push eax
mov ebx, eax
call fcn.1002cfb0
inc eax
push eax
call fcn.1006f974
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1004fe1c
push ebx
call fcn.1006f96e
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
jmp 0x1004fed5
cmp dword [ebp - 0x28], 0
jne 0x1004fe7e
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1004fe5d
push eax
mov ebx, eax
call fcn.1002cfb0
inc eax
push eax
call fcn.1006f974
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1004fe6e
push ebx
call fcn.1006f96e
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x24], eax
jge 0x1004fecd
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1004feac
push eax
mov ebx, eax
call fcn.1002cfb0
inc eax
push eax
call fcn.1006f974
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1004febd
push ebx
call fcn.1006f96e
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
pop eax
pop ebx
pop ecx
jmp 0x1004f908
add esp, 0xc
cmp dword [ebp - 0x30], 0
jle 0x1004fff8
call fcn.1004b5ce
push dword [ebp - 0x30]
call fcn.1003b624
mov ebx, dword [0x20]
add ebx, 0x44
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
mov ebx, dword [0x20]
add ebx, 0x3c
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
push 0xffffffffffffffff
push 0x13
push 0x1606262f
push 0x52010001
call fcn.1006f98c
add esp, 0x10
push eax
call fcn.1003b6a1
push 0x80000301
push 0
push dword [ebp - 0x30]
push 1
mov ebx, 0x168
call fcn.1006f97a
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x80000301
push 0
push dword [ebp - 0x28]
push 1
mov ebx, 0x168
call fcn.1006f97a
add esp, 0x10
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push 0xd893
push dword [ebp - 0x38]
push 0xc2f2
push dword [ebp - 0x2c]
mov ecx, 5
call fcn.1002d01b
add esp, 0x14
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1004ffa4
push ebx
call fcn.1006f96e
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1004ffb4
push ebx
call fcn.1006f96e
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.1002ed22
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1004ffcd
push ebx
call fcn.1006f96e
add esp, 4
fild dword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0xd899]
fstp qword [ebp - 0x44]
push 1
fld qword [ebp - 0x44]
call fcn.1002cf89
push eax
push dword [0x24]
call fcn.1003b65f
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10050008
push ebx
call fcn.1006f96e
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10050018
push ebx
call fcn.1006f96e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10050028
push ebx
call fcn.1006f96e
add esp, 4
mov esp, ebp
pop ebp
ret