Function at 0x418220
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x898
mov dword [ebp - 0x10], 0x435b9c
mov dword [ebp - 0xc], 0x435bd0
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 0x418299
xor eax, eax
jmp 0x41878b
mov dword [ebp - 0x50], 0
jmp 0x4182ab
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp + 8]
jge 0x4182c5
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 0x4182a2
call dword [0x4897e4]
test eax, eax
jne 0x4182d6
xor eax, eax
jmp 0x41878b
push 0x14
push 0x40
call dword [0x4893ec]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x418776
push 0
push 0
push 0
push 0
call dword [0x4893fc]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x41876c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
push 0x258
push 0x40
call dword [0x4893ec]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x418760
push 0x258
push 0x40
call dword [0x4893ec]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x418756
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 [0x4897e8]
cmp eax, 1
jne 0x41874c
push 0x10000000
push 0
push 0
push 1
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [0x4897ec]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x41874c
mov dword [ebp - 0x9c], 0xaa0
push 4
lea edx, [ebp - 0x9c]
push edx
push 0x54
mov eax, dword [ebp - 0x98]
push eax
call dword [0x4897f0]
cmp eax, 1
jne 0x41873f
mov dword [ebp - 0xa0], 0x7e0000
push 0
mov ecx, dword [ebp - 0xa0]
push ecx
push 0x418790
mov edx, dword [ebp - 0x98]
push edx
call dword [0x4897f4]
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 [0x4897f8]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x41873f
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 0x435be8
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [0x4897fc]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x418732
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 [0x489800]
cmp eax, 1
jne 0x418725
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 [0x489454]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x418725
push 0
mov ecx, dword [ebp - 0xac]
push ecx
call dword [0x489804]
cmp eax, 1
jne 0x418725
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 [0x489454]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x418725
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 [0x489808]
test eax, eax
jne 0x418555
jmp 0x418725
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 0x41858b
jmp 0x418725
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 [0x489808]
test eax, eax
jne 0x4185c4
jmp 0x418725
cmp dword [ebp - 0x884], 0
je 0x418725
lea edx, [ebp - 0x498]
test edx, edx
je 0x418725
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 [0x4893ec]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x418725
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x88c], edx
mov dword [ebp - 0x890], 0
mov eax, 1
test eax, eax
je 0x418715
mov ecx, dword [ebp - 0x890]
cmp ecx, dword [ebp - 0x48]
jb 0x418641
mov dword [ebp - 0x18], 1
jmp 0x418715
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0
push 0
mov edx, dword [ebp - 0xac]
push edx
call dword [0x48980c]
test eax, eax
jne 0x41866d
jmp 0x418715
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
add ecx, 1
push ecx
call dword [0x489454]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x418690
jmp 0x418715
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x898], eax
cmp dword [ebp - 0x898], 0
jne 0x4186a7
jmp 0x418715
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 [0x489810]
test eax, eax
jne 0x4186ca
jmp 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 [0x489454]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4186ec
jmp 0x418715
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 0x41861d
cmp dword [ebp - 0x18], 0
jne 0x418725
mov edx, dword [ebp - 0x14]
push edx
call dword [0x4893f8]
mov eax, dword [ebp - 0xac]
push eax
call dword [0x489814]
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [0x489814]
mov edx, dword [ebp - 0x98]
push edx
call dword [0x489814]
mov eax, dword [ebp - 0x58]
push eax
call dword [0x4893f8]
mov ecx, dword [ebp - 0x54]
push ecx
call dword [0x4893f8]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [0x4893e4]
mov ecx, dword [ebp - 4]
push ecx
call dword [0x4893f8]
cmp dword [ebp - 0x18], 1
jne 0x418789
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
jmp 0x41878b
xor eax, eax
mov esp, ebp
pop ebp
ret