Function at 0x4163d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4169ff
sub esp, 0x88
mov ecx, dword [0x8c0f08]
test ecx, ecx
jge 0x41682a
mov eax, 0xffffffff
mov ecx, 0xffffffff
fldz
fld qword [esp + 0x8c]
fld st(1)
fucomp st(1)
mov dword [esp + 0x78], eax
fnstsw ax
sahf
mov eax, dword [esp + 0x78]
fstp st(0)
fstp st(0)
jbe 0x4167c2
fldz
fld st(0)
fstp qword [esp + 0x8c]
fstp st(0)
fld qword [esp + 0x8c]
fld st(0)
fstp qword [0x8c4570]
mov edx, dword [0x8c0f08]
test edx, edx
fstp st(0)
jge 0x41664d
mov edx, 0xffffffff
mov ebx, 0xffffffff
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [0x8c4578], edx
mov dword [0x8c457c], ebx
mov dword [0x8c2fe8], ecx
mov dword [0x8c2fec], eax
movzx eax, byte [0x8b8de8]
test al, al
jne 0x41663b
mov eax, dword [0x8c0f0c]
test eax, eax
jne 0x416620
mov eax, dword [0x8b2990]
test eax, eax
je 0x4164bf
fldz
fld st(0)
fstp qword [0x8b29f0]
fstp st(0)
call fcn.0041db60
add esp, 0x88
ret
lea eax, [0x8c4580]
mov dword [esp], eax
call fcn.00402110
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x18]
mov edx, ecx
sub ecx, eax
mov ebx, ecx
add ecx, 0xfff00000
mov ebp, dword [esp + 8]
mov dword [esp + 0x34], ebp
sub edx, eax
mov edx, dword [esp + 0x1c]
sbb edx, ebp
add ebx, 0xfff00000
adc edx, 0xffffffff
test edx, edx
setl bl
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ecx, 0x2000
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, esi
or ebx, edi
test bl, bl
je 0x416615
xor ecx, ecx
mov edx, 0x2000
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
lea eax, [0x8b29d8]
mov dword [esp], eax
call fcn.00402110
mov eax, dword [esp + 4]
mov ecx, dword [0x8b29d0]
sub ecx, eax
mov edx, dword [esp + 8]
mov ebx, dword [0x8b29d4]
sbb ebx, edx
test ebx, ebx
xchg ebp, ebx
setl bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
test ecx, ecx
xchg edi, ebx
setbe bl
xchg edi, ebx
and edi, esi
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
je 0x41658c
fldz
fld st(0)
fstp qword [0x8b29f0]
fstp st(0)
jmp 0x4164b3
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.0044b600
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x80]
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
fstp st(0)
call fcn.0044b600
fld qword [esp + 8]
fld qword [esp + 0x80]
fld st(1)
fdivp st(1)
fld st(0)
fstp qword [0x8b29f0]
mov eax, dword [esp + 0x30]
mov dword [0x8b29e8], eax
mov eax, dword [esp + 0x34]
mov dword [0x8b29ec], eax
lea eax, [0x8b29e0]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
fstp st(0)
fstp st(0)
call fcn.00402130
jmp 0x4164b3
mov ebx, ecx
mov ecx, edx
mov edx, ebx
jmp 0x41652a
lea eax, [0x8c15a0]
mov dword [esp], eax
call fcn.00415740
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x41649d
call fcn.00445ba0
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x41648f
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov eax, dword [0x8c4594]
mov ecx, dword [0x8c4590]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044b6f0
fld qword [esp + 8]
fld1
fld qword [esp + 0x8c]
fld st(0)
faddp st(2)
fld st(2)
fmulp st(2)
fld st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.0044b5b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [0x873214]
mov ebx, dword [0x873210]
mov ebp, dword [0x8b2990]
test ebp, ebp
je 0x416756
cmp eax, edx
xchg ebp, ebx
setb bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ecx, ebx
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, esi
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x41674a
mov eax, ebx
mov ecx, edx
test edx, edx
xchg ebp, ebx
setl bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
test ebx, ebx
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, esi
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x416886
mov eax, dword [esp + 0x44]
cmp edx, eax
seta cl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x40]
cmp ebx, esi
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebp
or edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
je 0x41673e
mov eax, ebx
mov ecx, edx
mov ebp, edx
mov edx, eax
mov eax, ebp
mov esi, ebx
mov ebx, ecx
mov ecx, esi
jmp 0x416460
mov eax, ebx
mov ecx, edx
mov ebx, esi
mov edx, dword [esp + 0x44]
jmp 0x41672d
mov ebp, eax
mov eax, ebx
mov ebx, ecx
mov ecx, edx
mov edx, ebp
jmp 0x4166db
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebx
lea eax, [0x8c4580]
mov dword [esp], eax
call fcn.00402110
mov eax, dword [esp + 4]
add eax, 0x100000
mov ecx, dword [esp + 8]
adc ecx, 0
mov edx, dword [esp + 0x2c]
cmp ecx, edx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x28]
cmp eax, esi
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebp
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
je 0x4167bc
mov ebx, eax
mov edx, ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
jmp 0x4166b4
mov eax, esi
mov ecx, edx
jmp 0x4167ab
mov edx, dword [0x8c0f08]
test edx, edx
jl 0x416437
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
fld qword [0x700400]
fld st(0)
fmulp st(2)
fld qword [0x700448]
fstp st(1)
fld st(0)
fdivp st(2)
fld st(1)
fstp qword [esp + 0x70]
fld qword [esp + 0x8c]
fstp st(1)
fld st(0)
fucomp st(2)
mov dword [esp + 0x78], eax
fnstsw ax
sahf
mov eax, dword [esp + 0x78]
fstp st(0)
fstp st(0)
jbe 0x416437
fld qword [esp + 0x70]
fld st(0)
fstp qword [esp + 0x8c]
fstp st(0)
jmp 0x416437
mov eax, dword [0x8c4590]
mov dword [esp + 0x6c], eax
mov ebx, eax
mul ecx
mov ebp, dword [0x8c4594]
mov dword [esp + 0x68], ebp
mov dword [esp], eax
mov esi, ecx
sar ecx, 0x1f
imul ecx, ebx
imul esi, ebp
add edx, esi
add ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
call fcn.0044b890
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
add ecx, edx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x68]
adc eax, edx
jmp 0x416408
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
mov eax, dword [0x8c2fec]
mov dword [esp + 0x64], eax
mov ecx, dword [0x8c2fe8]
mov dword [esp + 0x60], ecx
mov edx, dword [0x8c4594]
mov dword [esp + 0x5c], edx
mov ebx, dword [0x8c4590]
mov dword [esp + 0x58], ebx
mov ebp, dword [0x8c4584]
mov dword [esp + 0x54], ebp
mov esi, dword [0x8c4580]
mov dword [esp + 0x50], esi
mov edi, dword [0x8aeaa4]
mov dword [esp + 0x4c], edi
mov edi, dword [0x8aeaa0]
mov dword [esp + 0x48], edi
call fcn.0042bd10
lea eax, [0x6a5605]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042c6e0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0042c3f0
lea eax, [0x6a3c2e]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042c6e0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.0042c3f0
lea eax, [0x6a319f]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042c6e0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0042c3f0
lea eax, [0x6a512c]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042c6e0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0042c3f0
lea eax, [0x6a40b3]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042c6e0
fld qword [esp + 0x8c]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042bfd0
lea eax, [0x6a36ac]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0042c6e0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.0042c3f0
call fcn.0042bf30
call fcn.0042bd80
lea eax, [0x6a68a0]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042aee0
nop
call fcn.0044f4e0
jmp fcn.004163d0