Function at 0x435caf
Capabilities:
Check http status code

Disassembly:
push 0x74
mov eax, 0x4584a7
call fcn.0045398e
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x6c], 0
mov esi, ecx
mov edi, edx
mov ebx, 0x48001c
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x80], ebx
call fcn.00434370
call fcn.0043f3e9
push ebx
call dword [eax + 0x28]
and dword [ebp - 4], 0
mov eax, dword [0x480034]
push eax
push dword [0x47e808]
mov dword [ebp - 0x4c], eax
push 0
call fcn.0043edb6
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x435d0f
mov ecx, dword [edi]
jmp 0x435d11
mov ecx, edi
push eax
push ecx
push dword [esi + 0x34]
call fcn.0043fd9f
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x5c], eax
call fcn.0043f3e9
push ebx
call dword [eax + 0x2c]
push dword [0x47e80c]
lea eax, [ebp - 0x2c]
call fcn.00405268
xor eax, eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x5c], eax
jne 0x435d4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x10]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.00434a7d
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
call fcn.00405846
fld qword [0x477a58]
fstp qword [ebp - 0x48]
fld qword [0x477a50]
fstp qword [ebp - 0x38]
fld qword [0x4779d8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x48]
fld qword [ebp - 0x38]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x435e08
fld qword [ebp - 0x38]
fmul qword [ebp - 0x48]
fmul qword [0x477a40]
fld qword [ebp - 0x40]
fmul qword [0x477a38]
fsubp st(1)
fld qword [ebp - 0x40]
fld qword [0x477a48]
fdiv st(1), st(0)
fxch st(2)
faddp st(1)
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x477a30]
fadd qword [ebp - 0x40]
fadd qword [ebp - 0x40]
faddp st(1)
fadd qword [ebp - 0x38]
fld qword [ebp - 0x40]
fmul qword [0x477a28]
fsubp st(1)
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x48]
faddp st(1)
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x38]
mov eax, dword [ebp - 0x5c]
test eax, eax
js 0x4364f5
and dword [ebp - 0x6c], edi
push 0xf
pop esi
mov dword [ebp - 0x30], esi
push 0x47
pop edi
mov dword [ebp - 0x44], edi
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax - 0x48]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
sub eax, 0x59
mov dword [ebp - 0x30], eax
add dword [ebp - 0x30], 0xffffffe6
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x70]
push 0x20000013
push dword [eax + 0x34]
mov dword [ebp - 0x78], 4
call fcn.0043ff22
test eax, eax
je 0x4361a6
push dword [ebp - 0x6c]
push dword [0x47e814]
push 0
call fcn.0043edb6
add esp, 0xc
cmp dword [ebp - 0x6c], 0x191
je 0x435ea7
cmp dword [ebp - 0x6c], 0x197
jne 0x436266
mov dword [ebp - 0x30], 0x41
mov dword [ebp - 0x34], 0x55
mov dword [ebp - 0x5c], 0x20
mov eax, dword [ebp - 0x34]
push 0x17
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x30]
imul eax, eax, 0x55
imul ecx, ecx, 0x4e
sub ecx, eax
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
imul eax, edx
shl eax, 6
add ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x5c]
sub ecx, eax
add ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
lea eax, [ecx + eax + 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0xffffff7a
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
add ecx, dword [ebp - 0x30]
cmp byte [ebp + 8], 0
mov dword [ebp - 0x30], ecx
jne 0x435f76
push dword [ebp - 0x70]
xor ecx, ecx
call fcn.0043537b
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x44], edi
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
imul ecx, edx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
lea ecx, [edx + ecx - 0x48]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
imul ecx, edx
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
sub ecx, 0x59
mov dword [ebp - 0x30], ecx
add dword [ebp - 0x30], 0xffffffe6
test eax, eax
js 0x4364f5
push dword [ebp - 0x4c]
push dword [ebp - 0x6c]
push dword [0x47e818]
push 0
call fcn.0043edb6
mov dword [ebp - 0x34], 0x46
mov dword [ebp - 0x44], 0x32
mov dword [ebp - 0x3c], 0x51
mov dword [ebp - 0x30], 0x52
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
add esp, 0x10
cmp eax, ecx
jge 0x435fdb
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
imul eax, eax, 0x60
shl ecx, 6
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
lea eax, [eax + ecx - 0x53]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, eax, 6
sub eax, ecx
mov ecx, dword [ebp - 0x44]
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
add eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
lea eax, [eax + ecx + 0x5d]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x7c], ebx
call fcn.0043f3e9
push ebx
call dword [eax + 0x28]
mov dword [ebp - 4], 2
mov eax, dword [0x480034]
test eax, eax
js 0x4361dc
cmp eax, dword [ebp - 0x4c]
jg 0x4360ac
mov eax, dword [ebp - 0x70]
push dword [eax + 0x34]
call fcn.00440757
push eax
call fcn.0043fd81
cmp eax, 0x2f00
jne 0x43604e
mov eax, dword [0x480034]
inc eax
jmp 0x436051
or eax, 0xffffffff
mov dword [0x480034], eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax - 0x48]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
sub eax, 0x59
mov dword [ebp - 0x30], eax
add dword [ebp - 0x30], 0xffffffe6
push dword [0x480034]
push dword [0x47e81c]
push 0
call fcn.0043edb6
mov eax, dword [0x480034]
add esp, 0xc
test eax, eax
js 0x4361dc
mov dword [ebp - 0x30], 0x41
mov dword [ebp - 0x3c], 0x55
mov dword [ebp - 0x5c], 0x20
mov eax, dword [ebp - 0x3c]
push 0x17
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x30]
imul eax, eax, 0x55
imul ecx, ecx, 0x4e
sub ecx, eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
imul eax, edx
shl eax, 6
add ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x5c]
sub ecx, eax
add ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
lea eax, [ecx + eax + 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0xffffff7a
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
add ecx, dword [ebp - 0x30]
push dword [0x480034]
mov dword [ebp - 0x30], ecx
push dword [0x47e820]
push 0
call fcn.0043edb6
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x3c], 0x2b
mov eax, dword [ebp - 0x3c]
add eax, 0xb
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, eax, 0x14
sub eax, ecx
add eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
push 0x59
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp - 0x30]
push 0x29
imul eax, ecx
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
or dword [ebp - 4], 0xffffffff
call fcn.0043f3e9
push ebx
call dword [eax + 0x2c]
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x54]
jmp 0x435cd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4361ba
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0xc]
push esi
push dword [0x47e810]
or eax, 1
push eax
call fcn.0043edb6
add esp, 0xc
mov eax, esi
jmp 0x4364f5
mov dword [ebp - 0x44], 0x46
mov dword [ebp - 0x34], 0x32
mov dword [ebp - 0x3c], 0x51
mov dword [ebp - 0x30], 0x52
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov ecx, dword [ebp - 0x44]
sub eax, ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jge 0x43622b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
imul eax, eax, 0x60
shl ecx, 6
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
lea eax, [eax + ecx - 0x53]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, eax, 6
sub eax, ecx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
add eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + ecx + 0x5d]
mov dword [ebp - 0x30], eax
or dword [ebp - 4], 0xffffffff
call fcn.0043f3e9
push ebx
call dword [eax + 0x2c]
fld qword [0x477a20]
xor ebx, ebx
fst qword [ebp - 0x58]
fld qword [0x477a18]
fstp qword [ebp - 0x50]
fld1
fstp qword [ebp - 0x60]
fld qword [ebp - 0x58]
fstp st(0)
fld qword [ebp - 0x58]
fstp st(0)
fld qword [ebp - 0x50]
fcomp qword [ebp - 0x60]
fnstsw ax
fld qword [0x477a10]
fld qword [0x477a08]
fld qword [0x477a00]
fld qword [0x4779f8]
test ah, 1
jne 0x4362e9
fld qword [ebp - 0x50]
fsub st(4)
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fadd qword [ebp - 0x58]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd st(3)
fld qword [ebp - 0x50]
fmul qword [ebp - 0x58]
fmul st(3)
fsubp st(1)
fsub qword [ebp - 0x50]
fld qword [ebp - 0x60]
fmul st(2)
faddp st(1)
fsub st(5)
fsub qword [ebp - 0x58]
fsub qword [0x4779f0]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x58]
mov esi, dword [ebp - 0x64]
fld qword [0x4779e8]
fsub st(1), st(0)
fld qword [ebp - 0x58]
fsubp st(2)
fxch st(1)
fstp qword [ebp - 0x50]
fld qword [ebp - 0x58]
fsub qword [ebp - 0x60]
fstp qword [ebp - 0x58]
cmp esi, ebx
je 0x4364c6
fxch st(5)
mov dword [ebp - 0x74], ebx
fst qword [ebp - 0x68]
fld qword [0x477a18]
fstp qword [ebp - 0x58]
fld1
fstp qword [ebp - 0x50]
fld qword [ebp - 0x68]
fstp st(0)
fld qword [ebp - 0x68]
fstp st(0)
fld qword [ebp - 0x58]
fcomp qword [ebp - 0x50]
fnstsw ax
test ah, 1
jne 0x436380
fld qword [ebp - 0x58]
fsubrp st(5)
fxch st(4)
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [ebp - 0x68]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
faddp st(3)
fld qword [ebp - 0x58]
fmul qword [ebp - 0x68]
fmulp st(2)
fxch st(2)
fsubrp st(1)
fsub qword [ebp - 0x58]
fld qword [ebp - 0x50]
fmulp st(2)
faddp st(1)
fsubrp st(1)
fsub qword [ebp - 0x68]
fsub qword [0x4779f0]
fsub qword [ebp - 0x58]
fstp qword [ebp - 0x50]
jmp 0x43638a
fstp st(0)
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(0)
fsubr qword [ebp - 0x68]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, esi
fsub qword [ebp - 0x68]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x68]
fsub qword [ebp - 0x50]
push dword [ebp - 0x6c]
mov eax, dword [esi]
fstp qword [ebp - 0x68]
call dword [eax]
mov dword [ebp - 0x64], 0x27
mov ebx, eax
push 0x48
pop eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x54], 0x34
mov dword [ebp - 0x5c], 0x58
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], 0x41
mov dword [ebp - 0x3c], 0x28
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
imul eax, ecx
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0xe
add eax, ecx
add eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x5c]
lea eax, [eax + ecx + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov ecx, 0xffffff41
sub ecx, eax
mov eax, dword [ebp - 0x34]
sub ecx, eax
mov eax, dword [ebp - 0x44]
sub ecx, eax
mov eax, dword [ebp - 0x4c]
sub ecx, eax
add ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jle 0x436462
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
imul eax, ecx
mov ecx, dword [ebp - 0x3c]
imul eax, eax, 0xffffffe2
imul ecx, ecx, 0x44
sub eax, ecx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x64]
imul ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x44]
sub eax, ecx
mov ecx, dword [ebp - 0x5c]
sub eax, ecx
sub eax, 0x18
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x436471
push dword [ebp - 0x70]
call fcn.00434424
fld qword [0x4779b8]
fstp qword [ebp - 0x68]
fld qword [0x4779b0]
fstp qword [ebp - 0x68]
fld qword [0x4779a8]
fstp qword [ebp - 0x58]
fld qword [0x4779a0]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x58]
fcomp qword [ebp - 0x68]
fnstsw ax
test ah, 5
jp 0x4364c0
fld qword [ebp - 0x50]
fadd qword [ebp - 0x68]
fsub qword [0x477998]
fsub qword [ebp - 0x58]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
fsub qword [0x477990]
fstp qword [ebp - 0x68]
test ebx, ebx
js 0x4364f3
jmp 0x4364d2
fstp st(5)
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [ebp - 0x6c]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp eax, 2
jne 0x4364f3
cmp byte [ebp + 8], 0
jne 0x4364f3
push dword [ebp - 0x70]
mov ecx, esi
call fcn.0043537b
mov ebx, eax
mov eax, ebx
call fcn.00453a11
ret 8