Function at 0x4663ee
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x60], ecx
cmp dword [ebp + 8], 0
jne 0x466402
jmp 0x46678e
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x8b624], 0
jne 0x466413
jmp 0x46678e
mov ecx, dword [0x9a21cc]
mov edx, dword [ecx]
mov ecx, dword [0x9a21cc]
call dword [edx + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x27564], 0
je 0x46644c
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 8]
sub edx, dword [ecx + 0x27564]
cmp edx, 0xc8
jae 0x46644c
jmp 0x46678e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ecx + 0x400]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ecx + 0x1e4]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x8b624]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x8b624]
mov edx, dword [eax]
call dword [edx + 0xc4]
mov word [ebp - 0x40], ax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ecx + 0x1e4]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x8b624]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x8b624]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov word [ebp - 0x3c], ax
movsx eax, word [ebp - 0x3c]
cmp eax, 0xffffffff
jne 0x4664dc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1d4]
imul edx, edx, 5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1d0]
add ecx, edx
mov word [ebp - 0x3c], cx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1e4]
mov ecx, dword [eax + 0x44]
sub ecx, 0x10600
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
imul edx, edx, 0xf
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x4c]
mov edx, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
push 0x24
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.005c5b80
add esp, 0xc
mov edx, dword [0x277c024]
mov ax, word [edx + 0xdfc]
mov word [ebp - 0x26], ax
mov word [ebp - 0x28], 0x373
mov dword [ebp - 0x20], 1
movsx ecx, word [ebp - 0x3c]
add ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 0xc], 0xf
jne 0x466558
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xe
mov word [ebp - 0xc], 0
fld dword [ebp - 0x38]
call fcn.005c5ef0
mov word [ebp - 0x10], ax
fld dword [ebp - 0x34]
call fcn.005c5ef0
mov word [ebp - 0xe], ax
push 0x24
lea edx, [ebp - 0x2c]
push edx
call fcn.0054da23
add esp, 8
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x27564], ecx
mov edx, dword [0x63dae8]
mov dword [edx + 0x43c], 1
mov dword [ebp - 0x30], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x670]
movsx edx, word [ecx]
cmp edx, 0xfd1
jne 0x4665c2
mov dword [ebp - 0x30], 0xa
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x670]
push ecx
call fcn.00539810
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ebp + 0x10], 0x91a
jl 0x4665f0
cmp dword [ebp + 0x10], 0x956
jge 0x4665f0
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x30]
jg 0x4666a7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ecx + 0x44]
sub edx, 0x10600
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + edx*4 + 0x8b628]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x60]
mov edx, dword [eax + edx*4 + 0x8b628]
mov eax, dword [edx]
call dword [eax + 0xa8]
mov dword [ebp - 0x50], eax
mov ecx, dword [0x636610]
cmp dword [ecx + 0x1e8], 0
je 0x46666e
mov edx, dword [0x636610]
mov eax, dword [edx + 0x1e8]
cmp eax, dword [ebp - 0x50]
jne 0x46666e
mov ecx, dword [0x636610]
mov dword [ecx + 0x1e8], 0
cmp dword [ebp - 0x50], 0
je 0x4666a5
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x466697
push 1
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x58]
call dword [edx]
mov dword [ebp - 0x64], eax
jmp 0x46669e
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x50], 0
jmp 0x466708
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x670]
push edx
call fcn.00539888
add esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x30]
push ecx
push 0x614030
mov edx, dword [ebp - 0x54]
add edx, 0x39c
push edx
call fcn.005c5b24
add esp, 0xc
push 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x384]
push ecx
mov edx, dword [ebp - 0x54]
add edx, 0x39c
push edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x4a0]
call fcn.0042231f
mov dword [ebp - 4], 0x29
cmp dword [ebp + 0xc], 0xb
jl 0x466722
cmp dword [ebp + 0xc], 0xd
jg 0x466722
mov dword [ebp - 4], 0x36
cmp dword [ebp + 0xc], 0x13
je 0x46675e
cmp dword [0x636738], 0
je 0x46675e
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [0x636738]
call fcn.0042c6cf
test eax, eax
je 0x46675e
push 0
push 0
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [0x636738]
call fcn.0042c6cf
mov ecx, eax
call fcn.0042d98d
push 0
mov ecx, dword [ebp - 0x60]
call fcn.004480c9
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x30]
jg 0x46678e
push 8
push 0
movsx ecx, word [ebp - 0x3c]
mov edx, dword [0x277c024]
lea eax, [edx + ecx*8 + 0x85c]
push eax
call fcn.005c5b80
add esp, 0xc
mov esp, ebp
pop ebp
ret 0x14