Function at 0x418210
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x898
mov dword [ebp - 0x10], 0x435bb8
mov dword [ebp - 0xc], 0x435bec
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
cmp dword [ebp + 8], 0xa
jle 0x418289
xor eax, eax
jmp 0x41877b
mov dword [ebp - 0x50], 0
jmp 0x41829b
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp + 8]
jge 0x4182b5
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [ebp + edx*4 - 0x40], eax
jmp 0x418292
call dword [0x489880]
test eax, eax
jne 0x4182c6
xor eax, eax
jmp 0x41877b
push 0x14
push 0x40
call dword [0x48948c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x418766
push 0
push 0
push 0
push 0
call dword [0x48949c]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x41875c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
push 0x258
push 0x40
call dword [0x48948c]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x418750
push 0x258
push 0x40
call dword [0x48948c]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x418746
push 0x3c
push 0
lea edx, [ebp - 0x94]
push edx
call fcn.00422100
add esp, 0xc
mov dword [ebp - 0x94], 0x3c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0x12c
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], 0x12c
lea edx, [ebp - 0x94]
push edx
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
call dword [0x489884]
cmp eax, 1
jne 0x41873c
push 0x10000000
push 0
push 0
push 1
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [0x489888]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x41873c
mov dword [ebp - 0x9c], 0xaa0
push 4
lea edx, [ebp - 0x9c]
push edx
push 0x54
mov eax, dword [ebp - 0x98]
push eax
call dword [0x48988c]
cmp eax, 1
jne 0x41872f
mov dword [ebp - 0xa0], 0x7e0000
push 0
mov ecx, dword [ebp - 0xa0]
push ecx
push 0x418780
mov edx, dword [ebp - 0x98]
push edx
call dword [0x489890]
push 0
movzx eax, word [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x98]
push edx
call dword [0x489894]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x41872f
movzx eax, word [ebp - 0x7c]
sub eax, 0x1bb
neg eax
sbb eax, eax
and eax, 0xff800000
add eax, 0x800000
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push 0
mov eax, dword [ebp - 0x58]
push eax
push 0x435c04
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [0x489898]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x418722
mov edx, dword [ebp - 4]
push edx
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xac]
push eax
call dword [0x48989c]
cmp eax, 1
jne 0x418715
mov ecx, dword [ebp + 0x20]
push ecx
push 0
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
add eax, 1
push eax
call dword [0x4894f4]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x418715
push 0
mov ecx, dword [ebp - 0xac]
push ecx
call dword [0x4898a0]
cmp eax, 1
jne 0x418715
mov edx, dword [ebp + 0x20]
push edx
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
add ecx, 1
push ecx
call dword [0x4894f4]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x418715
mov dword [ebp - 0xb0], 0x3e8
push 0
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0x880]
push eax
push 0
push 0x13
mov ecx, dword [ebp - 0xac]
push ecx
call dword [0x4898a4]
test eax, eax
jne 0x418545
jmp 0x418715
lea edx, [ebp - 0x880]
push edx
call fcn.00424433
add esp, 4
mov dword [ebp - 0x888], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x888]
mov dword [eax], ecx
cmp dword [ebp - 0x888], 0xc8
je 0x41857b
jmp 0x418715
mov dword [ebp - 0x884], 0x3e8
push 0
lea edx, [ebp - 0x884]
push edx
lea eax, [ebp - 0x498]
push eax
push 0
push 5
mov ecx, dword [ebp - 0xac]
push ecx
call dword [0x4898a4]
test eax, eax
jne 0x4185b4
jmp 0x418715
cmp dword [ebp - 0x884], 0
je 0x418715
lea edx, [ebp - 0x498]
test edx, edx
je 0x418715
lea eax, [ebp - 0x498]
push eax
call fcn.00424433
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
push 0x40
call dword [0x48948c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x418715
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x88c], edx
mov dword [ebp - 0x890], 0
mov eax, 1
test eax, eax
je 0x418705
mov ecx, dword [ebp - 0x890]
cmp ecx, dword [ebp - 0x48]
jb 0x418631
mov dword [ebp - 0x18], 1
jmp 0x418705
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0
push 0
mov edx, dword [ebp - 0xac]
push edx
call dword [0x4898a8]
test eax, eax
jne 0x41865d
jmp 0x418705
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
add ecx, 1
push ecx
call dword [0x4894f4]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x418680
jmp 0x418705
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x898], eax
cmp dword [ebp - 0x898], 0
jne 0x418697
jmp 0x418705
push 0
mov ecx, dword [ebp - 0x898]
push ecx
mov edx, dword [ebp - 0x88c]
push edx
mov eax, dword [ebp - 0xac]
push eax
call dword [0x4898ac]
test eax, eax
jne 0x4186ba
jmp 0x418705
mov ecx, dword [ebp + 0x20]
push ecx
push 0
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
add eax, 1
push eax
call dword [0x4894f4]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4186dc
jmp 0x418705
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x88c]
add edx, dword [ecx + 0x10]
mov dword [ebp - 0x88c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x890]
add ecx, dword [eax + 0x10]
mov dword [ebp - 0x890], ecx
jmp 0x41860d
cmp dword [ebp - 0x18], 0
jne 0x418715
mov edx, dword [ebp - 0x14]
push edx
call dword [0x489498]
mov eax, dword [ebp - 0xac]
push eax
call dword [0x4898b0]
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [0x4898b0]
mov edx, dword [ebp - 0x98]
push edx
call dword [0x4898b0]
mov eax, dword [ebp - 0x58]
push eax
call dword [0x489498]
mov ecx, dword [ebp - 0x54]
push ecx
call dword [0x489498]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [0x489484]
mov ecx, dword [ebp - 4]
push ecx
call dword [0x489498]
cmp dword [ebp - 0x18], 1
jne 0x418779
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
jmp 0x41877b
xor eax, eax
mov esp, ebp
pop ebp
ret