Function at 0x4361ef
Capabilities:
Check http status code

Disassembly:
push 0x64
mov eax, 0x45722a
call fcn.00452711
and dword [ebp - 0x58], 0
fld qword [0x476990]
mov eax, dword [ebp + 0xc]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
mov esi, ecx
fadd qword [ebp - 0x40]
mov edi, edx
mov ebx, 0x47efdc
mov dword [ebp - 0x5c], esi
fstp qword [ebp - 0x40]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], ebx
call fcn.00434a68
call fcn.0043f31e
push ebx
call dword [eax + 0x28]
and dword [ebp - 4], 0
mov eax, dword [0x47eff4]
push eax
push dword [0x47d7d4]
mov dword [ebp - 0x54], eax
push 0
call fcn.0043ec4f
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x436261
mov ecx, dword [edi]
jmp 0x436263
mov ecx, edi
push eax
push ecx
push dword [esi + 0x34]
call fcn.0043fb3a
mov dword [ebp - 0x30], 0x58
mov dword [ebp - 0x44], 0x35
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
imul eax, eax, 0x13
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
add ecx, dword [ebp - 0x44]
mov dword [ebp - 0x44], ecx
or dword [ebp - 4], 0xffffffff
call fcn.0043f31e
push ebx
call dword [eax + 0x2c]
push dword [0x47d7d8]
lea eax, [ebp - 0x2c]
call fcn.004051f8
xor eax, eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x3c], eax
jne 0x4362cc
call fcn.004408a1
push dword [edi + 0x10]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.00434e07
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
call fcn.00405711
mov eax, dword [ebp - 0x3c]
xor esi, esi
cmp eax, esi
jl 0x436836
mov edi, dword [ebp - 0x5c]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x20000013
push dword [edi + 0x34]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x68], 4
call fcn.0043fbd3
test eax, eax
je 0x4365f7
push dword [ebp - 0x58]
push dword [0x47d7e0]
push esi
call fcn.0043ec4f
add esp, 0xc
cmp dword [ebp - 0x58], 0x191
je 0x43634b
cmp dword [ebp - 0x58], 0x197
jne 0x4366be
cmp byte [ebp + 8], 0
fld qword [0x476908]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x476900]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x4768f8]
fadd qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fld qword [ebp - 0x40]
fdiv qword [0x4768f0]
fsubp st(1)
fld qword [ebp - 0x40]
fdiv qword [0x4768e8]
fsubp st(1)
fsub qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x4768e0]
fadd qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x4768d8]
fsubp st(1)
fadd qword [0x4768d0]
fsub qword [ebp - 0x40]
fsub qword [0x4768c8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x4768c0]
fsub qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x4768b8]
fmul qword [0x4768b0]
fdiv qword [0x4768a8]
faddp st(1)
fadd qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x4768a0]
fmul qword [ebp - 0x40]
faddp st(1)
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x476898]
fld qword [ebp - 0x40]
fsub qword [0x476890]
faddp st(1)
fadd qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [ebp - 0x40]
faddp st(1)
fadd qword [0x476888]
fstp qword [ebp - 0x40]
jne 0x436457
xor edx, edx
mov ecx, edi
call fcn.004357ed
fld qword [0x476990]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x40]
cmp eax, esi
jl 0x436836
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [0x47d7e4]
push esi
call fcn.0043ec4f
add esp, 0x10
mov dword [ebp - 0x70], ebx
call fcn.0043f31e
push ebx
call dword [eax + 0x28]
mov dword [ebp - 4], 2
push 0x54
pop ecx
mov dword [ebp - 0x34], ecx
push 0x46
pop esi
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
imul eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
imul eax, edx
mov edx, dword [ebp - 0x30]
imul eax, eax, 0x19
mov edi, dword [ebp - 0x34]
imul edx, edi
imul edx, edx, 0x13
sub eax, edx
add eax, dword [ebp - 0x34]
push 0x77
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
pop edx
sub edx, eax
mov eax, dword [ebp - 0x30]
sub edx, eax
add edx, dword [ebp - 0x34]
push 0x3a
add edx, dword [ebp - 0x34]
pop edi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x30]
cdq
idiv edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
imul eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [0x47eff4]
test eax, eax
js 0x4366b1
cmp eax, dword [ebp - 0x54]
jg 0x436598
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov ecx, dword [ebp - 0x30]
imul eax, eax, 0x19
mov edx, dword [ebp - 0x34]
imul ecx, edx
imul ecx, ecx, 0x13
sub eax, ecx
add eax, dword [ebp - 0x34]
push 0x77
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
pop ecx
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
add ecx, dword [ebp - 0x34]
push edi
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x30]
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
imul eax, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5c]
push dword [eax + 0x34]
call fcn.004400f9
push eax
call fcn.0043fab2
cmp eax, 0x2f00
jne 0x43657a
mov eax, dword [0x47eff4]
inc eax
jmp 0x43657d
or eax, 0xffffffff
push eax
push dword [0x47d7e8]
mov dword [0x47eff4], eax
push 0
call fcn.0043ec4f
mov eax, dword [0x47eff4]
add esp, 0xc
test eax, eax
js 0x4366b1
push eax
push dword [0x47d7ec]
push 0
call fcn.0043ec4f
mov dword [ebp - 0x30], 0x58
mov dword [ebp - 0x44], 0x35
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
imul eax, eax, 0x13
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
add ecx, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x44], ecx
or dword [ebp - 4], 0xffffffff
call fcn.0043f31e
push ebx
call dword [eax + 0x2c]
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x5c]
jmp 0x436229
call fcn.004408a1
cmp eax, esi
jle 0x43660a
and eax, reloc.winhttp.dll_WinHttpCloseHandle
or eax, 0x80070000
mov esi, eax
mov eax, dword [edi + 0xc]
push esi
push dword [0x47d7dc]
or eax, 1
push eax
call fcn.0043ec4f
fld qword [0x476940]
fstp qword [ebp - 0x50]
add esp, 0xc
fld qword [ebp - 0x50]
mov eax, esi
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [0x476938]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [0x4768a0]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [0x476930]
fmul qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [0x476928]
faddp st(1)
fadd qword [0x4768e0]
fsub qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x50]
fld qword [ebp - 0x50]
fsub qword [0x476920]
faddp st(1)
fadd qword [0x476918]
fadd qword [ebp - 0x50]
fsub qword [0x476910]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x50]
fmul qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fsub qword [ebp - 0x50]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x50]
jmp 0x436836
or dword [ebp - 4], 0xffffffff
call fcn.0043f31e
push ebx
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x64]
and dword [ebp - 0x44], 0
push 0x53
pop edi
push 0x24
pop ebx
push 0x22
pop esi
test ecx, ecx
je 0x4367a9
and dword [ebp - 0x60], 0
mov dword [ebp - 0x44], 0x41
mov dword [ebp - 0x34], 0x11
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
imul eax, edx
mov edx, 0xffffff64
sub edx, eax
add edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
imul eax, edx
mov edx, dword [ebp - 0x34]
imul eax, eax, 0x4e
imul edx, edx, 0x29
add eax, edx
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
lea eax, [eax + edx + 0x97]
lea edx, [ebp - 0x60]
push edx
push dword [ebp - 0x58]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
test ecx, ecx
je 0x436748
push dword [ebp - 0x5c]
call fcn.00434a75
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x34], 6
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x30], 0x58
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
cmp ecx, eax
jge 0x4367a9
mov eax, dword [ebp - 0x34]
shl eax, 2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x3c]
imul eax, ecx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
mov ecx, dword [ebp - 0x30]
lea eax, [eax + ecx - 0x36]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 0x29
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x34], 6
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x30], 0x58
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
cmp ecx, eax
jge 0x43680a
mov eax, dword [ebp - 0x34]
shl eax, 2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x3c]
imul eax, ecx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
mov ecx, dword [ebp - 0x30]
lea eax, [eax + ecx - 0x36]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 0x29
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x44], 0
jl 0x436833
mov eax, dword [ebp - 0x58]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp eax, 2
jne 0x436833
cmp byte [ebp + 8], 0
jne 0x436833
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
call fcn.004357ed
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
call fcn.00452794
ret 8