Function at 0x643530
Capabilities:
Check http status code
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x87d7a5
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x30], ebp
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0xd0]
push 0x2e
push eax
mov dword [esp + 0xd0], ebx
call fcn.00806ba1
add esp, 8
cmp eax, ebx
jne 0x64358b
or eax, 0xffffffff
jmp 0x643594
sub eax, dword [esp + 0xd0]
sar eax, 1
inc eax
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xd8]
call fcn.004aa4c0
mov edi, dword [esp + 0xd4]
mov ecx, dword [edi*4 + 0x8c51c8]
xor edx, edx
cmp ecx, ebx
setne dl
mov byte [esp + 0xc8], 1
cmp edx, ebx
jne 0x6435d2
push 0x80004005
call fcn.004a8210
mov eax, dword [eax]
push ecx
push eax
call fcn.00801f5b
mov esi, eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0xc8], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x643608
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x643674
mov edx, dword [esp + 0xd0]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x6436cd
cmp eax, ecx
jg 0x6436cd
cmp word [edx + eax*2], 0x2e
je 0x643643
push 1
push 0x410468
lea ecx, [esp + 0xd8]
call fcn.004a9f20
mov edx, dword [edi*4 + 0x8c51c8]
cmp edx, ebx
jne 0x643652
xor eax, eax
jmp 0x643666
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x643657
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0xd8]
call fcn.004a9f20
push ebx
lea ecx, [esp + 0x7c]
call fcn.0065c0b0
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xd0]
push ecx
push edx
lea ecx, [esp + 0x80]
mov byte [esp + 0xd0], 2
call fcn.0065c1f0
test al, al
je 0x644669
cmp edi, 2
jne 0x6437db
call fcn.007cff5d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x6436d7
push 0x80004005
call fcn.004a8210
push 0x80070057
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0xe
push 0x442adc
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd0], 3
call fcn.004a9f20
push 0x18
push 0x442aa8
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 5
push 0x442a9c
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 0x51
push 0x4429f8
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 0x60
push 0x442930
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 0x34
push 0x4428c0
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 4
push 0x4428b0
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 9
push 0x44289c
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 8
push 0x442888
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 1
push 0x402308
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 7
push 0x442878
lea ecx, [esp + 0x1c]
call fcn.004a9f20
mov esi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x7c]
call fcn.0065c9c0
lea eax, [esi - 0x10]
mov byte [esp + 0xc8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6437d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x4427d8
jmp 0x643e2a
cmp edi, 4
je 0x6437e9
cmp edi, 5
jne 0x643dec
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x643803
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0xe
push 0x4427b4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd0], 4
call fcn.004a8db0
mov edx, 0x442760
cmp edi, 4
je 0x64383a
mov edx, 0x4426f0
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x643840
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 2
push 0x4426e4
lea ecx, [esp + 0x1c]
call fcn.004a9f20
cmp edi, 5
jne 0x64388b
push 0x442648
lea ecx, [esp + 0x18]
call fcn.004aaf10
push 0x4426e4
lea ecx, [esp + 0x18]
call fcn.004aaf10
push 0x27
push 0x4425f8
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 2
push 0x4426e4
lea ecx, [esp + 0x1c]
call fcn.004a9f20
mov edx, 0x4425cc
cmp edi, 4
je 0x6438ba
mov edx, 0x4425a4
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6438c0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004a9f20
cmp dword [ebp + 0x4c], 0
mov edx, 0x44257c
je 0x6438ea
mov edx, 0x442550
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6438f0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004a9f20
cmp edi, 5
jne 0x643923
cmp byte [ebp + 0x50], 0
je 0x643923
push 0x442518
lea ecx, [esp + 0x18]
call fcn.004aaf10
push 0xd
push 0x4424fc
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 0xd
push 0x4424e0
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 0x10
push 0x4424bc
lea ecx, [esp + 0x1c]
call fcn.004a9f20
push 1
push 0x402308
lea ecx, [esp + 0x1c]
call fcn.004a9f20
mov edx, 0x442318
cmp edi, 4
je 0x643972
mov edx, 0x442120
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x643977
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004a9f20
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x6439ab
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0xd8], 5
call fcn.004aa600
mov edx, dword [esp + 0x38]
add esp, 0x10
push edx
lea ecx, [esp + 0x7c]
call fcn.0065c9c0
mov edx, 0x442078
cmp edi, 4
je 0x6439fa
mov edx, 0x441fa0
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x643a00
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004a8db0
lea ecx, [ebp + 0x58]
call fcn.004dc5a0
mov ebx, eax
test ebx, ebx
je 0x643d53
lea esp, [esp]
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x6435c8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
xor eax, eax
test ebx, ebx
setne al
mov byte [esp + 0xc8], 6
test eax, eax
je 0x6435c8
mov edi, ebx
test ebx, ebx
jne 0x643a75
xor ebp, ebp
jmp 0x643aa9
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x643aa7
mov eax, dword [ebx + 0xc]
mov ebx, dword [esp + 0x30]
mov esi, dword [ebx + 0x60]
xor edx, edx
div esi
inc edx
jmp 0x643a90
cmp edx, esi
jae 0x643aa7
mov eax, dword [ebx + 0x58]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x643aa2
mov ecx, dword [eax]
inc edx
test ecx, ecx
je 0x643a90
mov ebp, ecx
push edi
lea ecx, [esp + 0x20]
mov ebx, ebp
call fcn.004aa540
mov esi, dword [edi + 4]
call fcn.007cff5d
xor ecx, ecx
cmp dword [esp + 0xd4], 4
jne 0x643bc4
test eax, eax
setne cl
test ecx, ecx
je 0x6435c8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x10]
mov byte [esp + 0xc8], 7
cmp ecx, 3
jle 0x643b19
cmp ecx, 6
jg 0x643b07
add ecx, 0xfffffffd
or ecx, 8
jmp 0x643b19
cmp ecx, 9
jg 0x643b14
add ecx, 0xfffffffa
or ecx, 4
jmp 0x643b19
mov ecx, 2
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x643b25
lea edi, [eax + 1]
jmp 0x643b30
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
lea edi, [eax + 3]
mov edx, dword [esi + 0x4c]
fld qword [esi + 0x30]
movzx eax, byte [esi + 0x48]
push edx
push eax
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
cdq
sub eax, edx
mov edx, dword [esi + 8]
sar eax, 1
push eax
mov eax, dword [esi]
push edx
push eax
push ecx
movzx ecx, byte [esi + 0x7c]
mov eax, dword [esi + 0x44]
sub esp, 0x10
neg ecx
sbb ecx, ecx
xor edx, edx
fstp qword [esp + 8]
cmp dword [esi + 0x78], 0x190
fld qword [esi + 0x20]
fstp qword [esp]
push edi
fld qword [esi + 0x58]
setle dl
push ecx
mov ecx, dword [esi + 0x40]
and eax, 0xffffff
and ecx, 0xffffff
dec edx
push edx
mov edx, dword [esi + 0x3c]
push eax
mov eax, dword [esi + 0x38]
push ecx
and edx, 0xffffff
push edx
and eax, 0xffffff
push eax
call fcn.00802da0
mov ecx, dword [esi + 0x50]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
push eax
push ecx
push esi
push edx
lea eax, [esp + 0x74]
push eax
call fcn.004aa600
add esp, 0x58
jmp 0x643cea
test eax, eax
setne cl
test ecx, ecx
je 0x6435c8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x14]
mov byte [esp + 0xc8], 8
test eax, eax
jne 0x643bf5
lea ecx, [eax + 1]
jmp 0x643c00
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
lea ecx, [eax + 3]
mov eax, dword [esi + 0xc]
fld qword [esi + 0x30]
add eax, dword [esi + 4]
mov edx, dword [esi + 0x4c]
push edx
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
push eax
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 0x10]
push edx
push eax
movzx edx, byte [esi + 0x7d]
movzx eax, byte [esi + 0x7c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esi + 0x20]
fstp qword [esp]
push ecx
fld qword [esi + 0x90]
movzx ecx, byte [esi + 0x7e]
sub esp, 0x20
neg ecx
sbb ecx, ecx
fstp qword [esp + 0x18]
neg edx
fld qword [esi + 0x70]
sbb edx, edx
fstp qword [esp + 0x10]
neg eax
fld qword [esi + 0x68]
sbb eax, eax
fstp qword [esp + 8]
fld qword [esi + 0x60]
fstp qword [esp]
push ecx
xor ecx, ecx
fld qword [esi + 0x58]
cmp dword [esi + 0x78], 0x190
push edx
movzx edx, byte [esi + 0x4b]
setle cl
push eax
mov eax, dword [esi + 0x44]
shl edx, 0x18
and eax, 0xffffff
or edx, eax
movzx eax, byte [esi + 0x49]
dec ecx
push ecx
movzx ecx, byte [esi + 0x4a]
push edx
mov edx, dword [esi + 0x40]
and edx, 0xffffff
shl ecx, 0x18
or ecx, edx
movzx edx, byte [esi + 0x48]
push ecx
mov ecx, dword [esi + 0x3c]
shl eax, 0x18
and ecx, 0xffffff
or eax, ecx
push eax
mov eax, dword [esi + 0x38]
shl edx, 0x18
and eax, 0xffffff
or edx, eax
push edx
call fcn.00802da0
mov ecx, dword [esi + 0x50]
mov esi, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
push eax
push ecx
push esi
push edx
lea eax, [esp + 0x98]
push eax
call fcn.004aa600
add esp, 0x7c
mov edi, dword [esp + 0x20]
push edi
lea ecx, [esp + 0x7c]
call fcn.0065c9c0
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xc8], 6
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x643d1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0xc8], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x643d40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x643a30
mov edi, dword [esp + 0xd4]
mov ebp, dword [esp + 0x30]
cmp dword [ebp + 0xc], 0
jbe 0x643d9c
push 0x402308
lea ecx, [esp + 0x18]
call fcn.004a8ed0
push 0x441f8c
lea ecx, [esp + 0x18]
call fcn.004aaf10
mov eax, 0x441ee8
cmp edi, 4
je 0x643d84
mov eax, 0x441e40
push eax
lea ecx, [esp + 0x18]
call fcn.004aaf10
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x7c]
call fcn.0065c9c0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xc8], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x643dc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xc8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x643dec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x643df7
mov eax, 0x441dd8
jmp 0x643e2a
cmp edi, 1
jne 0x643e03
mov eax, 0x441dc0
jmp 0x643e2a
cmp edi, 3
jne 0x643e0f
mov eax, 0x441d80
jmp 0x643e2a
cmp edi, 4
jne 0x643e1b
mov eax, 0x441cd8
jmp 0x643e2a
mov eax, 0x441c38
cmp edi, 5
je 0x643e2a
mov eax, 0x402a88
push eax
lea ecx, [esp + 0x28]
call fcn.004a8f10
cmp dword [ebp + 0x34], 1
mov byte [esp + 0xc8], 9
jne 0x643e62
fild dword [esp + 0xe0]
fmul qword [esp + 0xd8]
fdiv qword [0x409f20]
call fcn.00802da0
mov dword [esp + 0xe0], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], ecx
cmp eax, ecx
jle 0x644553
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp eax, dword [ecx + 0xc]
jae 0x6436cd
fld qword [esp + 0xd8]
mov esi, dword [ecx + 8]
add esi, dword [esp + 0x20]
sub esp, 8
fstp qword [esp]
push eax
call fcn.00635aa0
mov ebx, eax
add ebx, dword [esp + 0xe0]
mov dword [esp + 0x54], ebx
jns 0x643ec2
inc dword [esp + 0x50]
jmp 0x644530
fld qword [esp + 0xd8]
mov ecx, dword [esp + 0x2c]
sub esp, 8
fstp qword [esp]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.00635b20
mov edi, eax
mov eax, 0x88888889
imul ebx
add edx, ebx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x10624dd3
imul ebp
sar edx, 6
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov ecx, 0x3c
idiv ecx
mov eax, 0x10624dd3
add edi, dword [esp + 0xe0]
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], edx
imul ebx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
imul ecx, ecx, 0x3e8
cdq
mov ebx, 0x3c
idiv ebx
mov eax, dword [esp + 0x54]
sub eax, ecx
mov dword [esp + 0x4c], eax
mov eax, 0x88888889
mov dword [esp + 0x28], edx
imul edi
add edx, edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x10624dd3
imul ebx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x44], eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov ecx, 0x3c
idiv ecx
mov eax, 0x10624dd3
mov ebx, 0x3c
mov dword [esp + 0x48], edx
imul edi
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
imul ecx, ecx, 0x3e8
cdq
idiv ebx
mov ebx, edi
sub ebx, ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x3c], edx
call fcn.0065c290
test al, al
mov eax, dword [esp + 0xd4]
je 0x644038
cmp eax, 4
je 0x644010
cmp eax, 5
je 0x644010
xor al, al
jmp 0x644015
mov eax, 1
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push eax
push edx
lea eax, [esp + 0x78]
push eax
call fcn.00642bc0
or dword [esp + 0x18], 1
mov byte [esp + 0xc8], 0xa
jmp 0x64406f
cmp eax, 4
je 0x644046
cmp eax, 5
je 0x644046
xor al, al
jmp 0x64404b
mov eax, 1
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x70]
push edx
call fcn.00642d40
or dword [esp + 0x18], 2
mov dword [esp + 0xc8], 0xb
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004a9b50
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
test byte [esp + 0x18], 2
mov dword [esp + 0xc8], 0xd
je 0x6440bb
mov eax, dword [esp + 0x68]
and dword [esp + 0x18], 0xfffffffd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6440bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [esp + 0x18], 1
mov byte [esp + 0xc8], 0xe
je 0x6440ef
mov eax, dword [esp + 0x70]
and dword [esp + 0x18], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6440ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x6435c8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
cmp dword [esp + 0xd4], 0
mov byte [esp + 0xc8], 0xf
jne 0x64416b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push ebx
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x40]
push ecx
push ebp
inc edx
push edx
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.004aa600
add esp, 0x30
jmp 0x6444d6
mov eax, dword [esp + 0xd4]
cmp eax, 1
jne 0x6441c9
push 0x7c
push 0xa
lea ecx, [esp + 0x1c]
call fcn.004f5730
fild dword [esp + 0x34]
fld qword [esp + 0xd8]
mov edx, dword [esp + 0x14]
push edx
fmul st(1), st(0)
fld qword [0x409f20]
fdiv st(2), st(0)
fxch st(2)
call fcn.00802da0
fimul dword [esp + 0x58]
push eax
fdivrp st(1)
call fcn.00802da0
push eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004aa600
add esp, 0x14
jmp 0x6444d6
cmp eax, 2
jne 0x644203
push 0x4415c8
push 0x402308
lea ecx, [esp + 0x1c]
call fcn.004aa070
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
push edi
push edx
push eax
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.004aa600
add esp, 0x14
jmp 0x6444d6
cmp eax, 3
jne 0x64424b
push 0x7c
push 0xa
lea ecx, [esp + 0x1c]
call fcn.004f5730
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push ebp
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.004aa600
add esp, 0x24
jmp 0x6444d6
cmp eax, 4
jne 0x64438c
push 0x441190
push 0x402308
lea ecx, [esp + 0x1c]
call fcn.004aa070
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
push edx
push ecx
sub eax, 0x10
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.004a9b50
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x6c]
add esp, 4
push eax
call fcn.0065c7f0
add esp, 8
mov ecx, dword [eax]
mov eax, dword [esi + 0x20]
add eax, dword [esi + 0x18]
push ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x1c]
sar eax, 1
push eax
mov eax, dword [esi + 0x14]
push edx
push eax
mov eax, dword [esi + 0xc]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov edi, esp
push eax
mov byte [esp + 0xe4], 0x10
call fcn.004a9b50
lea ecx, [esp + 0x88]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.0065c7f0
add esp, 8
mov edx, dword [eax]
mov esi, dword [esi + 8]
push edx
push ecx
sub esi, 0x10
mov dword [esp + 0x50], esp
mov edi, esp
push esi
mov byte [esp + 0xe8], 0x11
call fcn.004a9b50
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x84]
add esp, 4
push eax
call fcn.0065c7f0
add esp, 8
mov ecx, dword [eax]
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
push ecx
mov ecx, dword [esp + 0x58]
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x64]
push eax
push ecx
mov byte [esp + 0xec], 0x12
push edx
mov eax, dword [esp + 0x6c]
push eax
mov eax, 0x66666667
imul dword [esp + 0x78]
mov eax, dword [esp + 0x48]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
push ebp
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.004aa600
add esp, 0x44
lea ecx, [esp + 0x64]
call fcn.004a8c20
lea ecx, [esp + 0x6c]
call fcn.004a8c20
lea ecx, [esp + 0x60]
jmp 0x6444c9
cmp eax, 5
jne 0x6444d6
push 0x441190
push 0x402308
lea ecx, [esp + 0x1c]
call fcn.004aa070
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x10]
push ecx
sub eax, 0x10
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.004a9b50
lea ecx, [esp + 0x68]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.0065c7f0
add esp, 8
mov edx, dword [eax]
mov eax, dword [esi + 0x20]
add eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 0xc]
push ecx
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov edi, esp
push eax
mov byte [esp + 0xe4], 0x13
call fcn.004a9b50
lea edx, [esp + 0x74]
add esp, 4
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.0065c7f0
add esp, 8
mov eax, dword [eax]
push eax
mov eax, dword [esi + 8]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], esp
mov edi, esp
push eax
mov byte [esp + 0xe8], 0x14
call fcn.004a9b50
lea ecx, [esp + 0x94]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.0065c7f0
add esp, 8
mov edx, dword [eax]
mov ecx, dword [esp + 0x54]
push edx
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x64]
push eax
push ecx
mov byte [esp + 0xec], 0x15
push edx
mov eax, dword [esp + 0x6c]
push eax
mov eax, 0x66666667
imul dword [esp + 0x78]
mov eax, dword [esp + 0x48]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esi + 0x24]
push edx
mov edx, dword [esp + 0x58]
push eax
push ebp
push ecx
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.004aa600
add esp, 0x48
lea ecx, [esp + 0x74]
call fcn.004a8c20
lea ecx, [esp + 0x58]
call fcn.004a8c20
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc8], 0xf
call fcn.004a8c20
mov esi, dword [esp + 0x38]
push esi
lea ecx, [esp + 0x7c]
call fcn.0065c9c0
lea eax, [esi - 0x10]
mov byte [esp + 0xc8], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x644508
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xc8], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x644530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x20], 0x34
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x40]
jl 0x643e7f
mov edi, dword [esp + 0xd4]
mov ebp, dword [esp + 0x30]
cmp edi, 2
jne 0x644566
push 0x441c14
lea ecx, [esp + 0x7c]
call fcn.0065c9c0
cmp byte [ebp + 0x51], 0
jne 0x6448b2
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x60]
push eax
push 0x413454
lea ecx, [ebp + 0x58]
call fcn.005a8560
test eax, eax
je 0x6448b2
mov esi, dword [eax + 4]
cmp edi, 4
je 0x6448b2
cmp edi, 5
je 0x6448b2
push 0
lea ecx, [esp + 0xa0]
call fcn.0065c0b0
push 0x441af0
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0xd4], 0x16
call fcn.004af3d0
add esp, 0xc
mov ecx, dword [esp + 0xe4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd0], 0x17
call fcn.0065c1f0
test al, al
mov eax, dword [esp + 0x40]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0xc8], 0x16
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x644625
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x6446af
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc8], 9
call fcn.007e4df4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xc8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x644669
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xc8], 0
call fcn.007e4df4
mov eax, dword [esp + 0xd0]
add eax, 0xfffffff0
mov dword [esp + 0xc8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6446a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x64491b
lea ecx, [esp + 0x18]
call fcn.005345e0
lea ecx, [esp + 0x1c]
call fcn.005345e0
push 0x4425a4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 0x19
call fcn.004aaf10
push 0x4424fc
lea ecx, [esp + 0x1c]
call fcn.004aaf10
push 0x4424e0
lea ecx, [esp + 0x1c]
call fcn.004aaf10
push 0x402308
lea ecx, [esp + 0x1c]
call fcn.004aaf10
push 0x442120
lea ecx, [esp + 0x1c]
call fcn.004aaf10
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004aa600
mov edx, dword [esp + 0x2c]
add esp, 0x10
push edx
lea ecx, [esp + 0xa0]
call fcn.0065c9c0
push 0x441b38
lea ecx, [esp + 0x1c]
call fcn.004a8ed0
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x644754
lea ecx, [eax + 1]
jmp 0x64475f
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
lea ecx, [eax + 3]
mov eax, dword [esi + 0x4c]
fld qword [esi + 0x30]
push eax
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
cdq
sub eax, edx
mov edx, dword [esi + 8]
sar eax, 1
push eax
mov eax, dword [esi]
push edx
mov edx, dword [esi + 0x10]
push eax
movzx eax, byte [esi + 0x7e]
push edx
movzx edx, byte [esi + 0x7c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esi + 0x20]
fstp qword [esp]
push ecx
fld qword [esi + 0x90]
movzx ecx, byte [esi + 0x7d]
sub esp, 0x20
neg eax
sbb eax, eax
fstp qword [esp + 0x18]
neg ecx
fld qword [esi + 0x70]
sbb ecx, ecx
fstp qword [esp + 0x10]
neg edx
fld qword [esi + 0x68]
sbb edx, edx
fstp qword [esp + 8]
fld qword [esi + 0x60]
fstp qword [esp]
push eax
xor eax, eax
fld qword [esi + 0x58]
cmp dword [esi + 0x78], 0x190
push ecx
movzx ecx, byte [esi + 0x4b]
setle al
push edx
mov edx, dword [esi + 0x44]
shl ecx, 0x18
and edx, 0xffffff
or ecx, edx
movzx edx, byte [esi + 0x49]
dec eax
push eax
movzx eax, byte [esi + 0x4a]
push ecx
mov ecx, dword [esi + 0x40]
and ecx, 0xffffff
shl eax, 0x18
or eax, ecx
movzx ecx, byte [esi + 0x48]
push eax
mov eax, dword [esi + 0x3c]
shl edx, 0x18
and eax, 0xffffff
or edx, eax
push edx
mov edx, dword [esi + 0x38]
shl ecx, 0x18
and edx, 0xffffff
or ecx, edx
push ecx
call fcn.00802da0
mov edi, dword [esp + 0x80]
push eax
mov eax, dword [esi + 0x50]
push eax
lea ecx, [esp + 0x8c]
push edi
push ecx
call fcn.004aa600
add esp, 0x78
mov esi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0xa0]
call fcn.0065c9c0
lea eax, [esi - 0x10]
mov byte [esp + 0xc8], 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x64487a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0xc8], 0x16
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x64489e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc8], 9
call fcn.007e4df4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xc8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6448da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xc8], 0
call fcn.007e4df4
mov eax, dword [esp + 0xd0]
add eax, 0xfffffff0
mov dword [esp + 0xc8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x644919
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0x18