Function at 0x4389fa
Capabilities:
Check http status code

Disassembly:
push 0x84
mov eax, 0x45bc0d
call fcn.00457139
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x44], 0
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x5c], eax
mov ebx, 0x482fdc
fld qword [0x47a968]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x47a960]
fadd qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fsub qword [0x47a958]
fadd qword [ebp - 0x38]
fadd qword [0x47a950]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fsubp st(1)
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x47a8f8]
fsubp st(1)
fld qword [ebp - 0x38]
fmul qword [0x47a948]
fsubp st(1)
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x47a940]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fadd qword [0x47a938]
fadd qword [ebp - 0x38]
fsub qword [0x47a930]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fsubp st(1)
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fsubp st(1)
fld qword [ebp - 0x38]
fdiv qword [0x47a928]
faddp st(1)
fsub qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fsub qword [0x47a920]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x38]
call fcn.0043745f
mov dword [ebp - 0x8c], ebx
call fcn.00441f13
push ebx
call dword [eax + 0x28]
and dword [ebp - 4], 0
mov eax, dword [0x482ff4]
push eax
push dword [0x4817e0]
mov dword [ebp - 0x74], eax
push 0
call fcn.0044159c
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x438b1d
mov ecx, dword [edi]
jmp 0x438b1f
mov ecx, edi
push eax
push ecx
push dword [esi + 0x34]
call fcn.0044298d
or dword [ebp - 4], 0xffffffff
push ebx
mov dword [ebp - 0x54], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [0x4817e4]
lea eax, [ebp - 0x2c]
call fcn.004057e3
xor eax, eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x54], eax
jne 0x438b59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x10]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.004379bc
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x54], eax
call fcn.00405d80
fld qword [0x47a998]
fstp qword [ebp - 0x38]
mov eax, dword [ebp - 0x54]
fld qword [0x47a990]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x40]
fmul qword [0x47a988]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [ebp - 0x38]
fsubp st(1)
fsub qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x47a920]
fsubp st(1)
fsub qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x38]
fmul qword [0x47a980]
fadd qword [ebp - 0x40]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x47a940]
fmul qword [ebp - 0x40]
fmul qword [ebp - 0x40]
fmul qword [ebp - 0x40]
fsub qword [0x47a9d8]
fsub qword [ebp - 0x40]
fsub qword [0x47a978]
fadd qword [ebp - 0x38]
fadd qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fadd qword [0x47a970]
fstp qword [ebp - 0x38]
test eax, eax
js 0x438ff0
and dword [ebp - 0x44], edi
mov dword [ebp - 0x84], 4
mov dword [ebp - 0x54], 0x2f
mov dword [ebp - 0x7c], 0x29
mov dword [ebp - 0x48], 0x37
mov dword [ebp - 0x30], 0x40
mov dword [ebp - 0x34], 0x50
mov dword [ebp - 0x64], 0x5d
mov dword [ebp - 0x3c], 9
mov eax, dword [ebp - 0x7c]
sub eax, 0x11
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
imul eax, eax, 0x7ec
imul ecx, ecx, 0xffffffee
sub ecx, eax
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x48]
imul eax, edx
add ecx, eax
mov eax, dword [ebp - 0x64]
sub ecx, eax
mov eax, dword [ebp - 0x3c]
lea eax, [ecx + eax + 0x3f]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
sub eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
jne 0x438cdf
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
je 0x438cdf
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x7c]
imul eax, ecx
mov ecx, dword [ebp - 0x54]
sub eax, ecx
mov ecx, dword [ebp - 0x54]
sub eax, ecx
add eax, 0x30
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x64]
imul eax, ecx
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0xf
sub ecx, eax
sub ecx, 0x60
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x4c]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x20000013
push dword [edi + 0x34]
call fcn.00442a7d
test eax, eax
je 0x438ec8
push dword [ebp - 0x44]
push dword [0x4817ec]
push 0
call fcn.0044159c
add esp, 0xc
push 0x3f
pop edi
push 0x53
mov dword [ebp - 0x34], edi
pop esi
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
imul eax, eax, 0x34
cmp dword [ebp - 0x44], 0x191
mov dword [ebp - 0x34], eax
je 0x438d40
cmp dword [ebp - 0x44], 0x197
jne 0x438f06
cmp byte [ebp + 8], 0
jne 0x438d67
push dword [ebp - 0x4c]
xor ecx, ecx
call fcn.004383d5
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x34], esi
mov ecx, dword [ebp - 0x34]
imul ecx, ecx, 0x34
mov dword [ebp - 0x34], ecx
test eax, eax
js 0x438ff0
push dword [ebp - 0x74]
xor esi, esi
push dword [ebp - 0x44]
push dword [0x4817f0]
push esi
call fcn.0044159c
add esp, 0x10
mov dword [ebp - 0x90], ebx
call fcn.00441f13
push ebx
call dword [eax + 0x28]
mov dword [ebp - 4], 2
mov eax, dword [0x482ff4]
cmp eax, esi
jl 0x438efb
cmp eax, dword [ebp - 0x74]
jg 0x438dde
mov eax, dword [ebp - 0x4c]
push dword [eax + 0x34]
call fcn.004430f6
push eax
call fcn.0044296f
cmp eax, 0x2f00
jne 0x438dc6
mov eax, dword [0x482ff4]
inc eax
jmp 0x438dc9
or eax, 0xffffffff
push eax
push dword [0x4817f4]
mov dword [0x482ff4], eax
push esi
call fcn.0044159c
add esp, 0xc
cmp dword [0x482ff4], esi
jl 0x438efb
fld qword [0x47a9e0]
fstp qword [ebp - 0x40]
fld qword [0x47a9d8]
fstp qword [ebp - 0x58]
fld qword [0x47a9d0]
fstp qword [ebp - 0x68]
fld qword [0x47a9c8]
fstp qword [ebp - 0x38]
fld qword [0x47a9c0]
fstp qword [ebp - 0x78]
fld qword [0x47a9b8]
fstp qword [ebp - 0x80]
fld qword [0x47a9b0]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x58]
fcomp qword [ebp - 0x68]
fnstsw ax
test ah, 0x41
jne 0x438e71
fld qword [ebp - 0x78]
fstp st(0)
fld qword [ebp - 0x40]
fstp st(0)
fld qword [ebp - 0x80]
fmul qword [ebp - 0x38]
fsub qword [0x47a928]
fld qword [ebp - 0x78]
fmul qword [ebp - 0x38]
fmul qword [0x47a8f0]
faddp st(1)
fld qword [ebp - 0x58]
fdiv qword [0x47a908]
faddp st(1)
fstp qword [ebp - 0x68]
fld qword [ebp - 0x40]
fmul qword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x78]
fmul qword [0x47a9a8]
fadd qword [ebp - 0x38]
fadd qword [ebp - 0x68]
fadd qword [0x47a9a0]
fadd qword [ebp - 0x38]
fsub qword [ebp - 0x58]
fld qword [ebp - 0x78]
fmul qword [ebp - 0x58]
fmul qword [ebp - 0x38]
push dword [0x482ff4]
push dword [0x4817f8]
faddp st(1)
push esi
fstp qword [ebp - 0x40]
call fcn.0044159c
or dword [ebp - 4], 0xffffffff
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp - 0x4c]
jmp 0x438a25
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x438edc
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [edi + 0xc]
push esi
push dword [0x4817e8]
or eax, 1
push eax
call fcn.0044159c
add esp, 0xc
mov eax, esi
jmp 0x438ff0
or dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x5c]
xor ebx, ebx
test esi, esi
je 0x438fcd
and dword [ebp - 0x6c], ebx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x5c], 0x53
mov eax, dword [ebp - 0x5c]
imul eax, eax, 0x34
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
cmp dword [ebp - 0x6c], 0
mov ebx, eax
je 0x438f49
push dword [ebp - 0x6c]
push dword [ebp - 0x4c]
call fcn.00437531
mov dword [ebp - 0x30], 0x34
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax + 0xf]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x36
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
lea eax, [eax + ecx + 0x44]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x52
sub eax, ecx
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x4c
sub eax, ecx
mov ecx, dword [ebp - 0x30]
lea eax, [eax + ecx - 0x51]
add eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x30], eax
add dword [ebp - 0x30], 0xffffffd9
add dword [ebp - 0x30], 0x1c
test ebx, ebx
js 0x438fee
mov eax, dword [ebp - 0x44]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp eax, 2
jne 0x438fee
cmp byte [ebp + 8], 0
jne 0x438fee
push dword [ebp - 0x4c]
mov ecx, esi
call fcn.004383d5
mov ebx, eax
mov eax, ebx
call fcn.004571bc
ret 8