Function at 0x436bd4
Capabilities:
Check http status code

Disassembly:
push 0x64
mov eax, 0x458696
call fcn.00453b49
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x4c], 0
mov esi, ecx
mov edi, edx
mov ebx, 0x47ffdc
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x70], ebx
call fcn.004346e7
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov eax, dword [0x47fff4]
push eax
push dword [0x47e7dc]
mov dword [ebp - 0x34], eax
push 0
call fcn.0043f1ab
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x436c32
mov ecx, dword [edi]
jmp 0x436c34
mov ecx, edi
push eax
push ecx
push dword [esi + 0x34]
call fcn.00440613
fld qword [0x477920]
fstp qword [ebp - 0x40]
push ebx
fld qword [ebp - 0x40]
mov dword [ebp - 0x44], eax
fmul qword [0x477918]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [ebp - 0x40]
fadd qword [0x477910]
fadd qword [ebp - 0x40]
fld qword [ebp - 0x40]
fld qword [0x477908]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fsub qword [ebp - 0x40]
fsub qword [0x477900]
fld qword [ebp - 0x40]
fmul qword [0x4779b0]
fsubp st(1)
fadd qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [ebp - 0x40]
faddp st(1)
fsub qword [0x4779c0]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fdiv qword [0x4778f8]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [ebp - 0x40]
fmul qword [ebp - 0x40]
fsubp st(1)
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [ebp - 0x40]
fdiv qword [0x4778c8]
fmul qword [ebp - 0x40]
fsubp st(1)
fsub qword [ebp - 0x40]
fsub qword [0x477940]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [ebp - 0x40]
fmulp st(1)
fmul qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x40]
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [0x47e7e0]
lea eax, [ebp - 0x2c]
call fcn.00404917
xor eax, eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x44], eax
jne 0x436d31
call fcn.0043fb02
call dword [eax + 0x3c]
push dword [edi + 0x10]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.0043509b
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x44], eax
call fcn.00404e30
mov eax, dword [ebp - 0x44]
cmp eax, edi
jl 0x4371de
mov eax, dword [ebp - 0x50]
mov esi, dword [eax + 0x34]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x68], 4
call fcn.0043fb02
push edi
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push 0x20000013
push esi
call dword [eax + 0x15c]
test eax, eax
je 0x43708d
push dword [ebp - 0x4c]
push dword [0x47e7e8]
push edi
call fcn.0043f1ab
add esp, 0xc
cmp dword [ebp - 0x4c], 0x191
je 0x436db6
cmp dword [ebp - 0x4c], 0x197
jne 0x43712c
cmp byte [ebp + 8], 0
jne 0x436dce
push dword [ebp - 0x50]
xor ecx, ecx
call fcn.00435e89
cmp eax, edi
jl 0x4371de
mov dword [ebp - 0x3c], 0x2c
mov dword [ebp - 0x44], 0x62
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
sub eax, ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
imul eax, ecx
mov ecx, dword [ebp - 0x44]
imul eax, eax, 0x51
imul ecx, ecx, 0xffffffba
sub ecx, eax
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x35
add ecx, eax
mov eax, dword [ebp - 0x44]
sub ecx, eax
mov eax, dword [ebp - 0x3c]
lea eax, [ecx + eax - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
imul eax, eax, 0x2e
sub ecx, eax
mov eax, dword [ebp - 0x3c]
sub ecx, eax
add ecx, dword [ebp - 0x3c]
push 0x3f
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
sub eax, 0x52
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x32]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
pop ecx
sub ecx, eax
mov eax, dword [ebp - 0x44]
sub ecx, eax
add ecx, dword [ebp - 0x3c]
push 0x25
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
imul eax, ecx
mov ecx, dword [ebp - 0x3c]
imul eax, eax, 0x3e
sub eax, ecx
mov ecx, dword [ebp - 0x44]
sub eax, ecx
add eax, dword [ebp - 0x3c]
pop ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
cdq
idiv ecx
mov ecx, dword [ebp - 0x3c]
push dword [ebp - 0x34]
sub eax, ecx
mov dword [ebp - 0x44], eax
add dword [ebp - 0x44], 0xffffffb1
push dword [ebp - 0x4c]
push dword [0x47e7ec]
push edi
call fcn.0043f1ab
add esp, 0x10
push ebx
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 2
mov eax, dword [0x47fff4]
cmp eax, edi
jl 0x4370c5
cmp eax, dword [ebp - 0x34]
jg 0x436fac
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [ebp - 0x50]
push dword [ecx + 0x34]
push eax
call fcn.004405f5
fld qword [0x4779b8]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fld qword [0x4779b0]
fmul st(1), st(0)
fxch st(1)
fdiv qword [0x477968]
fmul qword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fld qword [0x4779d0]
fsub st(1), st(0)
fld qword [ebp - 0x38]
fsubp st(2)
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fsubp st(2)
fxch st(1)
fadd qword [0x4778b0]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fadd qword [0x4779c8]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fadd qword [0x477960]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x477958]
fadd qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fsubrp st(2)
fld qword [ebp - 0x38]
fsubp st(2)
fld qword [ebp - 0x38]
fsubp st(2)
fsubp st(1)
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x477950]
fmul qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fsubp st(1)
fstp qword [ebp - 0x38]
cmp eax, 0x2f00
jne 0x436f94
mov eax, dword [0x47fff4]
inc eax
jmp 0x436f97
or eax, 0xffffffff
push eax
push dword [0x47e7f0]
mov dword [0x47fff4], eax
push edi
call fcn.0043f1ab
add esp, 0xc
cmp dword [0x47fff4], edi
jl 0x4370c5
fld qword [0x4778d8]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x4778d0]
fsubp st(1)
fadd qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fdiv qword [0x4778c8]
fsubp st(1)
fadd qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x4778c0]
faddp st(1)
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
faddp st(1)
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fdiv qword [0x4778b8]
fmul qword [ebp - 0x38]
faddp st(1)
fld qword [ebp - 0x38]
fmul qword [0x4778b0]
fmul qword [0x4778a8]
faddp st(1)
fsub qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
faddp st(1)
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fsub qword [0x4778a0]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [ebp - 0x38]
push dword [0x47fff4]
push dword [0x47e7f4]
fstp qword [ebp - 0x38]
push edi
call fcn.0043f1ab
or dword [ebp - 4], 0xffffffff
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
jmp 0x436bfc
call fcn.0043fb02
call dword [eax + 0x3c]
cmp eax, edi
jle 0x4370a3
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0xc]
push esi
push dword [0x47e7e4]
or eax, 1
push eax
call fcn.0043f1ab
add esp, 0xc
mov eax, esi
jmp 0x4371de
fld qword [0x4779a8]
fstp qword [ebp - 0x58]
fld qword [0x4779a0]
fstp qword [ebp - 0x48]
fld qword [0x4779d0]
fstp qword [ebp - 0x58]
fld qword [0x477998]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x58]
fmul qword [ebp - 0x58]
fld qword [ebp - 0x58]
fsub qword [0x4779c8]
faddp st(1)
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fsubp st(1)
fsub qword [0x477990]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fcomp qword [ebp - 0x58]
fnstsw ax
test ah, 0x41
jp 0x437121
fld qword [ebp - 0x58]
fmul qword [ebp - 0x48]
fstp qword [ebp - 0x38]
or dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x5c]
xor ebx, ebx
cmp esi, edi
je 0x4371bb
mov eax, dword [esi]
lea ecx, [ebp - 0x64]
push ecx
push dword [ebp - 0x4c]
mov ecx, esi
mov dword [ebp - 0x64], edi
call dword [eax]
mov ebx, eax
cmp dword [ebp - 0x64], edi
je 0x43715b
push dword [ebp - 0x64]
push dword [ebp - 0x50]
call fcn.004346f4
fld qword [0x4779a8]
fstp qword [ebp - 0x60]
fld qword [0x4779a0]
fstp qword [ebp - 0x38]
fld qword [0x4779d0]
fstp qword [ebp - 0x60]
fld qword [0x477998]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x60]
fmul qword [ebp - 0x60]
fld qword [ebp - 0x60]
fsub qword [0x4779c8]
faddp st(1)
fld qword [ebp - 0x58]
fmul qword [ebp - 0x58]
fsubp st(1)
fsub qword [0x477990]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fcomp qword [ebp - 0x60]
fnstsw ax
test ah, 0x41
jp 0x4371b7
fld qword [ebp - 0x60]
fmul qword [ebp - 0x38]
fstp qword [ebp - 0x58]
cmp ebx, edi
jl 0x4371dc
mov eax, dword [ebp - 0x4c]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp eax, 2
jne 0x4371dc
cmp byte [ebp + 8], 0
jne 0x4371dc
push dword [ebp - 0x50]
mov ecx, esi
call fcn.00435e89
mov ebx, eax
mov eax, ebx
call fcn.00453bcc
ret 8