Function at 0x418070
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x898
mov dword [ebp - 0x10], 0x435af0
mov dword [ebp - 0xc], 0x435b24
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 0x4180e9
xor eax, eax
jmp 0x4185db
mov dword [ebp - 0x50], 0
jmp 0x4180fb
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp + 8]
jge 0x418115
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 0x4180f2
call dword [0x489c88]
test eax, eax
jne 0x418126
xor eax, eax
jmp 0x4185db
push 0x14
push 0x40
call dword [0x489894]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4185c6
push 0
push 0
push 0
push 0
call dword [0x4898a4]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x4185bc
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
push 0x258
push 0x40
call dword [0x489894]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4185b0
push 0x258
push 0x40
call dword [0x489894]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x4185a6
push 0x3c
push 0
lea edx, [ebp - 0x94]
push edx
call fcn.00421fe0
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 [0x489c8c]
cmp eax, 1
jne 0x41859c
push 0x10000000
push 0
push 0
push 1
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [0x489c90]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x41859c
mov dword [ebp - 0x9c], 0xaa0
push 4
lea edx, [ebp - 0x9c]
push edx
push 0x54
mov eax, dword [ebp - 0x98]
push eax
call dword [0x489c94]
cmp eax, 1
jne 0x41858f
mov dword [ebp - 0xa0], 0x7e0000
push 0
mov ecx, dword [ebp - 0xa0]
push ecx
push 0x4185e0
mov edx, dword [ebp - 0x98]
push edx
call dword [0x489c98]
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 [0x489c9c]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x41858f
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 0x435b3c
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [0x489ca0]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x418582
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 [0x489ca4]
cmp eax, 1
jne 0x418575
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 [0x4898fc]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x418575
push 0
mov ecx, dword [ebp - 0xac]
push ecx
call dword [0x489ca8]
cmp eax, 1
jne 0x418575
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 [0x4898fc]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x418575
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 [0x489cac]
test eax, eax
jne 0x4183a5
jmp 0x418575
lea edx, [ebp - 0x880]
push edx
call fcn.00424342
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 0x4183db
jmp 0x418575
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 [0x489cac]
test eax, eax
jne 0x418414
jmp 0x418575
cmp dword [ebp - 0x884], 0
je 0x418575
lea edx, [ebp - 0x498]
test edx, edx
je 0x418575
lea eax, [ebp - 0x498]
push eax
call fcn.00424342
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
push 0x40
call dword [0x489894]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x418575
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x88c], edx
mov dword [ebp - 0x890], 0
mov eax, 1
test eax, eax
je 0x418565
mov ecx, dword [ebp - 0x890]
cmp ecx, dword [ebp - 0x48]
jb 0x418491
mov dword [ebp - 0x18], 1
jmp 0x418565
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0
push 0
mov edx, dword [ebp - 0xac]
push edx
call dword [0x489cb0]
test eax, eax
jne 0x4184bd
jmp 0x418565
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
add ecx, 1
push ecx
call dword [0x4898fc]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4184e0
jmp 0x418565
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x898], eax
cmp dword [ebp - 0x898], 0
jne 0x4184f7
jmp 0x418565
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 [0x489cb4]
test eax, eax
jne 0x41851a
jmp 0x418565
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 [0x4898fc]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x41853c
jmp 0x418565
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 0x41846d
cmp dword [ebp - 0x18], 0
jne 0x418575
mov edx, dword [ebp - 0x14]
push edx
call dword [0x4898a0]
mov eax, dword [ebp - 0xac]
push eax
call dword [0x489cb8]
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [0x489cb8]
mov edx, dword [ebp - 0x98]
push edx
call dword [0x489cb8]
mov eax, dword [ebp - 0x58]
push eax
call dword [0x4898a0]
mov ecx, dword [ebp - 0x54]
push ecx
call dword [0x4898a0]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [0x48988c]
mov ecx, dword [ebp - 4]
push ecx
call dword [0x4898a0]
cmp dword [ebp - 0x18], 1
jne 0x4185d9
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
jmp 0x4185db
xor eax, eax
mov esp, ebp
pop ebp
ret