Function at 0x435bc9
Capabilities:
Check http status code

Disassembly:
push 0x6c
mov eax, 0x4582b6
call fcn.004537e6
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x4c], 0
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], eax
mov ebx, 0x47ffdc
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x44], 5
mov dword [ebp - 0x40], 0x50
mov dword [ebp - 0x34], 0x51
mov dword [ebp - 0x48], 0x1c
mov dword [ebp - 0x3c], 0x48
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x38]
push 0x1f
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
imul eax, eax, 0xe
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
imul eax, ecx
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x166e
sub ecx, eax
mov eax, dword [ebp - 0x48]
sub ecx, eax
mov eax, dword [ebp - 0x44]
sub ecx, eax
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x34], eax
call fcn.00434183
mov dword [ebp - 0x40], 0x16
mov dword [ebp - 0x34], 0x2b
mov dword [ebp - 0x3c], 0x50
mov dword [ebp - 0x38], 0x59
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
imul eax, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
imul eax, eax, 0x3f
sub ecx, eax
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
cmp eax, ecx
je 0x435cc7
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
imul eax, ecx
mov ecx, dword [ebp - 0x40]
imul ecx, ecx, 0x14
sub ecx, eax
mov eax, dword [ebp - 0x38]
sub ecx, eax
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
push ebx
mov dword [ebp - 0x74], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
fld qword [0x477860]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fsub qword [ebp - 0x6c]
mov eax, dword [0x47fff4]
push eax
push dword [0x47e7d0]
fstp qword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
push 0
call fcn.0043f0da
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x435d0d
mov ecx, dword [edi]
jmp 0x435d0f
mov ecx, edi
push eax
push ecx
push dword [esi + 0x34]
call fcn.00440396
mov dword [ebp - 0x34], 0x48
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
imul eax, ecx
push 0x4f
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x34]
push 0x57
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cdq
pop ecx
idiv ecx
push 0x42
mov ecx, eax
mov eax, dword [ebp - 0x34]
imul ecx, eax
mov eax, dword [ebp - 0x34]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub eax, ecx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov ecx, dword [ebp - 0x34]
lea eax, [eax + ecx - 0x14]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov dword [ebp - 0x34], eax
add dword [ebp - 0x34], 0xffffffa1
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x34]
pop ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
sub ecx, eax
mov eax, dword [ebp - 0x34]
sub ecx, eax
add ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
imul eax, ecx
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
imul eax, eax, 0x41
imul ecx, edx
mov edx, dword [ebp - 0x34]
imul ecx, edx
imul ecx, ecx, 0x47
add eax, ecx
mov ecx, dword [ebp - 0x34]
imul ecx, ecx, 0x2f
sub eax, ecx
mov ecx, dword [ebp - 0x34]
lea eax, [eax + ecx - 0x18]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
call fcn.0043f96e
push ebx
call dword [eax + 0x28]
push dword [0x47e7d4]
lea eax, [ebp - 0x30]
call fcn.00404755
xor eax, eax
cmp dword [ebp - 0x40], eax
mov dword [ebp - 4], 1
jne 0x435dff
call fcn.0043f96e
call dword [eax + 0x40]
push dword [edi + 0x10]
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.004345fd
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp - 0x30]
mov dword [ebp - 0x40], eax
call fcn.00404cde
mov eax, dword [ebp - 0x40]
test eax, eax
js 0x43632f
and dword [ebp - 0x4c], edi
mov dword [ebp - 0x70], 4
mov dword [ebp - 0x40], 0x24
mov dword [ebp - 0x34], 0x16
push 0x11
pop esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], 0x39
mov dword [ebp - 0x44], 0x30
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
imul eax, eax, 0x13
sub ecx, eax
mov eax, dword [ebp - 0x44]
sub ecx, eax
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
cmp ecx, eax
jne 0x435efa
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x40]
mov ecx, esi
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
cdq
idiv ecx
mov ecx, dword [ebp - 0x34]
push 0x51
pop edi
imul eax, ecx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
imul ecx, edx
sub ecx, eax
add ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
lea eax, [ecx + eax + 0x79]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
imul ecx, ecx, 0x62
cdq
idiv edi
sub eax, ecx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
imul ecx, edx
imul ecx, ecx, 0x61
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
imul ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
imul ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
mov ecx, dword [ebp - 0x38]
sub eax, ecx
sub eax, 0x2b
mov dword [ebp - 0x38], eax
add dword [ebp - 0x40], 0x3a
mov eax, dword [ebp - 0x50]
mov edi, dword [eax + 0x34]
call fcn.0043f96e
push 0
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push 0x20000013
push edi
call dword [eax + 0x14c]
test eax, eax
je 0x43607f
push dword [ebp - 0x4c]
xor edi, edi
push dword [0x47e7dc]
push edi
call fcn.0043f0da
add esp, 0xc
cmp dword [ebp - 0x4c], 0x191
je 0x435f4d
cmp dword [ebp - 0x4c], 0x197
jne 0x43619f
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x34], 5
push 0x50
pop esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0x51
mov dword [ebp - 0x68], 0x1c
mov dword [ebp - 0x3c], 0x48
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x38]
push 0x1f
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
imul eax, eax, 0xe
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
imul eax, ecx
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x166e
sub ecx, eax
mov eax, dword [ebp - 0x68]
sub ecx, eax
mov eax, dword [ebp - 0x34]
sub ecx, eax
add ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x40]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
cdq
pop ecx
idiv ecx
cmp byte [ebp + 8], 0
mov dword [ebp - 0x40], eax
jne 0x435fd9
mov ecx, dword [ebp - 0x50]
xor edx, edx
call fcn.00435055
cmp eax, edi
jl 0x43632f
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [0x47e7e0]
push edi
call fcn.0043f0da
add esp, 0x10
push ebx
mov dword [ebp - 0x78], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 2
mov eax, dword [0x47fff4]
cmp eax, edi
jl 0x436172
cmp eax, dword [ebp - 0x48]
jg 0x43604f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [ebp - 0x50]
push dword [ecx + 0x34]
push eax
call fcn.00440378
cmp eax, 0x2f00
jne 0x436032
mov eax, dword [0x47fff4]
inc eax
jmp 0x436035
or eax, 0xffffffff
push eax
push dword [0x47e7e4]
mov dword [0x47fff4], eax
push edi
call fcn.0043f0da
mov eax, dword [0x47fff4]
add esp, 0xc
cmp eax, edi
jl 0x436172
push eax
push dword [0x47e7e8]
push edi
call fcn.0043f0da
or dword [ebp - 4], 0xffffffff
add esp, 0xc
call fcn.0043f96e
push ebx
call dword [eax + 0x28]
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x60]
jmp 0x435bee
call fcn.0043f96e
call dword [eax + 0x40]
test eax, eax
jle 0x436095
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x44], 0x24
mov dword [ebp - 0x34], 0x16
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], 0x39
mov dword [ebp - 0x40], 0x30
mov edi, eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
imul eax, eax, 0x13
sub ecx, eax
mov eax, dword [ebp - 0x40]
sub ecx, eax
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
cmp ecx, eax
jne 0x436154
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x44]
push 0x51
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
cdq
idiv esi
mov ecx, dword [ebp - 0x34]
pop esi
imul eax, ecx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
imul ecx, edx
sub ecx, eax
add ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
lea eax, [ecx + eax + 0x79]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
imul ecx, ecx, 0x62
cdq
idiv esi
sub eax, ecx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
imul ecx, edx
imul ecx, ecx, 0x61
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
imul ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
imul ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
mov ecx, dword [ebp - 0x38]
sub eax, ecx
sub eax, 0x2b
mov dword [ebp - 0x38], eax
add dword [ebp - 0x44], 0x3a
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0xc]
push edi
push dword [0x47e7d8]
or eax, 1
push eax
call fcn.0043f0da
add esp, 0xc
jmp 0x43632d
fld qword [0x477900]
fstp qword [ebp - 0x64]
fld qword [0x4778e0]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fsub qword [0x4778f8]
fstp qword [ebp - 0x64]
or dword [ebp - 4], 0xffffffff
call fcn.0043f96e
push ebx
call dword [eax + 0x28]
jmp 0x4361a2
push 0x50
pop esi
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x44], 5
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], 0x51
mov dword [ebp - 0x60], 0x1c
mov dword [ebp - 0x3c], 0x48
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x38]
push 0x1f
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x48]
imul eax, eax, 0xe
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
imul eax, ecx
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x166e
sub ecx, eax
mov eax, dword [ebp - 0x60]
sub ecx, eax
mov eax, dword [ebp - 0x44]
sub ecx, eax
add ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x40]
add eax, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x40], eax
test ebx, ebx
je 0x4362a5
mov eax, dword [ebx]
and dword [ebp - 0x54], 0
lea ecx, [ebp - 0x54]
push ecx
push dword [ebp - 0x4c]
mov ecx, ebx
call dword [eax]
mov dword [ebp - 0x48], 0x16
mov dword [ebp - 0x3c], 0x2b
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], 0x59
mov edi, eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
imul eax, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
imul eax, eax, 0x3f
sub ecx, eax
add ecx, dword [ebp - 0x40]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
cmp eax, ecx
je 0x43628c
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
imul eax, ecx
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x14
sub ecx, eax
mov eax, dword [ebp - 0x40]
sub ecx, eax
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x54], 0
je 0x43629d
push dword [ebp - 0x54]
push dword [ebp - 0x50]
call fcn.00434192
test edi, edi
js 0x43632d
mov eax, dword [ebp - 0x4c]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp eax, 2
jne 0x43632d
cmp byte [ebp + 8], 0
jne 0x43632d
mov dword [ebp - 0x58], 0x61
mov dword [ebp - 0x48], 0x10
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x48], 0x21
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x40], 0xd
mov eax, dword [ebp - 0x38]
push 0x13
pop ecx
sub ecx, eax
mov eax, dword [ebp - 0x48]
sub ecx, eax
add ecx, dword [ebp - 0x58]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x48]
sub eax, 0x4d
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jl 0x436321
mov eax, dword [ebp - 0x40]
cdq
push 0xe
pop ecx
idiv ecx
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
imul eax, ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x50]
mov edx, ebx
call fcn.00435055
mov edi, eax
mov eax, edi
call fcn.00453869
ret 8