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

Disassembly:
sub esp, 0x2fc
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ebp
mov eax, dword [0x3442a40]
mov dword [esp + 0x268], eax
mov ecx, 1
mov dword [0x1af2940], ecx
and eax, eax
jle 0x412825
mov ebx, dword [esp + 0x300]
mov edx, dword [0x3442a44]
mov eax, 1
mov ebp, eax
mov ecx, dword [esp + 0x268]
mov esi, ecx
mov edi, edx
add edi, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
fld qword [ebx + ebp*8 - 8]
fstp qword [esp]
call fcn.00441ff0
fld qword [0x34429d8]
fsub qword [0x34429d0]
fmulp st(1)
fadd qword [0x34429d8]
fadd qword [0x34429d0]
fmul qword [0x451050]
fst qword [ebp*8 + 0x211ceb8]
fstp qword [edi*8 + 0x211d810]
inc ebp
inc edi
dec esi
jg 0x4127e0
mov dword [0x1af2940], ebp
mov edx, 1
mov dword [0x1af2940], edx
mov esi, dword [0x3442a44]
mov edi, esi
dec edi
jle 0x412868
mov eax, 1
mov ebp, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
fld qword [ebp*8 + 0x344adf0]
fstp qword [ebp*8 + 0x211d818]
inc ebp
dec edi
jg 0x412850
mov dword [0x1af2940], ebp
mov ebp, esi
add ebp, dword [esp + 0x268]
mov dword [0x1af2940], ebp
mov ecx, dword [0x3442a34]
add ecx, ecx
sub ecx, ebp
mov edi, ecx
inc edi
jle 0x4128a8
nop
nop
nop
nop
nop
nop
fld qword [ebp*8 + 0x344adf0]
fstp qword [ebp*8 + 0x211d818]
inc ebp
dec edi
jg 0x412890
mov dword [0x1af2940], ebp
lea edx, [0x3442a3c]
mov dword [esp], edx
lea eax, [0x3442a30]
mov dword [esp + 4], eax
lea ecx, [0x211d820]
mov dword [esp + 8], ecx
lea esi, [0x3449238]
mov dword [esp + 0xc], esi
lea edx, [0x344b758]
mov dword [esp + 0x10], edx
lea eax, [0x344d318]
mov dword [esp + 0x14], eax
lea ecx, [0x344eed8]
mov dword [esp + 0x18], ecx
lea edx, [0x1af6100]
mov dword [esp + 0x1c], edx
lea eax, [0x1d03040]
mov dword [esp + 0x20], eax
lea ecx, [0x1f11b40]
mov dword [esp + 0x24], ecx
call fcn.0040bd00
mov edx, dword [0x3442b88]
fld qword [edx*8 + 0x3449230]
fsub qword [0x3445a80]
fmul qword [0x3442b70]
fst qword [0x1af2948]
fld qword [0x3445ab0]
fdiv qword [0x451a30]
fmul st(1)
fadd qword [0x3445aa8]
fmul st(1)
fmul qword [0x451b38]
fadd qword [0x3445aa0]
fmul st(1)
fdiv qword [0x451a38]
fadd qword [0x3445a98]
fmul st(1)
fmul qword [0x451b58]
fadd qword [0x3445a90]
fmulp st(1)
fld qword [edx*8 + 0x344d310]
fsubrp st(1)
fstp qword [0x3445a88]
mov eax, 1
mov dword [0x1af2940], eax
mov ecx, dword [0x3442a30]
mov dword [esp + 0x26c], ecx
and ecx, ecx
jle 0x412a0e
fld qword [0x3445a80]
mov edx, 1
mov ebp, edx
mov eax, dword [esp + 0x26c]
mov edi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
fld qword [ebp*8 + 0x3449230]
fucom st(1)
fxch st(1)
fnstsw ax
sahf
ja 0x412a00
fld qword [ebp*8 + 0x344d318]
fsub qword [ebp*8 + 0x344d310]
fld qword [ebp*8 + 0x3449238]
fsub st(3)
fdivp st(1)
fld st(1)
fsub st(3)
fmulp st(1)
fadd qword [ebp*8 + 0x344d310]
fstp qword [0x3445a88]
fstp st(1)
inc ebp
dec edi
jg 0x4129c0
fstp st(0)
mov dword [0x1af2940], ebp
mov ecx, 1
mov dword [0x1af2950], ecx
mov edx, dword [esp + 0x26c]
and edx, edx
jle 0x412b4a
fld qword [0x3445a80]
fstp qword [esp + 0x270]
fld qword [0x3442b70]
fstp qword [esp + 0x278]
fld qword [0x3445a88]
fstp qword [esp + 0x280]
fld qword [0x3445ab0]
fdiv qword [0x451a30]
fstp qword [esp + 0x288]
fld qword [0x3445aa8]
fld qword [0x451b38]
fld qword [0x3445aa0]
fld qword [0x451a38]
fld qword [0x3445a98]
fld qword [0x451b58]
fld qword [0x3445a90]
fstp qword [esp + 0x290]
fld st(4)
fmul qword [0x3445ab0]
fstp qword [esp + 0x298]
mov eax, 1
mov ebp, eax
mov ecx, dword [esp + 0x26c]
mov edi, ecx
fxch st(5)
fxch st(1)
fxch st(4)
fxch st(2)
fxch st(3)
fxch st(2)
fxch st(1)
fld qword [ebp*8 + 0x3449230]
fsub qword [esp + 0x270]
fmul qword [esp + 0x278]
fst qword [0x1af2948]
fld st(0)
fmul qword [esp + 0x288]
fadd st(2)
fmul st(1)
fmul st(3)
fadd st(4)
fmul st(1)
fdiv st(5)
fadd st(6)
fmul st(1)
fmul st(7)
fadd qword [esp + 0x290]
fmul st(1)
fadd qword [esp + 0x280]
fstp qword [ebp*8 + 0x3445ab0]
fld st(0)
fmul qword [esp + 0x298]
fadd st(2)
fmul st(1)
fdiv st(5)
fadd st(4)
fmul st(1)
fmul st(7)
fadd st(6)
fmulp st(1)
fadd qword [esp + 0x290]
fstp qword [ebp*8 + 0x3447670]
inc ebp
dec edi
jg 0x412ac0
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
mov dword [0x1af2950], ebp
mov edx, 1
mov dword [0x1af2940], edx
mov eax, dword [esp + 0x26c]
and eax, eax
jle 0x412e0c
mov esi, dword [0x34429a0]
fld qword [0x3442ad0]
fld qword [0x4510e0]
fld qword [0x3442aa8]
mov ebx, dword [0x34429a8]
fld qword [0x3442af0]
fld qword [0x3442ab0]
fld qword [0x3442ab8]
fstp qword [esp + 0x248]
fld qword [0x3442ac0]
fstp qword [esp + 0x250]
mov edx, dword [0x34429a4]
fld qword [0x3442ad8]
fld qword [0x3442a18]
fstp qword [esp + 0x258]
fld qword [0x3442ae0]
fstp qword [esp + 0x2a0]
fld qword [0x3442a20]
fstp qword [esp + 0x2a8]
fld qword [0x3442ae8]
fstp qword [esp + 0x2b0]
fld qword [0x3442a28]
fstp qword [esp + 0x2b8]
mov ecx, 1
mov ebp, ecx
mov eax, dword [esp + 0x26c]
mov edi, eax
fxch st(1)
fxch st(5)
fxch st(3)
fxch st(4)
fxch st(1)
fxch st(3)
fxch st(1)
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp esi, 1
jne 0x412c49
fld qword [ebp*8 + 0x344b750]
fsub st(2)
fucomp st(1)
fnstsw ax
sahf
jb 0x412c49
fst qword [ebp*8 + 0x211e178]
jmp 0x412c8b
cmp esi, 2
jne 0x412c72
fld qword [ebp*8 + 0x344b750]
fsub st(2)
fucomp st(1)
fnstsw ax
sahf
ja 0x412c72
fst qword [ebp*8 + 0x211e178]
jmp 0x412c8b
fld qword [ebp*8 + 0x344b750]
fsub st(2)
fmul qword [ebp*8 + 0x3450a90]
fdiv st(5)
fstp qword [ebp*8 + 0x211e178]
cmp ebx, 1
jne 0x412cb4
fld qword [ebp*8 + 0x344b750]
fsub st(3)
fucomp st(1)
fnstsw ax
sahf
jb 0x412cb4
fst qword [ebp*8 + 0x1af2978]
jmp 0x412cf6
cmp ebx, 2
jne 0x412cdd
fld qword [ebp*8 + 0x344b750]
fsub st(3)
fucomp st(1)
fnstsw ax
sahf
ja 0x412cdd
fst qword [ebp*8 + 0x1af2978]
jmp 0x412cf6
fld qword [ebp*8 + 0x344b750]
fsub st(3)
fmul qword [ebp*8 + 0x3455dd0]
fdiv st(6)
fstp qword [ebp*8 + 0x1af2978]
fld qword [ebp*8 + 0x344d310]
fsub qword [ebp*8 + 0x3445ab0]
fmul qword [ebp*8 + 0x3452650]
fdiv qword [esp + 0x248]
fstp qword [ebp*8 + 0x1f0e3b8]
fld qword [ebp*8 + 0x344eed0]
fsub qword [ebp*8 + 0x3447670]
fmul qword [ebp*8 + 0x3454210]
fdiv qword [esp + 0x250]
fstp qword [ebp*8 + 0x1af4538]
cmp edx, 1
jne 0x412d65
fld qword [ebp*8 + 0x1af60f8]
fsub st(4)
fucomp st(1)
fnstsw ax
sahf
jb 0x412d65
fst qword [ebp*8 + 0x1f0ff78]
jmp 0x412dac
cmp esi, 2
jne 0x412d8e
fld qword [ebp*8 + 0x1af60f8]
fsub st(4)
fucomp st(1)
fnstsw ax
sahf
ja 0x412d8e
fst qword [ebp*8 + 0x1f0ff78]
jmp 0x412dac
fld qword [ebp*8 + 0x1af60f8]
fsub st(4)
fmul qword [ebp*8 + 0x3457990]
fdiv qword [esp + 0x258]
fstp qword [ebp*8 + 0x1f0ff78]
fld qword [ebp*8 + 0x1d03038]
fsub qword [esp + 0x2a0]
fmul qword [ebp*8 + 0x3459550]
fdiv qword [esp + 0x2a8]
fstp qword [ebp*8 + 0x1d01478]
fld qword [ebp*8 + 0x1f11b38]
fsub qword [esp + 0x2b0]
fmul qword [ebp*8 + 0x345b110]
fdiv qword [esp + 0x2b8]
fstp qword [ebp*8 + 0x211fd38]
inc ebp
dec edi
jg 0x412c20
fstp st(1)
fstp st(3)
fstp st(0)
fstp st(2)
fstp st(0)
fstp st(0)
mov dword [0x1af2940], ebp
fld qword [0x4510e0]
fstp qword [esp + 0x240]
fld qword [0x3442b78]
fadd st(0)
fdiv qword [0x3445a78]
fstp qword [0x1af2958]
mov ebp, 1
mov dword [0x1af2940], ebp
mov edi, dword [0x3442a30]
and edi, edi
jle 0x413037
mov esi, dword [0x34429e0]
nop
nop
nop
nop
fld qword [0x1af2958]
fld qword [ebp*8 + 0x3449230]
fucompp
fnstsw ax
sahf
ja 0x412fd5
fld qword [0x451ba0]
fld qword [0x3442aa8]
fucompp
fnstsw ax
sahf
jae 0x412ea4
fld qword [ebp*8 + 0x211e178]
mov ecx, esi
add ecx, ecx
fstp qword [esp]
mov dword [esp + 8], ecx
call fcn.00441f30
fadd qword [esp + 0x240]
fstp qword [esp + 0x240]
fld qword [0x451ba0]
fld qword [0x3442ab8]
fucompp
fnstsw ax
sahf
jae 0x412ee0
fld qword [ebp*8 + 0x1f0e3b8]
mov edx, esi
add edx, edx
fstp qword [esp]
mov dword [esp + 8], edx
call fcn.00441f30
fadd qword [esp + 0x240]
fstp qword [esp + 0x240]
fld qword [0x451ba0]
fld qword [0x3442ac0]
fucompp
fnstsw ax
sahf
jae 0x412f1c
fld qword [ebp*8 + 0x1af4538]
mov eax, esi
add eax, eax
fstp qword [esp]
mov dword [esp + 8], eax
call fcn.00441f30
fadd qword [esp + 0x240]
fstp qword [esp + 0x240]
fld qword [0x451ba0]
fld qword [0x3442a18]
fucompp
fnstsw ax
sahf
jae 0x412f58
fld qword [ebp*8 + 0x1f0ff78]
mov ecx, esi
add ecx, ecx
fstp qword [esp]
mov dword [esp + 8], ecx
call fcn.00441f30
fadd qword [esp + 0x240]
fstp qword [esp + 0x240]
fld qword [0x451ba0]
fld qword [0x3442a20]
fucompp
fnstsw ax
sahf
jae 0x412f94
fld qword [ebp*8 + 0x1d01478]
mov edx, esi
add edx, edx
fstp qword [esp]
mov dword [esp + 8], edx
call fcn.00441f30
fadd qword [esp + 0x240]
fstp qword [esp + 0x240]
fld qword [0x451ba0]
fld qword [0x3442a28]
fucompp
fnstsw ax
sahf
jae 0x413029
fld qword [ebp*8 + 0x211fd38]
mov eax, esi
add eax, eax
fstp qword [esp]
mov dword [esp + 8], eax
call fcn.00441f30
fadd qword [esp + 0x240]
fstp qword [esp + 0x240]
jmp 0x413029
fld qword [0x1af2958]
fld qword [ebp*8 + 0x3449230]
fucompp
fnstsw ax
sahf
jbe 0x413029
fld qword [0x451ba0]
fld qword [0x3442ab0]
fucompp
fnstsw ax
sahf
jae 0x413029
fld qword [ebp*8 + 0x1af2978]
mov ecx, esi
add ecx, ecx
fstp qword [esp]
mov dword [esp + 8], ecx
call fcn.00441f30
fadd qword [esp + 0x240]
fstp qword [esp + 0x240]
inc ebp
dec edi
jg 0x412e50
mov dword [0x1af2940], ebp
fld qword [0x451ba0]
fld qword [0x3442ac8]
fucompp
fnstsw ax
sahf
jae 0x413239
mov edx, 0x378
mov dword [esp + 0x2c0], edx
mov eax, 0x96
mov dword [esp + 0x2c4], eax
lea ecx, [esp + 0x2c0]
mov dword [esp], ecx
lea edx, [esp + 0x2c4]
mov dword [esp + 4], edx
lea eax, [0x3442a3c]
mov dword [esp + 8], eax
lea ecx, [0x3442a38]
mov dword [esp + 0xc], ecx
lea edx, [0x3442a30]
mov dword [esp + 0x10], edx
lea eax, [0x211d820]
mov dword [esp + 0x14], eax
lea ecx, [0x1af2960]
mov dword [esp + 0x18], ecx
lea edx, [0x3449238]
mov dword [esp + 0x1c], edx
lea eax, [0x344b758]
mov dword [esp + 0x20], eax
lea ecx, [0x344d318]
mov dword [esp + 0x24], ecx
lea edx, [0x344eed8]
mov dword [esp + 0x28], edx
lea eax, [0x1af7cc0]
mov dword [esp + 0x2c], eax
lea ecx, [0x1f13700]
mov dword [esp + 0x30], ecx
lea edx, [0x1d04c00]
mov dword [esp + 0x34], edx
lea eax, [0x1f0da60]
mov dword [esp + 0x38], eax
lea ecx, [0x2122bc0]
mov dword [esp + 0x3c], ecx
lea edx, [0x211c560]
mov dword [esp + 0x40], edx
lea eax, [0x211bc00]
mov dword [esp + 0x44], eax
lea ecx, [0x1d00b20]
mov dword [esp + 0x48], ecx
lea edx, [0x2122260]
mov dword [esp + 0x4c], edx
lea eax, [0x2121900]
mov dword [esp + 0x50], eax
lea ecx, [0x1f0d100]
mov dword [esp + 0x54], ecx
lea edx, [0x1d001c0]
mov dword [esp + 0x58], edx
call fcn.00411600
mov eax, 1
mov dword [0x1af2940], eax
mov ebp, dword [0x3442a30]
and ebp, ebp
jle 0x413239
mov ecx, dword [0x3442a34]
mov edx, ecx
add edx, edx
mov dword [esp + 0x260], edx
mov eax, ecx
mov dword [esp + 0x264], eax
mov ebx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 1
mov dword [0x1af2950], ecx
mov edx, dword [esp + 0x260]
and edx, edx
jle 0x413225
mov eax, dword [0x1af2940]
mov ecx, dword [esp + 0x264]
add ecx, ecx
mov dword [esp + 0x2ec], ecx
fild dword [esp + 0x2ec]
fld qword [esp + 0x240]
mov edx, 1
mov edi, edx
mov ecx, dword [esp + 0x260]
mov esi, ecx
add eax, 0x378
shl eax, 3
lea edx, [0x1af2940]
mov ebp, edx
add ebp, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
fld qword [ebp + 0x41f1f8]
fmul st(0)
fdiv st(2)
faddp st(1)
inc edi
add ebp, 0x1bc0
dec esi
jg 0x413200
fstp st(1)
fstp qword [esp + 0x240]
mov dword [0x1af2950], edi
mov eax, dword [0x1af2940]
inc eax
mov dword [0x1af2940], eax
dec ebx
jg 0x413190
fld qword [esp + 0x240]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
add esp, 0x2fc
ret