Function at 0x415f40
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 0x41656f
sub esp, 0x88
mov ecx, dword [0x823c04]
test ecx, ecx
jge 0x41639a
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 0x416332
fldz
fld st(0)
fstp qword [esp + 0x8c]
fstp st(0)
fld qword [esp + 0x8c]
fld st(0)
fstp qword [0x827270]
mov edx, dword [0x823c04]
test edx, edx
fstp st(0)
jge 0x4161bd
mov edx, 0xffffffff
mov ebx, 0xffffffff
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [0x827278], edx
mov dword [0x82727c], ebx
mov dword [0x825ce8], ecx
mov dword [0x825cec], eax
movzx eax, byte [0x81bae8]
test al, al
jne 0x4161ab
mov eax, dword [0x823c08]
test eax, eax
jne 0x416190
mov eax, dword [0x815690]
test eax, eax
je 0x41602f
fldz
fld st(0)
fstp qword [0x8156f0]
fstp st(0)
call fcn.0041d6d0
add esp, 0x88
ret
lea eax, [0x827280]
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 0x416185
xor ecx, ecx
mov edx, 0x2000
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
lea eax, [0x8156d8]
mov dword [esp], eax
call fcn.00402110
mov eax, dword [esp + 4]
mov ecx, dword [0x8156d0]
sub ecx, eax
mov edx, dword [esp + 8]
mov ebx, dword [0x8156d4]
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 0x4160fc
fldz
fld st(0)
fstp qword [0x8156f0]
fstp st(0)
jmp 0x416023
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.0044abc0
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.0044abc0
fld qword [esp + 8]
fld qword [esp + 0x80]
fld st(1)
fdivp st(1)
fld st(0)
fstp qword [0x8156f0]
mov eax, dword [esp + 0x30]
mov dword [0x8156e8], eax
mov eax, dword [esp + 0x34]
mov dword [0x8156ec], eax
lea eax, [0x8156e0]
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 0x416023
mov ebx, ecx
mov ecx, edx
mov edx, ebx
jmp 0x41609a
lea eax, [0x8242a0]
mov dword [esp], eax
call fcn.004152b0
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x41600d
call fcn.00445160
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x415fff
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov eax, dword [0x827294]
mov ecx, dword [0x827290]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044acb0
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.0044ab70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [0x7d81f4]
mov ebx, dword [0x7d81f0]
mov ebp, dword [0x815690]
test ebp, ebp
je 0x4162c6
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 0x4162ba
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 0x4163f6
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 0x4162ae
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 0x415fd0
mov eax, ebx
mov ecx, edx
mov ebx, esi
mov edx, dword [esp + 0x44]
jmp 0x41629d
mov ebp, eax
mov eax, ebx
mov ebx, ecx
mov ecx, edx
mov edx, ebp
jmp 0x41624b
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebx
lea eax, [0x827280]
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 0x41632c
mov ebx, eax
mov edx, ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
jmp 0x416224
mov eax, esi
mov ecx, edx
jmp 0x41631b
mov edx, dword [0x823c04]
test edx, edx
jl 0x415fa7
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
fld qword [0x699618]
fld st(0)
fmulp st(2)
fld qword [0x699650]
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 0x415fa7
fld qword [esp + 0x70]
fld st(0)
fstp qword [esp + 0x8c]
fstp st(0)
jmp 0x415fa7
mov eax, dword [0x827290]
mov dword [esp + 0x6c], eax
mov ebx, eax
mul ecx
mov ebp, dword [0x827294]
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.0044ae50
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 0x415f78
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
mov eax, dword [0x825cec]
mov dword [esp + 0x64], eax
mov ecx, dword [0x825ce8]
mov dword [esp + 0x60], ecx
mov edx, dword [0x827294]
mov dword [esp + 0x5c], edx
mov ebx, dword [0x827290]
mov dword [esp + 0x58], ebx
mov ebp, dword [0x827284]
mov dword [esp + 0x54], ebp
mov esi, dword [0x827280]
mov dword [esp + 0x50], esi
mov edi, dword [0x8117a4]
mov dword [esp + 0x4c], edi
mov edi, dword [0x8117a0]
mov dword [esp + 0x48], edi
call fcn.0042b720
lea eax, [0x64a53a]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042c0f0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0042be00
lea eax, [0x648ce6]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042c0f0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.0042be00
lea eax, [0x6482c8]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042c0f0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0042be00
lea eax, [0x64a10b]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042c0f0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0042be00
lea eax, [0x649144]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042c0f0
fld qword [esp + 0x8c]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042b9e0
lea eax, [0x648788]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0042c0f0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.0042be00
call fcn.0042b940
call fcn.0042b790
lea eax, [0x64b6ab]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042a8f0
nop
call fcn.0044eaa0
jmp fcn.00415f40