Function at 0x413d70
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 0x4143ec
sub esp, 0x88
fld qword [0x5403f8]
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 0x41420a
fld qword [0x5403f8]
fld st(0)
fstp qword [esp + 0x8c]
fstp st(0)
fld qword [esp + 0x8c]
fld st(0)
fstp qword [0x5e3640]
mov ecx, dword [0x5e0dfc]
test ecx, ecx
fstp st(0)
jge 0x414092
mov eax, 0xffffffff
mov ecx, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [0x5e3648], eax
mov dword [0x5e364c], ecx
mov edx, dword [0x5e0dfc]
test edx, edx
jge 0x413ff5
mov edx, 0xffffffff
mov ebx, 0xffffffff
mov dword [0x5e20c8], edx
mov dword [0x5e20cc], ebx
movzx edx, byte [0x5d8828]
test dl, dl
jne 0x413fe3
mov edx, dword [0x5e0e00]
test edx, edx
jne 0x413fc8
mov edx, dword [0x5d2454]
test edx, edx
je 0x413e63
fld qword [0x5403f8]
fld st(0)
fstp qword [0x5d24c0]
fstp st(0)
add esp, 0x88
ret
lea eax, [0x5e3650]
mov dword [esp], eax
call fcn.004015b0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x40]
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 + 0x44]
sbb edx, ebp
add ebx, 0xfff00000
adc edx, 0xffffffff
test edx, edx
sete bl
cmp ecx, 0x2000
xchg esi, ebx
setb bl
xchg esi, ebx
and esi, ebx
test edx, edx
setl bl
or ebx, esi
test bl, bl
je 0x413fbd
xor ecx, ecx
mov edx, 0x2000
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
lea eax, [0x5d24a8]
mov dword [esp], eax
call fcn.004015b0
mov eax, dword [esp + 4]
mov ecx, dword [0x5d24a0]
sub ecx, eax
mov edx, dword [esp + 8]
mov ebx, dword [0x5d24a4]
sbb ebx, edx
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
test ecx, ecx
xchg esi, ebx
setbe bl
xchg esi, ebx
and esi, ebp
test ebx, ebx
xchg ebp, ebx
setl bl
xchg ebp, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x413f34
fld qword [0x5403f8]
fld st(0)
fstp qword [0x5d24c0]
fstp st(0)
jmp 0x413e5c
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.00446b70
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.00446b70
fld qword [esp + 8]
fld qword [esp + 0x80]
fld st(1)
fdivp st(1)
fld st(0)
fstp qword [0x5d24c0]
mov eax, dword [esp + 0x30]
mov dword [0x5d24b8], eax
mov eax, dword [esp + 0x34]
mov dword [0x5d24bc], eax
lea eax, [0x5d24b0]
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.004015d0
jmp 0x413e5c
mov ebx, ecx
mov ecx, edx
mov edx, ebx
jmp 0x413ecc
lea eax, [0x5e11a0]
mov dword [esp], eax
call fcn.00413150
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
jmp 0x413e42
call fcn.004418a0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
jmp 0x413e34
mov eax, dword [0x5e3660]
mov dword [esp + 0x6c], eax
mov ecx, edx
mov ebx, eax
mul edx
mov ebp, dword [0x5e3664]
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.00446df0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
add ecx, edx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x68]
adc edx, ebx
mov ebx, dword [esp + 0x44]
cmp edx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x40]
cmp ecx, esi
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, ebp
cmp edx, ebx
xchg ebp, ebx
setb bl
xchg ebp, ebx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
je 0x414086
mov eax, esi
mov ecx, ebx
mov edx, esi
jmp 0x413e19
mov eax, esi
mov esi, ecx
mov ebx, edx
mov ecx, dword [esp + 0x44]
jmp 0x41407f
mov eax, dword [0x5e3664]
mov ecx, dword [0x5e3660]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00446c60
fld qword [esp + 8]
fld qword [0x540430]
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.00446b20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [0x5ba194]
mov ebx, dword [0x5ba190]
mov ebp, dword [0x5d2454]
test ebp, ebp
je 0x414158
cmp eax, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, ebx
xchg esi, ebx
setb bl
xchg esi, ebx
and esi, ebp
cmp eax, edx
xchg ebp, ebx
setb bl
xchg ebp, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x41414c
mov eax, ebx
mov ecx, edx
test edx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
setb bl
xchg esi, ebx
and esi, ebp
test edx, edx
xchg ebp, ebx
setl bl
xchg ebp, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x414272
mov eax, ebx
mov ecx, edx
jmp 0x413ded
mov ebp, eax
mov eax, ebx
mov ebx, ecx
mov ecx, edx
mov edx, ebp
jmp 0x41411a
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebx
lea eax, [0x5e3650]
mov dword [esp], eax
call fcn.004015b0
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x68], ecx
mov edx, dword [0x5e0dfc]
mov ebx, edx
shl edx, 0x14
mov dword [esp], edx
mov edx, ebx
sar ebx, 0x1f
shl ebx, 0x14
shr edx, 0xc
or ebx, edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
call fcn.00446df0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
adc edx, ecx
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
sete bl
mov ebp, dword [esp + 0x28]
cmp eax, ebp
xchg esi, ebx
seta bl
xchg esi, ebx
and ebx, esi
cmp edx, ecx
xchg esi, ebx
seta bl
xchg esi, ebx
or ebx, esi
test bl, bl
je 0x414204
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x1c]
jmp 0x4140f1
mov eax, ebp
mov edx, ecx
jmp 0x4141f5
mov ecx, dword [0x5e0dfc]
test ecx, ecx
jl 0x413dc7
mov dword [esp + 0x78], ecx
fild dword [esp + 0x78]
fld qword [0x540428]
fld st(0)
fmulp st(2)
fld qword [0x540460]
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 0x413dc7
fld qword [esp + 0x70]
fld st(0)
fstp qword [esp + 0x8c]
fstp st(0)
jmp 0x413dc7
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
mov eax, dword [0x5e20cc]
mov dword [esp + 0x64], eax
mov ecx, dword [0x5e20c8]
mov dword [esp + 0x60], ecx
mov edx, dword [0x5e3664]
mov dword [esp + 0x5c], edx
mov ebx, dword [0x5e3660]
mov dword [esp + 0x58], ebx
mov ebp, dword [0x5e3654]
mov dword [esp + 0x54], ebp
mov esi, dword [0x5e3650]
mov dword [esp + 0x50], esi
mov edi, dword [0x5ce1f0]
mov dword [esp + 0x4c], edi
mov edi, dword [0x5ce1ec]
mov dword [esp + 0x48], edi
call fcn.00426fa0
lea eax, [0x5276f2]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00427980
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.004276a0
lea eax, [0x526052]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00427980
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.004276a0
lea eax, [0x525795]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00427980
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.004276a0
lea eax, [0x5273a0]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00427980
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.004276a0
lea eax, [0x5263c6]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00427980
fld qword [esp + 0x8c]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.00427260
lea eax, [0x525be6]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00427980
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.004276a0
call fcn.004271c0
call fcn.00427010
lea eax, [0x5286bb]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004267e0
ud2
call fcn.00449fd0
jmp fcn.00413d70