Function at 0x4350d9
Capabilities:
Check http status code

Disassembly:
push 0x74
mov eax, 0x454841
call fcn.0044fcfd
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x58], 0
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x60], eax
call fcn.0043380d
fld qword [0x473920]
fstp qword [ebp - 0x54]
fld qword [0x473918]
fstp qword [ebp - 0x3c]
fld qword [0x473910]
fstp qword [ebp - 0x4c]
fld qword [0x473908]
fstp qword [ebp - 0x4c]
fld qword [0x473900]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x3c]
fcomp qword [ebp - 0x3c]
fnstsw ax
test ah, 1
jne 0x435141
fld qword [ebp - 0x4c]
fadd qword [ebp - 0x54]
fstp qword [ebp - 0x4c]
mov ebx, 0x47bffc
push ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov eax, dword [0x47c014]
push eax
push dword [0x47a800]
mov dword [ebp - 0x48], eax
push 0
call fcn.0043d066
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x43517a
mov ecx, dword [edi]
jmp 0x43517c
mov ecx, edi
push eax
push ecx
push dword [esi + 0x34]
call fcn.0043e148
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x50], eax
call fcn.0043d8a6
push ebx
call dword [eax + 0x28]
push dword [0x47a804]
lea eax, [ebp - 0x30]
call fcn.00404c9d
xor eax, eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x50], eax
jne 0x4351b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x10]
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.00434046
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp - 0x30]
mov dword [ebp - 0x38], eax
call fcn.004051ee
mov dword [ebp - 0x50], 0x4f
mov dword [ebp - 0x50], 0x47
mov dword [ebp - 0x40], 0x15
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x50]
cmp ecx, eax
jle 0x435214
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
cmp eax, ecx
je 0x435214
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x40]
imul eax, eax, 0x29
lea eax, [eax + ecx - 0x12]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
xor edi, edi
cmp eax, edi
jl 0x4356aa
fld qword [0x473958]
mov eax, dword [ebp - 0x5c]
fstp qword [ebp - 0x3c]
fld qword [0x473950]
fstp qword [ebp - 0x3c]
fld qword [0x473948]
fstp qword [ebp - 0x3c]
fld qword [0x473940]
fstp qword [ebp - 0x3c]
fld qword [0x473938]
fstp qword [ebp - 0x3c]
fld qword [0x473930]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x3c]
mov esi, dword [eax + 0x34]
fadd qword [0x473928]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x78], 4
fstp qword [ebp - 0x3c]
call fcn.0043d8a6
push edi
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push 0x20000013
push esi
call dword [eax + 0x168]
test eax, eax
je 0x4355ca
push dword [ebp - 0x58]
push dword [0x47a80c]
push edi
call fcn.0043d066
add esp, 0xc
cmp dword [ebp - 0x58], 0x191
je 0x4352bd
cmp dword [ebp - 0x58], 0x197
jne 0x43560d
mov dword [ebp - 0x40], 0x3f
add dword [ebp - 0x40], 0xfffffffa
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
imul eax, ecx
mov ecx, dword [ebp - 0x40]
imul ecx, ecx, 0xffffffac
sub ecx, eax
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x40]
imul eax, edx
mov edx, dword [ebp - 0x40]
imul eax, edx
imul eax, eax, 0x3d
add ecx, eax
mov eax, dword [ebp - 0x40]
sub ecx, eax
sub ecx, 0xb9
mov dword [ebp - 0x40], ecx
add dword [ebp - 0x40], 0x55
mov eax, dword [ebp - 0x40]
push 0x52
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x40]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
imul eax, eax, 0x28
mov dword [ebp - 0x40], eax
add dword [ebp - 0x40], 0x49
cmp byte [ebp + 8], 0
jne 0x43533c
mov ebx, dword [ebp - 0x5c]
xor ecx, ecx
call fcn.0043474b
test eax, eax
js 0x4356aa
mov ebx, 0x47bffc
xor edi, edi
push dword [ebp - 0x48]
push dword [ebp - 0x58]
push dword [0x47a810]
push edi
call fcn.0043d066
add esp, 0x10
push ebx
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 2
mov eax, dword [0x47c014]
cmp eax, edi
jl 0x435600
cmp eax, dword [ebp - 0x48]
jg 0x4354a5
fld qword [0x4739a0]
fstp qword [ebp - 0x4c]
fld qword [0x473998]
fstp qword [ebp - 0x54]
fld qword [0x473990]
fstp qword [ebp - 0x3c]
fld qword [0x473988]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x3c]
fcomp qword [ebp - 0x4c]
fnstsw ax
test ah, 5
jp 0x435422
fld qword [ebp - 0x54]
fadd qword [0x473980]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x435422
fld qword [ebp - 0x44]
fld qword [ebp - 0x44]
fucompp
fnstsw ax
test ah, 0x44
jp 0x43540c
fld qword [ebp - 0x3c]
fld qword [ebp - 0x44]
fmul qword [0x473978]
fsubp st(1)
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x54]
fadd qword [0x473970]
fadd qword [ebp - 0x3c]
fadd qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fmul qword [0x473968]
fsubp st(1)
fld qword [ebp - 0x3c]
fmul qword [0x473960]
fsubp st(1)
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x54]
fcomp qword [ebp - 0x4c]
fnstsw ax
test ah, 0x41
jp 0x435422
fld qword [ebp - 0x44]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x4c]
mov eax, dword [ebp - 0x5c]
push dword [eax + 0x34]
call fcn.0043e69f
push eax
call fcn.0043e12a
cmp eax, 0x2f00
jne 0x435442
mov eax, dword [0x47c014]
inc eax
jmp 0x435445
or eax, 0xffffffff
push eax
push dword [0x47a814]
mov dword [0x47c014], eax
push edi
call fcn.0043d066
fld qword [0x4739c0]
fstp qword [ebp - 0x3c]
add esp, 0xc
fld qword [0x473a48]
fstp qword [ebp - 0x3c]
fld qword [0x473928]
fstp qword [ebp - 0x3c]
fld qword [0x4739b8]
fstp qword [ebp - 0x4c]
fld qword [0x4739b0]
fstp qword [ebp - 0x54]
fld qword [0x473a50]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fmul qword [ebp - 0x4c]
fmul qword [ebp - 0x54]
fsub qword [0x4739a8]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x4c]
cmp dword [0x47c014], edi
jl 0x435600
fld qword [0x4739a0]
fstp qword [ebp - 0x4c]
fld qword [0x473998]
fstp qword [ebp - 0x54]
fld qword [0x473990]
fstp qword [ebp - 0x3c]
fld qword [0x473988]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x3c]
fcomp qword [ebp - 0x4c]
fnstsw ax
test ah, 5
jp 0x43555b
fld qword [ebp - 0x54]
fadd qword [0x473980]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x43555b
fld qword [ebp - 0x44]
fld qword [ebp - 0x44]
fucompp
fnstsw ax
test ah, 0x44
jp 0x435545
fld qword [ebp - 0x3c]
fld qword [ebp - 0x44]
fmul qword [0x473978]
fsubp st(1)
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x54]
fadd qword [0x473970]
fadd qword [ebp - 0x3c]
fadd qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fmul qword [0x473968]
fsubp st(1)
fld qword [ebp - 0x3c]
fmul qword [0x473960]
fsubp st(1)
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x54]
fcomp qword [ebp - 0x4c]
fnstsw ax
test ah, 0x41
jp 0x43555b
fld qword [ebp - 0x44]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x4c]
push dword [0x47c014]
push dword [0x47a818]
push edi
call fcn.0043d066
fld qword [0x473958]
fstp qword [ebp - 0x3c]
add esp, 0xc
fld qword [0x473950]
fstp qword [ebp - 0x3c]
fld qword [0x473948]
fstp qword [ebp - 0x3c]
fld qword [0x473940]
fstp qword [ebp - 0x3c]
fld qword [0x473938]
fstp qword [ebp - 0x3c]
fld qword [0x473930]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x3c]
fadd qword [0x473928]
fstp qword [ebp - 0x3c]
or dword [ebp - 4], 0xffffffff
call fcn.0043d8a6
push ebx
call dword [eax + 0x28]
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x5c]
jmp 0x4350f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x4355de
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xc]
push esi
push dword [0x47a808]
or eax, 1
push eax
call fcn.0043d066
add esp, 0xc
mov eax, esi
jmp 0x4356aa
or dword [ebp - 4], 0xffffffff
call fcn.0043d8a6
push ebx
call dword [eax + 0x28]
mov esi, dword [ebp - 0x60]
xor ebx, ebx
cmp esi, edi
je 0x435687
fld qword [0x4739c0]
mov dword [ebp - 0x68], edi
fstp qword [ebp - 0x64]
lea ecx, [ebp - 0x68]
fld qword [0x473a48]
push ecx
fstp qword [ebp - 0x64]
mov ecx, esi
fld qword [0x473928]
fstp qword [ebp - 0x64]
fld qword [0x4739b8]
fstp qword [ebp - 0x74]
fld qword [0x4739b0]
fstp qword [ebp - 0x3c]
fld qword [0x473a50]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fmul qword [ebp - 0x74]
fmul qword [ebp - 0x3c]
fsub qword [0x4739a8]
fsub qword [ebp - 0x64]
push dword [ebp - 0x58]
mov eax, dword [esi]
fstp qword [ebp - 0x74]
call dword [eax]
mov ebx, eax
cmp dword [ebp - 0x68], edi
je 0x435683
push dword [ebp - 0x68]
push dword [ebp - 0x5c]
call fcn.0043381b
cmp ebx, edi
jl 0x4356a8
mov eax, dword [ebp - 0x58]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp eax, 2
jne 0x4356a8
cmp byte [ebp + 8], 0
jne 0x4356a8
mov ebx, dword [ebp - 0x5c]
mov ecx, esi
call fcn.0043474b
mov ebx, eax
mov eax, ebx
call fcn.0044fd80
ret 8