Function at 0x46f897
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x289d4], 0
jne 0x46f8b4
jmp 0x46fcc4
mov ecx, dword [ebp - 0x80]
movsx edx, word [ecx + 0x27110]
test edx, edx
jl 0x46f8d0
mov eax, dword [ebp - 0x80]
movsx ecx, word [eax + 0x27112]
test ecx, ecx
jge 0x46f8d5
jmp 0x46fcc4
mov edx, dword [0x684bb0]
mov dword [ebp - 0x68], edx
mov eax, dword [0x9362cc]
mov edx, dword [eax]
mov ecx, dword [0x9362cc]
call dword [edx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x27458], 0
je 0x46f916
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0xc]
sub edx, dword [ecx + 0x27458]
cmp edx, 0xc8
jae 0x46f916
jmp 0x46fcc4
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x2876c], 0
jne 0x46f927
jmp 0x46fcc4
mov ecx, dword [ebp - 0x80]
movsx edx, word [ecx + 0x27112]
push edx
mov eax, dword [ebp - 0x80]
movsx ecx, word [eax + 0x27110]
push ecx
mov edx, dword [ebp - 0x80]
mov ecx, dword [edx + 0x2876c]
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x2876c]
mov eax, dword [edx]
call dword [eax + 0xb8]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x46f965
jmp 0x46fcc4
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x670]
movsx eax, word [edx]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0x4c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ecx + 0x400]
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ecx + 0x1e4]
push edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x2876c]
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x2876c]
mov edx, dword [eax]
call dword [edx + 0xc4]
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ecx + 0x1e4]
push edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x2876c]
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x2876c]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov word [ebp - 0x50], ax
movsx eax, word [ebp - 0x50]
cmp eax, 0xffffffff
jne 0x46fa0d
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x1d4]
imul edx, edx, 9
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x1d0]
add ecx, edx
mov word [ebp - 0x50], cx
push 0x26
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x670]
push eax
call fcn.00556f5b
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], eax
push 0x34
push 0
lea ecx, [ebp - 0x40]
push ecx
call fcn.005998e0
add esp, 0xc
mov edx, dword [0x13c1aac]
mov ax, word [edx + 0xc5c]
mov word [ebp - 0x3a], ax
mov word [ebp - 0x3c], 0x3c9
mov dword [ebp - 0x34], 1
movsx ecx, word [ebp - 0x50]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x44], 0xf
jne 0x46fa7c
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xe
mov word [ebp - 0x20], 0
fld dword [ebp - 0x4c]
call fcn.00599ab0
mov word [ebp - 0x24], ax
fld dword [ebp - 0x48]
call fcn.00599ab0
mov word [ebp - 0x22], ax
mov dword [ebp - 0x54], 0
jmp 0x46faac
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 0x64
jge 0x46fada
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + eax*4 + 0x289d8]
cmp dword [edx + 0x1e8], 0
je 0x46fad8
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x1e]
push ecx
call fcn.00555277
add esp, 8
jmp 0x46faa3
push 0x34
lea edx, [ebp - 0x40]
push edx
call fcn.00569b76
add esp, 8
mov eax, dword [ebp - 0x80]
mov word [eax + 0x27110], 0xffff
mov ecx, dword [ebp - 0x80]
mov word [ecx + 0x27112], 0xffff
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x27458], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x670]
push edx
call fcn.00558d2e
add esp, 4
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jg 0x46fbc9
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x1d4]
push ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x1d0]
push eax
mov ecx, dword [ebp - 0x80]
mov ecx, dword [ecx + 0x2876c]
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x2876c]
mov edx, dword [eax]
call dword [edx + 0xa8]
mov dword [ebp - 0x6c], eax
mov eax, dword [0x5d4b40]
cmp dword [eax + 0x1e8], 0
je 0x46fb8a
mov ecx, dword [0x5d4b40]
mov edx, dword [ecx + 0x1e8]
cmp edx, dword [ebp - 0x6c]
jne 0x46fb8a
mov eax, dword [0x5d4b40]
mov dword [eax + 0x1e8], 0
cmp dword [ebp - 0x6c], 0
je 0x46fbc7
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0
je 0x46fbb6
push 1
mov eax, dword [ebp - 0x78]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x78]
call dword [edx]
mov dword [ebp - 0x84], eax
jmp 0x46fbc0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x6c], 0
jmp 0x46fc2a
mov eax, dword [ebp - 0x60]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x670]
push edx
call fcn.00558d9e
add esp, 8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x60]
sub ecx, 1
push ecx
push 0x5c2270
mov edx, dword [ebp - 0x70]
add edx, 0x39a
push edx
call fcn.00599938
add esp, 0xc
push 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x384]
push ecx
mov edx, dword [ebp - 0x70]
add edx, 0x39a
push edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x4a0]
call fcn.00423f5f
mov dword [ebp - 4], 0x29
cmp dword [ebp - 0x44], 0xb
jl 0x46fc44
cmp dword [ebp - 0x44], 0xd
jg 0x46fc44
mov dword [ebp - 4], 0x36
cmp dword [ebp - 0x44], 0x13
je 0x46fc80
cmp dword [0x5d4c04], 0
je 0x46fc80
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [0x5d4c04]
call fcn.0042be7d
test eax, eax
je 0x46fc80
push 0
push 0
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [0x5d4c04]
call fcn.0042be7d
mov ecx, eax
call fcn.0042d13b
mov eax, dword [0x684bb0]
cmp dword [eax + 0x24], 0x7530
jne 0x46fca1
mov ecx, dword [0x684bb0]
mov dword [ebp - 0x74], ecx
push 0
mov ecx, dword [ebp - 0x74]
call fcn.00442da5
cmp dword [ebp - 0x60], 1
jg 0x46fcc4
push 8
push 0
movsx edx, word [ebp - 0x50]
mov eax, dword [0x13c1aac]
lea ecx, [eax + edx*8 + 0x7c8]
push ecx
call fcn.005998e0
add esp, 0xc
mov esp, ebp
pop ebp
ret