Function at 0x436a9d
Capabilities:
Check http status code

Disassembly:
push 0x5c
mov eax, 0x458113
call fcn.0045360d
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x48], 0
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], eax
mov ebx, 0x47fffc
mov dword [ebp - 0x3c], 0x2a
mov dword [ebp - 0x30], 0x3b
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x1f
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, eax, 0x11
sub ecx, eax
mov eax, dword [ebp - 0x30]
imul ecx, ecx, 5
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x3c]
sub ecx, eax
mov eax, dword [ebp - 0x3c]
sub ecx, eax
mov eax, dword [ebp - 0x3c]
sub ecx, eax
mov eax, dword [ebp - 0x30]
lea eax, [ecx + eax - 0x12]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
imul eax, ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x3c]
lea eax, [eax + ecx + 3]
mov dword [ebp - 0x30], eax
call fcn.00434b75
mov dword [ebp - 0x50], 0x3e
push 0x4d
pop eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], 0x5c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], 0x1d
mov eax, dword [ebp - 0x34]
imul eax, eax, 7
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
sub eax, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
imul eax, ecx
mov ecx, dword [ebp - 0x44]
sub eax, ecx
mov ecx, dword [ebp - 0x50]
sub eax, ecx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sub eax, 0x62
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
add eax, 0x2b
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + eax + 0x5b]
push ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x64], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov eax, dword [0x480014]
push eax
push dword [0x47e7e8]
mov dword [ebp - 0x50], eax
push 0
call fcn.0043f6e8
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x436bd2
mov ecx, dword [edi]
jmp 0x436bd4
mov ecx, edi
push eax
push ecx
push dword [esi + 0x34]
call fcn.00440840
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
cdq
push 0x28
pop ecx
idiv ecx
push 0x2a
pop ecx
push ebx
cdq
idiv ecx
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov ecx, dword [ebp - 0x30]
sub ecx, eax
add ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, eax, 0x12
lea eax, [eax + ecx - 1]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [0x47e7ec]
lea eax, [ebp - 0x2c]
call fcn.00404e3b
xor eax, eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x3c], eax
jne 0x436c5f
call fcn.004419b3
push dword [edi + 0x10]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.0043540b
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
call fcn.00405351
mov eax, dword [ebp - 0x3c]
cmp eax, edi
jl 0x437174
fld qword [0x477948]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fld qword [0x477958]
fadd st(1), st(0)
fxch st(1)
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x477940]
fsubp st(1)
fadd qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x477938]
fmul qword [0x477930]
fmul qword [ebp - 0x40]
fmul qword [0x477928]
fsubp st(1)
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x477920]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x477918]
fsubp st(1)
fsub qword [0x477910]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x477908]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x477900]
fsub qword [ebp - 0x40]
fsub qword [0x4778f8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x4778f0]
faddp st(1)
fadd qword [ebp - 0x40]
fadd qword [ebp - 0x40]
faddp st(1)
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x4778e8]
fsub qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [ebp - 0x40]
faddp st(1)
fld qword [0x477950]
fadd st(1), st(0)
fld qword [ebp - 0x40]
fsubp st(2)
fxch st(1)
fsub qword [0x4778e0]
fsub qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fsub qword [0x4778d8]
fadd qword [ebp - 0x40]
fsub qword [0x4778d0]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x4778c8]
fsubp st(1)
fsub qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmulp st(2)
fxch st(1)
fmul qword [0x4778c0]
mov eax, dword [ebp - 0x4c]
faddp st(1)
fld qword [ebp - 0x40]
fmul qword [ebp - 0x40]
mov esi, dword [eax + 0x34]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x5c], 4
faddp st(1)
fstp qword [ebp - 0x40]
call fcn.0043ff64
push edi
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push 0x20000013
push esi
call dword [eax + 0x164]
test eax, eax
je 0x436fba
push dword [ebp - 0x48]
push dword [0x47e7f4]
push edi
call fcn.0043f6e8
mov dword [ebp - 0x3c], 0x51
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x44], 0x3d
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
imul eax, eax, 9
add esp, 0xc
cmp dword [ebp - 0x48], 0x191
mov dword [ebp - 0x3c], eax
je 0x436e36
cmp dword [ebp - 0x48], 0x197
jne 0x436ffa
cmp byte [ebp + 8], 0
jne 0x436e4d
push edi
push dword [ebp - 0x4c]
call fcn.0043620a
cmp eax, edi
jl 0x437174
push dword [ebp - 0x50]
push dword [ebp - 0x48]
push dword [0x47e7f8]
push edi
call fcn.0043f6e8
add esp, 0x10
push ebx
mov dword [ebp - 0x68], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 2
mov eax, dword [0x480014]
cmp eax, edi
jl 0x436fef
cmp eax, dword [ebp - 0x50]
jg 0x436f90
mov eax, dword [ebp - 0x4c]
push dword [eax + 0x34]
call fcn.0043faf6
push eax
call fcn.00440822
cmp eax, 0x2f00
jne 0x436ea9
mov eax, dword [0x480014]
inc eax
jmp 0x436eac
or eax, 0xffffffff
mov dword [0x480014], eax
mov dword [ebp - 0x34], 0x4e
mov dword [ebp - 0x30], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
cdq
push 0xd
pop ecx
idiv ecx
mov ecx, dword [ebp - 0x30]
mov esi, 0xffffff60
sub eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
imul eax, ecx
imul eax, eax, 0x4b
mov ecx, esi
sub ecx, eax
mov eax, dword [ebp - 0x34]
sub ecx, eax
mov eax, dword [ebp - 0x34]
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
add ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x34]
push dword [0x480014]
mov dword [ebp - 0x30], eax
push dword [0x47e7fc]
push edi
call fcn.0043f6e8
mov dword [ebp - 0x34], 0x4e
mov dword [ebp - 0x30], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
cdq
add esp, 0xc
push 0xd
pop ecx
idiv ecx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
imul eax, ecx
imul eax, eax, 0x4b
sub esi, eax
mov eax, dword [ebp - 0x34]
sub esi, eax
mov eax, dword [ebp - 0x34]
sub esi, eax
mov eax, dword [ebp - 0x30]
sub esi, eax
add esi, dword [ebp - 0x30]
add esi, dword [ebp - 0x34]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov eax, dword [0x480014]
cmp eax, edi
jl 0x436fef
push eax
push dword [0x47e800]
push edi
call fcn.0043f6e8
or dword [ebp - 4], 0xffffffff
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x4c]
jmp 0x436ac2
call fcn.004419b3
cmp eax, edi
jle 0x436fcd
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
push esi
push dword [0x47e7f0]
or eax, 1
push eax
call fcn.0043f6e8
add esp, 0xc
mov eax, esi
jmp 0x437174
or dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x58]
xor ebx, ebx
cmp esi, edi
je 0x43708d
mov eax, dword [esi]
lea ecx, [ebp - 0x54]
push ecx
push dword [ebp - 0x48]
mov ecx, esi
mov dword [ebp - 0x54], edi
call dword [eax]
mov ebx, eax
cmp dword [ebp - 0x54], edi
je 0x437029
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
call fcn.00434b82
mov dword [ebp - 0x34], 0x4e
mov dword [ebp - 0x30], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
cdq
push 0xd
pop ecx
idiv ecx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
imul eax, ecx
imul eax, eax, 0x4b
mov ecx, 0xffffff60
sub ecx, eax
mov eax, dword [ebp - 0x34]
sub ecx, eax
mov eax, dword [ebp - 0x34]
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
add ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x30], 0x1d
mov dword [ebp - 0x3c], 0x1e
push 0x30
pop eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x48
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
cmp edx, ecx
jne 0x43714e
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
push 0xffffffffffffff90
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
imul ecx, edx
mov edx, dword [ebp - 0x30]
imul ecx, edx
mov edx, dword [ebp - 0x44]
shl edx, 4
add ecx, edx
add ecx, dword [ebp - 0x3c]
pop edx
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x34]
imul ecx, ecx, 0x58
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x44
sub edx, ecx
mov ecx, dword [ebp - 0x44]
sub edx, ecx
mov ecx, dword [ebp - 0x44]
sub edx, ecx
add edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
sub edx, ecx
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x34]
add ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
lea eax, [eax + ecx + 2]
mov dword [ebp - 0x3c], eax
cmp ebx, edi
jl 0x437172
mov eax, dword [ebp - 0x48]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp eax, 2
jne 0x437172
cmp byte [ebp + 8], 0
jne 0x437172
push esi
push dword [ebp - 0x4c]
call fcn.0043620a
mov ebx, eax
mov eax, ebx
call fcn.00453690
ret 8