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

Disassembly:
sub esp, 0x48
fld dword [esp + 0x50]
fmul dword [0x49821c]
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
mov dword [ebp + 0x38], 0x10
mov byte [ebp + 0x3c], 0
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x54], eax
call fcn.0048b38c
mov ebx, eax
mov esi, 0x3f800000
mov ecx, ebp
mov dword [esp + 0x10], ebx
lea eax, [ebx + 1]
mov dword [ebp + 0x50], esi
mov dword [esp + 0x5c], eax
mov dword [ebp + 0x44], eax
fild dword [esp + 0x5c]
fstp dword [ebp + 0x4c]
call fcn.0041b060
mov al, byte [esp + 0x68]
mov byte [ebp + 0x9c], 0
test al, al
je 0x42df2f
mov ecx, dword [ebp + 0x58]
mov dword [ecx + 0x90], edi
jmp 0x42df47
fild dword [ebp + 0x54]
mov edx, dword [ebp + 0x58]
fmul dword [0x498228]
fsub dword [0x498210]
fstp dword [edx + 0x90]
mov eax, dword [ebp + 0x58]
mov dword [eax + 0x98], edi
mov ecx, dword [ebp + 0x58]
mov dword [ecx + 0x94], edi
mov edx, dword [ebp + 0x58]
mov dword [edx + 0xa0], edi
mov eax, dword [ebp + 0x58]
mov dword [eax + 0x9c], esi
mov ecx, dword [ebp + 0x58]
call fcn.0044d210
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax + 0x90]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp + 0x58]
mov dword [edx + 0x34], edi
mov eax, dword [ebp + 0x58]
mov dword [eax + 0x38], edi
mov ecx, dword [ebp + 0x5c]
call fcn.0044d210
mov ecx, dword [ebp + 0x58]
mov edx, dword [ebp + 0x5c]
cmp ebx, edi
mov dword [esp + 0x68], edi
mov eax, dword [ecx + 0x90]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp + 0x5c]
mov dword [ecx + 0x34], 0x3efae148
mov edx, dword [ebp + 0x5c]
mov dword [edx + 0x38], edi
jle 0x42e1a9
fild dword [esp + 0x10]
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ebx, 0xa8
fstp dword [esp + 0x18]
jmp 0x42dfe7
xor edi, edi
fild dword [esp + 0x68]
mov eax, dword [ebp + 0x58]
fmul dword [0x4982a0]
mov ecx, dword [eax + 0x90]
mov dword [eax + ebx + 0x90], ecx
mov edx, dword [ebp + 0x58]
fdiv dword [esp + 0x18]
mov dword [edx + ebx + 0x98], edi
mov eax, dword [ebp + 0x58]
mov dword [eax + ebx + 0x94], edi
mov ecx, dword [ebp + 0x58]
mov dword [ecx + ebx + 0xa0], edi
mov edx, dword [ebp + 0x58]
mov dword [edx + ebx + 0x9c], esi
mov ecx, dword [ebp + 0x58]
add ecx, ebx
fstp dword [esp + 0x5c]
call fcn.0044d210
mov eax, dword [ebp + 0x58]
fld dword [esp + 0x5c]
mov ecx, dword [eax + ebx + 0x90]
add eax, ebx
fmul dword [0x498228]
push ecx
mov dword [eax + 0x30], ecx
fstp dword [esp]
call fcn.0044c980
fsubr dword [0x498220]
mov edx, dword [ebp + 0x58]
fmul dword [0x498228]
fmul dword [esp + 0x64]
fstp dword [edx + ebx + 0x34]
fld dword [esp + 0x60]
fmul dword [0x4983dc]
fstp dword [esp]
call fcn.0044c980
fsubr dword [0x498220]
mov eax, dword [ebp + 0x58]
add esp, 4
fmul dword [0x498228]
fmul dword [esp + 0x64]
fmul dword [0x498450]
fadd dword [0x498220]
fstp dword [eax + ebx + 0x38]
mov ecx, dword [ebp + 0x58]
mov eax, dword [esp + 0x1c]
lea edx, [ecx + ebx + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [edx], eax
mov eax, dword [esp + 0x24]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0x58]
fld dword [ecx + ebx + 0x30]
fsub dword [ecx + ebx - 0x78]
lea eax, [ecx + ebx]
add eax, 0x20
fstp dword [esp + 0x28]
fld dword [eax + 0x14]
fsub dword [eax - 0x94]
mov edx, dword [esp + 0x28]
fstp dword [esp + 0x2c]
fld dword [eax + 0x18]
fsub dword [eax - 0x90]
mov ecx, dword [esp + 0x2c]
mov dword [eax], edx
mov dword [eax + 4], ecx
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x58]
lea ecx, [eax + ebx + 0x20]
call fcn.0044cca0
mov ecx, dword [ebp + 0x58]
fstp st(0)
lea eax, [ecx + ebx]
push eax
lea edx, [eax + 0x20]
lea ecx, [eax + 0x10]
push edx
call fcn.0044cd40
mov esi, dword [ebp + 0x58]
mov edi, dword [ebp + 0x5c]
add esi, ebx
add edi, ebx
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x5c]
mov esi, 0x3f800000
fld dword [eax + ebx + 0x10]
fmul dword [0x4983e8]
fld dword [eax + ebx + 0x14]
lea eax, [eax + ebx + 0x10]
fmul dword [0x4983e8]
fstp dword [esp + 0x38]
fld dword [eax + 8]
fmul dword [0x4983e8]
lea eax, [ecx + ebx + 0x30]
mov ecx, dword [esp + 0x10]
add ebx, 0xa8
fstp dword [esp + 0x3c]
fadd dword [eax]
fstp dword [eax]
fld dword [esp + 0x38]
fadd dword [eax + 4]
fstp dword [eax + 4]
fld dword [esp + 0x3c]
fadd dword [eax + 8]
fstp dword [eax + 8]
mov eax, dword [esp + 0x68]
inc eax
cmp eax, ecx
mov dword [esp + 0x68], eax
jl 0x42dfe5
xor edi, edi
mov edx, dword [ebp + 0x44]
xor ebx, ebx
dec edx
test edx, edx
jle 0x42e27d
mov eax, dword [ebp + 0x58]
add eax, edi
fld dword [eax + 0xd8]
fsub dword [eax + 0x30]
add eax, 0x80
fstp dword [esp + 0x28]
fld dword [eax + 0x5c]
fsub dword [eax - 0x4c]
mov ecx, dword [esp + 0x28]
fstp dword [esp + 0x2c]
fld dword [eax + 0x60]
fsub dword [eax - 0x48]
mov edx, dword [esp + 0x2c]
mov dword [eax], ecx
mov dword [eax + 4], edx
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x58]
lea ecx, [edx + edi + 0x80]
call fcn.0044cca0
mov eax, dword [ebp + 0x58]
fstp dword [eax + edi + 0x8c]
mov ecx, dword [ebp + 0x5c]
fld dword [ecx + edi + 0xd8]
fsub dword [ecx + edi + 0x30]
lea eax, [ecx + edi]
add eax, 0x80
fstp dword [esp + 0x1c]
fld dword [eax + 0x5c]
fsub dword [eax - 0x4c]
mov edx, dword [esp + 0x1c]
fstp dword [esp + 0x20]
fld dword [eax + 0x60]
fsub dword [eax - 0x48]
mov ecx, dword [esp + 0x20]
mov dword [eax], edx
mov dword [eax + 4], ecx
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x5c]
lea ecx, [eax + edi + 0x80]
call fcn.0044cca0
mov ecx, dword [ebp + 0x5c]
inc ebx
fstp dword [ecx + edi + 0x8c]
mov edx, dword [ebp + 0x44]
add edi, 0xa8
dec edx
cmp ebx, edx
jl 0x42e1b7
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp + 0x58]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8 - 0x28]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], 0
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x58]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [eax + eax*2]
mov dword [edx + ecx*8 - 0x1c], esi
mov ecx, dword [ebp + 0x44]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp + 0x5c]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8 - 0x28]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x5c]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [eax + eax*2]
mov dword [edx + ecx*8 - 0x1c], esi
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x44]
inc eax
inc ecx
imul eax, ecx
mov ecx, dword [ebp + 0x24]
push eax
call fcn.0042f710
mov edx, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x24]
imul edx, dword [ebp + 0x44]
shl edx, 1
push edx
call fcn.0042f8c0
mov eax, dword [ebp + 0x24]
xor edx, edx
mov esi, dword [eax + 0x38]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x44]
test eax, eax
mov dword [esp + 0x5c], esi
jl 0x42e499
xor ebx, ebx
mov ecx, dword [ebp + 0x54]
xor edi, edi
test ecx, ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x60], ecx
jl 0x42e487
fild dword [esp + 0x68]
fild dword [esp + 0x60]
mov eax, dword [ebp + 0x44]
cmp edx, eax
mov eax, dword [ebp + 0x58]
fmul dword [0x498228]
fsubp st(1)
je 0x42e3f6
add eax, ebx
fld st(0)
fmul dword [eax]
fstp dword [esp + 0x34]
fld st(0)
fmul dword [eax + 4]
fstp dword [esp + 0x38]
fmul dword [eax + 8]
fld dword [esp + 0x34]
fadd dword [eax + 0x30]
fstp dword [esp + 0x28]
fld dword [esp + 0x38]
fadd dword [eax + 0x34]
fstp dword [esp + 0x2c]
fadd dword [eax + 0x38]
lea eax, [ecx + 1]
imul eax, edx
fstp dword [esp + 0x30]
add eax, edi
lea ecx, [eax + eax*2]
lea eax, [esi + ecx*4]
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
jmp 0x42e470
add eax, ebx
fld st(0)
fmul dword [eax - 0xa8]
mov esi, dword [eax - 0x74]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x5c]
fstp dword [esp + 0x40]
fld st(0)
fmul dword [eax - 0xa4]
fstp dword [esp + 0x44]
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 + 0x54]
fadd dword [esp + 0x40]
fstp dword [esp + 0x1c]
fld dword [esp + 0x50]
fadd dword [esp + 0x44]
add eax, edi
lea ecx, [eax + eax*2]
fstp dword [esp + 0x20]
fld dword [esp + 0x54]
fadd st(1)
lea eax, [esi + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
fstp dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
fstp st(0)
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x54]
inc edi
mov dword [esp + 0x60], ecx
cmp edi, ecx
mov dword [esp + 0x68], edi
jle 0x42e388
mov eax, dword [ebp + 0x44]
inc edx
add ebx, 0xa8
cmp edx, eax
jle 0x42e373
mov eax, dword [ebp + 0x44]
xor edi, edi
test eax, eax
jle 0x42e6b9
mov eax, dword [ebp + 0x54]
xor esi, esi
test eax, eax
mov dword [esp + 0x68], esi
jle 0x42e6ad
mov eax, edi
and eax, 0x80000007
jns 0x42e4c5
dec eax
or eax, 0xfffffff8
inc eax
mov dword [esp + 0x60], eax
inc eax
fild dword [esp + 0x60]
mov dword [esp + 0x5c], eax
fmul dword [0x498428]
fstp dword [esp + 0x60]
fild dword [esp + 0x5c]
fmul dword [0x498428]
fstp dword [esp + 0x64]
fild dword [esp + 0x68]
lea edx, [esi + 1]
xor ecx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
fmul dword [0x498428]
fstp dword [esp + 0x68]
fild dword [esp + 0x18]
fmul dword [0x498428]
fstp dword [esp + 0x5c]
jmp 0x42e519
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x54]
imul eax, edi
add eax, esi
test ecx, ecx
lea eax, [ecx + eax*2]
jne 0x42e5de
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*2]
shl ecx, 4
push 0
push 0
lea ebx, [ecx + edx]
mov word [ebx], 0
mov ax, word [ebp + 0x54]
inc ax
imul eax, edi
add eax, esi
mov word [ebx + 2], ax
mov cx, word [ebp + 0x54]
inc cx
lea eax, [edi + 1]
imul ecx, edi
lea edx, [ecx + esi + 1]
mov word [ebx + 4], dx
mov cx, word [ebp + 0x54]
inc cx
imul ecx, eax
lea edx, [ecx + esi + 1]
mov word [ebx + 6], dx
mov cx, word [ebp + 0x54]
inc cx
mov edx, esi
imul ecx, eax
xor edx, edi
add ecx, esi
test dl, 1
mov word [ebx + 8], cx
jne 0x42e5d7
mov eax, dword [esp + 0x74]
push eax
mov ecx, 0x4ba7b0
call fcn.0044e810
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
mov ecx, edx
mov dword [ebx + 0x18], eax
mov edx, eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
mov edx, eax
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], edx
jmp 0x42e688
mov ecx, dword [esp + 0x74]
push ecx
jmp 0x42e593
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x14]
shl edx, 4
push 0
push 0
lea ebx, [edx + eax]
mov word [ebx], 0
mov cx, word [ebp + 0x54]
inc cx
imul ecx, edi
lea edx, [ecx + esi + 1]
mov word [ebx + 2], dx
mov ax, word [ebp + 0x54]
inc ax
imul eax, edi
add eax, esi
mov word [ebx + 4], ax
mov cx, word [ebp + 0x54]
lea eax, [edi + 1]
inc cx
imul ecx, eax
add ecx, esi
mov word [ebx + 6], cx
mov dx, word [ebp + 0x54]
inc dx
mov ecx, esi
imul edx, eax
xor ecx, edi
lea eax, [edx + esi + 1]
test cl, 1
mov word [ebx + 8], ax
jne 0x42e6ca
mov edx, dword [esp + 0x78]
push edx
mov ecx, 0x4ba7b0
call fcn.0044e810
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
mov dword [ebx + 0x18], edx
mov ecx, edx
mov edx, dword [esp + 0x64]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], edx
mov ecx, edx
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jl 0x42e515
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 0x54]
cmp esi, eax
mov dword [esp + 0x68], esi
jl 0x42e4ea
mov eax, dword [ebp + 0x44]
inc edi
cmp edi, eax
jl 0x42e4a6
mov ecx, ebp
call fcn.0042c5c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x1c
mov eax, dword [esp + 0x78]
push eax
jmp 0x42e649