Function at 0x525720
Capabilities:
Check http status code

Disassembly:
push ebp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x6c
movsx ebx, word [ecx + 0x5c]
mov dword [esp + 0x58], 0xb4
mov dword [esp + 0x5c], 0xac
cmp ebx, 0x32
jle 0x525b60
cmp ebx, 0x64
jle 0x525b80
cmp ebx, 0xc8
jle 0x525ba8
mov dword [esp + 0x3c], 0xffffffaf
mov dword [esp + 0x48], 0xffffffad
mov dword [esp + 0x34], 0xffffffac
movsx eax, word [0x5cca2a]
movsx ecx, word [esi + 0x12]
movzx edx, byte [esi + 8]
sub ecx, eax
movsx eax, word [esi + 0x14]
mov dword [esp + 0x38], ecx
movsx ecx, word [0x5cca28]
add eax, 0x38
sub eax, ecx
lea edi, [eax - 0x14]
mov dword [esp + 0x40], edi
cmp dl, 0x4c
je 0x525ad0
sub dword [esp + 0x38], 5
cmp dl, 0x41
je 0x5259b0
mov dword [esp + 0x30], 0x28
mov ecx, 0x2a
mov ebp, 0x2a
mov dword [esp + 0x2c], 0x29
fnstcw word [esp + 0x4e]
fld dword [esi + 0x58]
mov edi, dword [0x5b99e0]
movzx eax, word [esp + 0x4e]
add edi, 4
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
or ah, 0xc
mov word [esp + 0x4c], ax
fldcw word [esp + 0x4c]
fistp dword [esp + 0x44]
fldcw word [esp + 0x4e]
mov word [edi - 4], cx
mov eax, dword [esp + 0x44]
imul eax, dword [esp + 0x2c]
cdq
idiv ebx
mov ebx, eax
mov eax, 3
mov word [edi - 2], ax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.00564d90
cmp ebx, dword [esp + 0x2c]
jl 0x5259e0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.00564d90
mov eax, dword [esp + 0x3c]
mov dword [esp], edi
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp + 4], ebp
call fcn.00564d90
cmp ebx, dword [esp + 0x2c]
jne 0x525aaf
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.00564d90
mov eax, dword [esp + 0x48]
mov dword [esp], edi
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], 1
cmp eax, ebx
mov dword [esp + 8], 1
cmovg eax, ebx
mov dword [esp + 4], ebp
mov dword [esp + 0x10], eax
call fcn.00564d90
cmp dword [esp + 0x30], ebx
jg 0x525b28
mov eax, dword [0x5b99e0]
mov dword [esp + 0xc], 0
mov ecx, dword [0x5b39cc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00551a70
mov ecx, esi
sub esp, 0x10
call fcn.0050a720
test eax, eax
jne 0x525990
cmp byte [0x5b4517], 0
jne 0x525990
cmp byte [esi + 0x5f], 2
je 0x525990
cmp byte [esi + 0x23], 0
jle 0x525ac0
lea esi, [esi]
cmp byte [esi + 0x24], 0
je 0x525ac0
add esp, 0x6c
mov ecx, esi
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00525500
sub eax, 0x28
mov ecx, 0x2a
mov ebp, 0x2a
mov dword [esp + 0x30], 0x28
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], 0x29
jmp 0x5257d0
mov edx, dword [esp + 0x2c]
lea eax, [ebx + 1]
mov dword [esp + 0x18], 0x4b
mov dword [esp + 8], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebp
mov dword [esp], edi
mov dword [esp + 0x44], eax
call fcn.00564d90
mov eax, dword [esp + 0x34]
mov dword [esp], edi
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebp
call fcn.00564d90
mov eax, dword [esp + 0x3c]
mov dword [esp], edi
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp + 4], ebp
call fcn.00564d90
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
mov dword [esp], edi
mov dword [esp + 0x18], 0x43
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 2
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
call fcn.00564d90
mov dword [esp + 0x18], 0x43
jmp 0x5258cc
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
movsx eax, byte [esi + 0x22]
mov edx, 0x13
mov ecx, 0x15
mov ebp, 0x15
imul eax, eax, 0x84
add eax, dword [0x5b6a8c]
cmp byte [eax - 0x6d], 0x48
mov eax, 0x1e
cmove eax, edx
mov edx, 0x14
mov dword [esp + 0x30], eax
mov eax, 0x20
cmovne ecx, eax
mov eax, 0x1f
cmove eax, edx
mov dword [esp + 0x2c], eax
mov eax, 0x20
cmovne ebp, eax
jmp 0x5257d0
mov eax, dword [esp + 0x30]
add ebx, 1
mov dword [esp + 0x18], 0x47
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.00564d90
jmp 0x525937
mov dword [esp + 0x3c], 0xffffffab
mov dword [esp + 0x48], 0xffffffa9
mov dword [esp + 0x34], 0xffffffa8
jmp 0x525773
mov eax, 1
movsx eax, byte [esp + eax*4 + 0x54]
lea edx, [eax + 1]
mov dword [esp + 0x34], eax
add eax, 3
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], eax
jmp 0x525773
mov eax, 2
jmp 0x525b85