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

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [esp + 0x60]
mov ebp, 0x3f800000
mov dword [esi + 0x54], eax
push edi
lea eax, [ecx + 8]
mov ecx, esi
mov dword [esp + 0x68], eax
mov dword [esi + 0x38], 0x15
fild dword [esp + 0x68]
mov byte [esi + 0x3c], 0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x50], ebp
mov dword [esi + 0x44], eax
fstp dword [esi + 0x4c]
call fcn.0041b060
mov byte [esi + 0x9c], bl
mov dword [esp + 0x68], ebx
xor edi, edi
mov edx, dword [esi + 0x58]
mov dword [edx + edi + 0x90], 0x3f000000
mov eax, dword [esi + 0x58]
mov dword [eax + edi + 0x98], ebx
mov ecx, dword [esi + 0x58]
mov dword [ecx + edi + 0x94], ebx
mov edx, dword [esi + 0x58]
mov dword [edx + edi + 0xa0], ebx
mov eax, dword [esi + 0x58]
mov dword [eax + edi + 0x9c], ebp
mov ecx, dword [esi + 0x58]
add ecx, edi
call fcn.0044d210
mov ecx, dword [esi + 0x58]
fild dword [esp + 0x68]
mov edx, dword [ecx + edi + 0x90]
lea eax, [ecx + edi]
fst dword [esp + 0x1c]
mov dword [eax + 0x30], edx
mov eax, dword [esi + 0x58]
mov dword [eax + edi + 0x34], ebx
mov ecx, dword [esi + 0x58]
fstp dword [ecx + edi + 0x38]
mov eax, dword [esi + 0x5c]
mov ecx, edi
add ecx, eax
call fcn.0044d210
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
fld dword [esp + 0x1c]
mov ecx, dword [edx + edi + 0x90]
mov dword [edi + eax + 0x30], ecx
mov edx, dword [esi + 0x5c]
mov dword [edi + edx + 0x34], 0x3efae148
mov eax, dword [esi + 0x5c]
mov edx, dword [esp + 0x68]
fstp dword [edi + eax + 0x38]
add edi, 0xa8
inc edx
cmp edi, 0x1f8
mov dword [esp + 0x68], edx
jl 0x41edb0
mov ecx, dword [esp + 0x64]
mov eax, 0xfffffffd
lea ebp, [ecx + 3]
mov dword [esp + 0x68], ebp
lea edi, [ebp*8]
sub edi, ebp
lea edi, [edi + edi*2]
shl edi, 3
sub eax, ecx
mov dword [esp + 0x1c], eax
mov edx, dword [esi + 0x58]
mov dword [edx + edi + 0x90], 0xbf000000
mov eax, dword [esi + 0x58]
mov dword [eax + edi + 0x98], ebx
mov ecx, dword [esi + 0x58]
mov dword [ecx + edi + 0x94], ebx
mov edx, dword [esi + 0x58]
mov dword [edx + edi + 0xa0], ebx
mov eax, dword [esi + 0x58]
mov dword [eax + edi + 0x9c], 0x3f800000
mov ecx, dword [esi + 0x58]
add ecx, edi
call fcn.0044d210
mov ecx, dword [esi + 0x58]
fild dword [esp + 0x68]
mov edx, dword [ecx + edi + 0x90]
lea eax, [ecx + edi]
fst dword [esp + 0x68]
mov dword [eax + 0x30], edx
mov eax, dword [esi + 0x58]
mov dword [eax + edi + 0x34], ebx
mov ecx, dword [esi + 0x58]
fstp dword [ecx + edi + 0x38]
mov eax, dword [esi + 0x5c]
mov ecx, edi
add ecx, eax
call fcn.0044d210
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
fld dword [esp + 0x68]
mov ecx, dword [edx + edi + 0x90]
mov dword [edi + eax + 0x30], ecx
mov edx, dword [esi + 0x5c]
mov ecx, dword [esp + 0x1c]
mov dword [edi + edx + 0x34], 0x3efae148
mov eax, dword [esi + 0x5c]
fstp dword [edi + eax + 0x38]
add edi, 0xa8
inc ebp
add ecx, ebp
mov dword [esp + 0x68], ebp
cmp ecx, 5
jl 0x41ee89
mov eax, dword [esp + 0x64]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x68], ebp
jle 0x41f203
fild dword [esp + 0x64]
mov edi, 0x1f8
fstp dword [esp + 0x1c]
jmp 0x41ef63
xor ebx, ebx
fild dword [esp + 0x68]
push ecx
fmul dword [0x4982a0]
fdiv dword [esp + 0x20]
fst dword [esp + 0x18]
fmul dword [0x498228]
fstp dword [esp]
call fcn.0044c980
fmul dword [0x498228]
mov edx, dword [esi + 0x58]
add esp, 4
fstp dword [edx + edi + 0x90]
mov eax, dword [esi + 0x58]
fld dword [esp + 0x14]
mov dword [eax + edi + 0x98], ebx
mov ecx, dword [esi + 0x58]
fstp dword [ecx + edi + 0x94]
mov edx, dword [esi + 0x58]
mov dword [edx + edi + 0xa0], ebx
mov eax, dword [esi + 0x58]
mov dword [eax + edi + 0x9c], 0x3f800000
mov ecx, dword [esi + 0x58]
add ecx, edi
call fcn.0044d210
mov ecx, dword [esi + 0x58]
add ebp, 3
mov dword [esp + 0x18], ebp
mov edx, dword [ecx + edi + 0x90]
lea eax, [ecx + edi]
fild dword [esp + 0x18]
mov dword [eax + 0x30], edx
mov eax, dword [esi + 0x58]
fst dword [esp + 0x18]
mov dword [eax + edi + 0x34], ebx
mov ecx, dword [esi + 0x58]
fstp dword [ecx + edi + 0x38]
mov edx, dword [esi + 0x5c]
mov ecx, edi
add ecx, edx
call fcn.0044d210
mov ebx, dword [esp + 0x14]
mov ebp, dword [esi + 0x58]
push ebx
call fcn.0044c9d0
fmul dword [0x4983e8]
mov edx, dword [esi + 0x5c]
push ebx
fsubr dword [edi + ebp + 0x90]
fstp dword [edi + edx + 0x30]
call fcn.0044c980
fmul dword [0x4983e8]
mov eax, dword [esi + 0x5c]
add esp, 8
cmp edi, 0x1f8
fstp dword [edi + eax + 0x34]
mov ecx, dword [esi + 0x5c]
fld dword [esp + 0x18]
fstp dword [edi + ecx + 0x38]
jle 0x41f1c8
push ebx
call fcn.0044c980
fstp dword [esp + 0x1c]
push ebx
call fcn.0044c9d0
mov eax, dword [esi + 0x58]
mov edx, dword [esp + 0x20]
fchs
fstp dword [esp + 0x2c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
lea ecx, [eax + edi - 0x98]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], 0
add esp, 8
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov eax, dword [esi + 0x58]
add eax, edi
fld dword [eax + 0x30]
fsub dword [eax - 0x78]
add eax, 0xffffff78
fstp dword [esp + 0x30]
fld dword [eax + 0xbc]
fsub dword [eax + 0x14]
mov ecx, dword [esp + 0x30]
fstp dword [esp + 0x34]
fld dword [eax + 0xc0]
fsub dword [eax + 0x18]
mov edx, dword [esp + 0x34]
mov dword [eax], ecx
mov dword [eax + 4], edx
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x58]
lea ecx, [edx + edi - 0x88]
call fcn.0044cca0
mov eax, dword [esi + 0x58]
add eax, edi
fstp st(0)
lea ecx, [eax - 0x88]
lea edx, [eax - 0x98]
push ecx
push edx
lea ecx, [eax - 0xa8]
call fcn.0044cd40
push ebx
call fcn.0044c980
fstp dword [esp + 0x1c]
push ebx
call fcn.0044c9d0
mov ecx, dword [esi + 0x5c]
mov eax, dword [esp + 0x20]
fchs
fstp dword [esp + 0x44]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
lea edx, [edi + ecx - 0x98]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], 0
add esp, 8
mov dword [edx], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov ecx, dword [esi + 0x5c]
fld dword [edi + ecx + 0x30]
fsub dword [edi + ecx - 0x78]
lea eax, [edi + ecx]
fstp dword [esp + 0x48]
fld dword [eax + 0x34]
fsub dword [eax - 0x74]
fstp dword [esp + 0x4c]
fld dword [eax + 0x38]
fsub dword [eax - 0x70]
fstp dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
add eax, 0xffffff78
mov dword [eax], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [esi + 0x5c]
lea ecx, [edi + eax - 0x88]
call fcn.0044cca0
mov ecx, dword [esi + 0x5c]
fstp st(0)
lea eax, [edi + ecx]
lea edx, [eax - 0x88]
lea ecx, [eax - 0x98]
push edx
push ecx
lea ecx, [eax - 0xa8]
call fcn.0044cd40
jmp 0x41f1e6
mov edx, dword [esi + 0x58]
lea ecx, [edx + edi - 0xa8]
call fcn.0044d250
mov eax, dword [esi + 0x5c]
lea ecx, [edi + eax - 0xa8]
call fcn.0044d250
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
inc ebp
add edi, 0xa8
cmp ebp, eax
mov dword [esp + 0x68], ebp
jl 0x41ef61
xor ebx, ebx
mov ecx, dword [esi + 0x44]
xor ebp, ebp
dec ecx
test ecx, ecx
jle 0x41f2dc
xor edi, edi
mov edx, dword [esi + 0x58]
fld dword [edi + edx + 0xd8]
fsub dword [edi + edx + 0x30]
lea eax, [edi + edx]
add eax, 0x80
fstp dword [esp + 0x48]
fld dword [eax + 0x5c]
fsub dword [eax - 0x4c]
mov ecx, dword [esp + 0x48]
fstp dword [esp + 0x4c]
fld dword [eax + 0x60]
fsub dword [eax - 0x48]
mov edx, dword [esp + 0x4c]
mov dword [eax], ecx
mov dword [eax + 4], edx
fstp dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x58]
lea ecx, [edi + edx + 0x80]
call fcn.0044cca0
mov eax, dword [esi + 0x58]
fstp dword [edi + eax + 0x8c]
mov ecx, dword [esi + 0x5c]
fld dword [edi + ecx + 0xd8]
fsub dword [edi + ecx + 0x30]
lea eax, [edi + ecx]
add eax, 0x80
fstp dword [esp + 0x3c]
fld dword [eax + 0x5c]
fsub dword [eax - 0x4c]
mov edx, dword [esp + 0x3c]
fstp dword [esp + 0x40]
fld dword [eax + 0x60]
fsub dword [eax - 0x48]
mov ecx, dword [esp + 0x40]
mov dword [eax], edx
mov dword [eax + 4], ecx
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x5c]
lea ecx, [edi + eax + 0x80]
call fcn.0044cca0
mov ecx, dword [esi + 0x5c]
inc ebp
fstp dword [edi + ecx + 0x8c]
mov edx, dword [esi + 0x44]
add edi, 0xa8
dec edx
cmp ebp, edx
jl 0x41f213
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x3f800000
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8 - 0x28]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x48], 0
mov dword [edx], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], 0
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov ecx, dword [esi + 0x44]
mov edx, 0x3f800000
lea eax, [ecx*8]
mov dword [esp + 0x50], edx
sub eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*8 - 0x1c], edx
mov ecx, dword [esi + 0x44]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x5c]
lea ecx, [eax + ecx*8 - 0x28]
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov eax, edx
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x44]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x5c]
mov dword [eax + ecx*8 - 0x1c], edx
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x44]
inc ecx
inc edx
imul ecx, edx
push ecx
mov ecx, dword [esi + 0x24]
call fcn.0042f710
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x24]
imul eax, dword [esi + 0x44]
shl eax, 1
push eax
call fcn.0042f8c0
mov eax, dword [esi + 0x24]
xor edx, edx
mov ebp, dword [eax + 0x38]
mov ecx, dword [eax + 0x5c]
mov eax, dword [esi + 0x44]
mov dword [esp + 0x1c], ebp
cmp eax, ebx
mov dword [esp + 0x20], ecx
jl 0x41f4f9
mov ecx, dword [esi + 0x54]
xor edi, edi
test ecx, ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ecx
jl 0x41f4e5
fild dword [esp + 0x64]
fild dword [esp + 0x68]
mov eax, dword [esi + 0x44]
cmp edx, eax
mov eax, dword [esi + 0x58]
fmul dword [0x498228]
fsubp st(1)
je 0x41f453
add eax, ebx
fld st(0)
fmul dword [eax]
fstp dword [esp + 0x30]
fld st(0)
fmul dword [eax + 4]
fstp dword [esp + 0x34]
fmul dword [eax + 8]
fld dword [esp + 0x30]
fadd dword [eax + 0x30]
fstp dword [esp + 0x48]
fld dword [esp + 0x34]
fadd dword [eax + 0x34]
fstp dword [esp + 0x4c]
fadd dword [eax + 0x38]
lea eax, [ecx + 1]
imul eax, edx
fstp dword [esp + 0x50]
add eax, edi
lea ecx, [eax + eax*2]
lea eax, [ebp + ecx*4]
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
jmp 0x41f4ce
add eax, ebx
fld st(0)
fmul dword [eax - 0xa8]
mov ebp, dword [eax - 0x74]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x1c]
fstp dword [esp + 0x24]
fld st(0)
fmul dword [eax - 0xa4]
fstp dword [esp + 0x28]
fmul dword [eax - 0xa0]
fld dword [eax - 0x78]
fld dword [eax - 0x70]
fadd dword [0x498220]
lea eax, [ecx + 1]
imul eax, edx
fstp dword [esp + 0x5c]
fadd dword [esp + 0x24]
fstp dword [esp + 0x3c]
fld dword [esp + 0x58]
fadd dword [esp + 0x28]
add eax, edi
lea ecx, [eax + eax*2]
fstp dword [esp + 0x40]
fld dword [esp + 0x5c]
fadd st(1)
lea eax, [ebp + ecx*4]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
fstp dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
fstp st(0)
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x54]
inc edi
mov dword [esp + 0x68], ecx
cmp edi, ecx
mov dword [esp + 0x64], edi
jle 0x41f3e4
mov eax, dword [esi + 0x44]
inc edx
add ebx, 0xa8
cmp edx, eax
jle 0x41f3cf
xor ebx, ebx
mov eax, dword [esi + 0x44]
test eax, eax
jle 0x41f704
mov eax, dword [esi + 0x54]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x64], ebp
jle 0x41f6f8
mov eax, ebx
and eax, 0x80000007
jns 0x41f523
dec eax
or eax, 0xfffffff8
inc eax
mov dword [esp + 0x68], eax
inc eax
fild dword [esp + 0x68]
mov dword [esp + 0x1c], eax
fmul dword [0x498428]
fstp dword [esp + 0x68]
fild dword [esp + 0x1c]
fmul dword [0x498428]
fstp dword [esp + 0x14]
fild dword [esp + 0x64]
lea edx, [ebp + 1]
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
fmul dword [0x498428]
fstp dword [esp + 0x64]
fild dword [esp + 0x1c]
fmul dword [0x498428]
fstp dword [esp + 0x10]
jmp 0x41f577
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x54]
imul eax, ebx
add eax, ebp
lea eax, [ecx + eax*2]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x20]
shl edx, 4
test ecx, ecx
lea edi, [edx + eax]
mov word [edi], 0
jne 0x41f63c
mov cx, word [esi + 0x54]
push 0
inc cx
push 0
imul ecx, ebx
add ecx, ebp
mov word [edi + 2], cx
mov dx, word [esi + 0x54]
inc dx
imul edx, ebx
lea eax, [edx + ebp + 1]
mov word [edi + 4], ax
mov cx, word [esi + 0x54]
lea eax, [ebx + 1]
inc cx
imul ecx, eax
lea edx, [ecx + ebp + 1]
mov word [edi + 6], dx
mov cx, word [esi + 0x54]
inc cx
mov edx, ebp
imul ecx, eax
xor edx, ebx
add ecx, ebp
test dl, 1
mov word [edi + 8], cx
jne 0x41f635
mov eax, dword [esp + 0x78]
push eax
mov ecx, 0x4ba7b0
call fcn.0044e810
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov eax, ecx
mov dword [edi + 0x18], edx
mov ecx, edx
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], edx
mov ecx, edx
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
jmp 0x41f6d3
mov ecx, dword [esp + 0x78]
push ecx
jmp 0x41f5f1
mov dx, word [esi + 0x54]
push 0
inc dx
push 0
imul edx, ebx
lea eax, [edx + ebp + 1]
mov word [edi + 2], ax
mov cx, word [esi + 0x54]
inc cx
lea eax, [ebx + 1]
imul ecx, ebx
add ecx, ebp
mov word [edi + 4], cx
mov dx, word [esi + 0x54]
inc dx
imul edx, eax
add edx, ebp
mov word [edi + 6], dx
mov cx, word [esi + 0x54]
inc cx
imul ecx, eax
mov eax, ebp
xor eax, ebx
lea edx, [ecx + ebp + 1]
test al, 1
mov word [edi + 8], dx
jne 0x41f715
mov ecx, dword [esp + 0x7c]
push ecx
mov ecx, 0x4ba7b0
call fcn.0044e810
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x64]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
mov edx, eax
mov dword [edi + 0x18], ecx
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x1c], edx
mov edx, dword [esp + 0x10]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
mov eax, ecx
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x41f573
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x54]
cmp ebp, eax
mov dword [esp + 0x64], ebp
jl 0x41f548
mov eax, dword [esi + 0x44]
inc ebx
cmp ebx, eax
jl 0x41f504
mov ecx, esi
call fcn.0042c5c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18
mov edx, dword [esp + 0x7c]
push edx
jmp 0x41f694