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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x43f828
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x44dd70]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov edi, ecx
push 0x405980
push 0x405a70
push 4
push 0xc
lea eax, [esp + 0x74]
push eax
call fcn.0043ceb8
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x110], 0
call fcn.00409e70
fld dword [esp + 0x64]
fld dword [esp + 0x68]
lea edx, [esp + 0x94]
fst qword [esp + 0x94]
fld dword [esp + 0x6c]
fld dword [esp + 0x70]
fld dword [esp + 0x74]
fst qword [esp + 0x2c]
fld dword [esp + 0x78]
fstp qword [esp + 0x3c]
fld dword [esp + 0x7c]
fstp qword [esp + 0x34]
fld dword [esp + 0x80]
fst qword [esp + 0x9c]
fld dword [esp + 0x84]
fstp qword [esp + 0x44]
fxch st(4)
fcom st(1)
fnstsw ax
test ah, 0x41
jnp 0x4122ad
lea edx, [esp + 0x2c]
fxch st(4)
fcom qword [edx]
fnstsw ax
test ah, 1
je 0x4122bf
lea edx, [esp + 0x9c]
fld qword [edi + 0x68]
lea ecx, [edi + 0x68]
fcomp qword [edx]
fnstsw ax
test ah, 1
je 0x4122d0
mov ecx, edx
fld qword [ecx]
lea edx, [esp + 0x2c]
fst qword [esp + 0xac]
fxch st(5)
fcom st(2)
fnstsw ax
test ah, 0x41
jnp 0x4122ef
lea edx, [esp + 0x94]
fxch st(1)
fcom qword [edx]
fnstsw ax
test ah, 1
jne 0x412301
lea edx, [esp + 0x9c]
fld qword [edi + 0x70]
lea ecx, [edi + 0x70]
fcomp qword [edx]
fnstsw ax
test ah, 1
jne 0x412312
mov ecx, edx
fld qword [ecx]
fst qword [esp + 0x2c]
fcomp st(6)
fnstsw ax
fstp st(5)
test ah, 0x41
jp 0x412342
fstp st(0)
fstp st(0)
fstp st(2)
fstp st(2)
fstp st(1)
fstp st(0)
push 0x405980
push 4
push 0xc
lea edx, [esp + 0x70]
push edx
jmp 0x41278b
fld qword [esp + 0x44]
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xa8]
push ecx
sub esp, 0x48
fstp qword [esp + 0x40]
lea esi, [esp + 0x104]
fxch st(4)
fstp qword [esp + 0x38]
fld qword [esp + 0x84]
fstp qword [esp + 0x30]
fld qword [esp + 0x8c]
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.00411340
add esp, 0x50
test eax, eax
je 0x41232f
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebp + 0x14]
fld dword [eax + 8]
sub esp, 0x18
fstp qword [esp + 0x10]
mov ecx, 0x44b180
fld dword [eax + 4]
fstp qword [esp + 8]
fld dword [eax]
fstp qword [esp]
call fcn.00409480
fld dword [edi + 0x28]
fsubr qword [esp + 0xac]
fdiv dword [edi + 0x20]
call fcn.0043cdf0
fld dword [edi + 0x28]
fsubr qword [esp + 0x2c]
mov ebx, eax
inc ebx
mov dword [esp + 0x44], ebx
fdiv dword [edi + 0x20]
call fcn.0043cdf0
cmp ebx, eax
mov dword [esp + 0x94], eax
jg 0x41277d
fld dword [esp + 0x80]
fld dword [esp + 0x74]
fld dword [esp + 0x68]
fld dword [edi + 0x20]
xor edx, edx
fimul dword [esp + 0x44]
fadd dword [edi + 0x28]
fxch st(1)
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x412433
fld dword [esp + 0x64]
fld dword [esp + 0x70]
fld st(4)
jmp 0x412441
fld dword [esp + 0x70]
fld st(3)
fld dword [esp + 0x64]
fxch st(1)
fxch st(3)
fxch st(3)
fcom st(4)
fnstsw ax
test ah, 5
jp 0x412478
fxch st(4)
fcom st(3)
fnstsw ax
test ah, 5
jp 0x41247c
fxch st(1)
mov edx, 1
fsub st(2)
fxch st(3)
fsub st(4)
fdivp st(3)
fld st(0)
fsubrp st(4)
fxch st(2)
fmulp st(3)
faddp st(2)
fxch st(1)
fstp qword [esp + 0x4c]
jmp 0x412484
fstp st(0)
jmp 0x41247e
fstp st(4)
fstp st(1)
fstp st(1)
fstp st(0)
fxch st(1)
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x41249d
fld dword [esp + 0x70]
fld st(1)
fld dword [esp + 0x7c]
fld st(5)
jmp 0x4124a9
fld dword [esp + 0x7c]
fld st(3)
fld dword [esp + 0x70]
fld st(3)
fxch st(2)
fcom st(5)
fnstsw ax
test ah, 5
jp 0x4124dc
fxch st(5)
fcom st(2)
fnstsw ax
test ah, 5
jp 0x4124e0
fxch st(1)
inc edx
fsub st(3)
fxch st(2)
fsub st(5)
fdivp st(2)
fld st(0)
fsubrp st(5)
fxch st(1)
fmulp st(4)
fxch st(3)
faddp st(1)
fstp qword [esp + edx*8 + 0x44]
jmp 0x4124e8
fstp st(0)
jmp 0x4124e2
fstp st(5)
fstp st(2)
fstp st(0)
fstp st(0)
fld dword [esp + 0x8c]
fcom st(3)
fnstsw ax
test ah, 1
jne 0x412507
fld dword [esp + 0x7c]
fld st(4)
fld dword [esp + 0x88]
jmp 0x412518
fld dword [esp + 0x88]
fld dword [esp + 0x7c]
fld st(5)
fxch st(3)
fxch st(1)
fxch st(1)
fcom st(5)
fnstsw ax
test ah, 5
jp 0x41254b
fxch st(5)
fcom st(3)
fnstsw ax
test ah, 5
jp 0x41254f
fxch st(1)
inc edx
fsub st(2)
fxch st(3)
fsub st(5)
fdivp st(3)
fld st(0)
fsubrp st(5)
fxch st(2)
fmulp st(4)
faddp st(3)
fxch st(2)
fstp qword [esp + edx*8 + 0x44]
jmp 0x412557
fstp st(0)
jmp 0x412551
fstp st(5)
fstp st(1)
fstp st(1)
fstp st(0)
cmp edx, 2
jl 0x41275f
fld qword [esp + 0x4c]
mov ecx, 1
cmp edx, ecx
fld st(0)
fst qword [esp + 0x34]
fxch st(1)
fst qword [esp + 0x3c]
jle 0x412676
lea eax, [edx - 1]
cmp eax, 4
jl 0x41263b
lea esi, [edx - 3]
jmp 0x412590
fxch st(1)
fcom qword [esp + ecx*8 + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x4125a1
fstp st(0)
fld qword [esp + ecx*8 + 0x4c]
fxch st(1)
fcom qword [esp + ecx*8 + 0x4c]
fnstsw ax
test ah, 5
jp 0x4125b4
fstp st(0)
fld qword [esp + ecx*8 + 0x4c]
fxch st(1)
fcom qword [esp + ecx*8 + 0x54]
fnstsw ax
test ah, 0x41
jne 0x4125c7
fstp st(0)
fld qword [esp + ecx*8 + 0x54]
fxch st(1)
fcom qword [esp + ecx*8 + 0x54]
fnstsw ax
test ah, 5
jp 0x4125da
fstp st(0)
fld qword [esp + ecx*8 + 0x54]
fxch st(1)
fcom qword [esp + ecx*8 + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x4125ed
fstp st(0)
fld qword [esp + ecx*8 + 0x5c]
fxch st(1)
fcom qword [esp + ecx*8 + 0x5c]
fnstsw ax
test ah, 5
jp 0x412600
fstp st(0)
fld qword [esp + ecx*8 + 0x5c]
fxch st(1)
fcom qword [esp + ecx*8 + 0x64]
fnstsw ax
test ah, 0x41
jne 0x412613
fstp st(0)
fld qword [esp + ecx*8 + 0x64]
fxch st(1)
fcom qword [esp + ecx*8 + 0x64]
fnstsw ax
test ah, 5
jp 0x412626
fstp st(0)
fld qword [esp + ecx*8 + 0x64]
add ecx, 4
cmp ecx, esi
jl 0x41258e
fst qword [esp + 0x34]
fxch st(1)
fst qword [esp + 0x3c]
cmp ecx, edx
jge 0x412676
jmp 0x412643
fxch st(1)
fcom qword [esp + ecx*8 + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x412654
fstp st(0)
fld qword [esp + ecx*8 + 0x4c]
fxch st(1)
fcom qword [esp + ecx*8 + 0x4c]
fnstsw ax
test ah, 5
jp 0x412667
fstp st(0)
fld qword [esp + ecx*8 + 0x4c]
inc ecx
cmp ecx, edx
jl 0x412641
fst qword [esp + 0x34]
fxch st(1)
fst qword [esp + 0x3c]
fcomp qword [edi + 0x58]
lea ecx, [edi + 0x58]
fnstsw ax
test ah, 0x41
mov eax, ecx
jnp 0x412689
lea eax, [esp + 0x3c]
fld qword [eax]
lea ecx, [edi + 0x60]
fld qword [ecx]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x41269f
lea ecx, [esp + 0x34]
fld qword [ecx]
fcom st(1)
fnstsw ax
test ah, 0x41
jnp 0x41275b
fld dword [edi + 0x24]
fsubp st(2)
fld dword [edi + 0x20]
fdivp st(2)
fxch st(1)
call fcn.0043cdf0
fsub dword [edi + 0x24]
mov esi, eax
inc esi
fdiv dword [edi + 0x20]
mov dword [esp + 0x34], esi
call fcn.0043cdf0
fxch st(1)
fmul qword [esp + 0xa4]
mov ebx, eax
cmp esi, ebx
fadd qword [esp + 0xbc]
fstp qword [esp + 0x3c]
jg 0x412755
fstp st(0)
fstp st(0)
fld dword [edi + 0x20]
mov ecx, dword [esp + 0x9c]
fimul dword [esp + 0x34]
mov dword [esp + 0x30], ecx
fadd dword [edi + 0x24]
fmul qword [esp + 0xb4]
fadd qword [esp + 0x3c]
fstp dword [esp + 0x2c]
mov eax, dword [edi + 0x14]
imul eax, dword [esp + 0x44]
mov ecx, dword [edi + 0x50]
lea edx, [esp + 0x2c]
add eax, esi
push edx
push eax
mov byte [esp + 0x108], 1
call fcn.00411620
inc esi
cmp esi, ebx
fldz
fstp dword [esp + 0x2c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], esi
jle 0x4126ef
fld dword [esp + 0x80]
fld dword [esp + 0x74]
mov ebx, dword [esp + 0x44]
jmp 0x412761
fstp st(1)
fstp st(0)
fstp st(1)
fld dword [esp + 0x68]
inc ebx
cmp ebx, dword [esp + 0x94]
mov dword [esp + 0x44], ebx
jle 0x412410
fstp st(0)
fstp st(0)
fstp st(0)
push 0x405980
push 4
push 0xc
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x110], 0xffffffff
call fcn.0043cf82
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10