Function at 0x546fc0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x623ec0]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 8], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
test ebx, ebx
je 0x547259
cmp dword [edi + 0x1a9bc0], 0
je 0x547259
mov ecx, dword [0x9c25b4]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [edi + 0x276cc]
mov esi, eax
test edx, edx
je 0x54702a
mov ecx, esi
sub ecx, edx
cmp ecx, 0xc8
jb 0x547259
mov eax, dword [ebx + 0x1e4]
push dword [eax + 0x1e4]
call fcn.004dac60
movzx edx, ax
cmp dx, 0xffff
jne 0x54705f
mov ax, word [ebx + 0x1d4]
mov cx, ax
shl ax, 2
add cx, ax
add cx, word [ebx + 0x1d0]
movzx edx, cx
mov ecx, dword [ebx + 0x1e4]
xor eax, eax
xorps xmm0, xmm0
movsx edx, dx
mov dword [esp + 0x24], edx
mov ecx, dword [ecx + 0x44]
mov word [esp + 0x4a], ax
mov eax, dword [0x9c25ac]
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
mov ax, word [eax + 0xf98]
mov word [esp + 0x2e], ax
mov eax, 0x373
mov word [esp + 0x2c], ax
lea eax, [ecx - 0x10600]
mov ecx, eax
mov dword [esp + 0x34], 1
shl ecx, 4
sub ecx, eax
mov eax, dword [esp + 0x40]
add ecx, edx
cmp dword [ebp + 0xc], 0xf
mov dword [esp + 0x38], ecx
mov edx, 0x24
mov ecx, 0xe
cmove eax, ecx
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x40], eax
xor eax, eax
mov word [esp + 0x48], ax
cvttss2si eax, dword [ecx + 0x28]
mov word [esp + 0x44], ax
cvttss2si eax, dword [ecx + 0x2c]
lea ecx, [esp + 0x28]
mov word [esp + 0x46], ax
call fcn.0054f850
mov eax, dword [0x9c25d8]
mov edx, 1
mov dword [edi + 0x276cc], esi
mov esi, 0xfd1
mov dword [eax + 0x43c], 1
mov eax, dword [esp + 0x14]
mov dword [edi + 0x27974], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x27978], eax
mov eax, 0xa
mov ecx, dword [ebx + 0x670]
cmp word [ecx], si
mov esi, dword [ebp + 0x10]
cmovne eax, edx
add esi, 0xfffff6e6
mov dword [esp + 0x18], eax
call fcn.00499c90
mov ecx, 0x3b
cmp ecx, esi
sbb esi, esi
and esi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], esi
cmp esi, eax
jle 0x5471b4
mov ecx, dword [ebx + 0x670]
sub esi, eax
mov edx, esi
call fcn.004987c0
push esi
lea edi, [ebx + 0x39c]
push 0x5ff46c
push edi
call fcn.0045e0d0
mov ecx, dword [ebx + 0x4a0]
add esp, 0xc
push 0
push dword [ebx + 0x384]
push edi
call fcn.0054c310
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
jmp 0x5471fa
mov eax, dword [ebx + 0x1e4]
push dword [esp + 0x10]
push dword [esp + 0x18]
mov eax, dword [eax + 0x44]
mov ecx, dword [edi + eax*4 + 0x1683c4]
call fcn.004de510
mov ecx, eax
mov eax, dword [0x9c25d0]
mov edx, dword [eax + 0x1e8]
test edx, edx
je 0x5471f0
cmp edx, ecx
jne 0x5471f0
mov dword [eax + 0x1e8], 0
test ecx, ecx
je 0x5471fa
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp + 0xc]
mov edx, 2
lea eax, [ecx - 0xb]
cmp edx, eax
sbb eax, eax
and eax, 0xfffffff3
add eax, 0x36
cmp ecx, 0x13
je 0x547235
mov ecx, dword [0x9c25cc]
test ecx, ecx
je 0x547235
push eax
call fcn.004a8da0
test eax, eax
je 0x547235
sub esp, 0xc
push 0
push ecx
mov ecx, eax
call fcn.004a86c0
push 0
mov ecx, edi
call fcn.00547270
cmp esi, dword [esp + 0x18]
jg 0x547259
mov eax, dword [0x9c25ac]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x24]
movq qword [eax + ecx*8 + 0x9ec], xmm0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 0x14