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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov edi, 0x3f800000
mov dword [esi + 0x38], 0x2d
mov byte [esi + 0x3c], 0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], edi
mov dword [esi + 0x44], 0x34
mov dword [esi + 0x4c], 0x42500000
call fcn.0041b080
fild dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
mov al, byte [esp + 0x68]
mov byte [esi + 0x9c], bl
fmul dword [0x497228]
test al, al
fsub dword [0x497210]
fstp dword [ecx + 0x90]
jne 0x42af86
mov eax, dword [esi + 0x58]
fld dword [eax + 0x90]
fmul dword [0x497214]
fstp dword [eax + 0x90]
mov edx, dword [esi + 0x58]
mov dword [edx + 0x98], ebx
mov eax, dword [esi + 0x58]
mov dword [eax + 0x94], ebx
mov ecx, dword [esi + 0x58]
mov dword [ecx + 0xa0], ebx
mov edx, dword [esi + 0x58]
mov dword [edx + 0x9c], edi
mov ecx, dword [esi + 0x58]
call fcn.0044d3e0
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + 0x90]
mov dword [eax + 0x30], ecx
mov edx, dword [esi + 0x58]
mov dword [edx + 0x34], ebx
mov eax, dword [esi + 0x58]
mov dword [eax + 0x38], ebx
mov ecx, dword [esi + 0x5c]
call fcn.0044d3e0
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
mov ebp, 0x3efae148
mov eax, dword [ecx + 0x90]
mov dword [edx + 0x30], eax
mov ecx, dword [esi + 0x5c]
mov dword [ecx + 0x34], ebp
mov edx, dword [esi + 0x5c]
mov dword [edx + 0x38], ebx
mov eax, dword [esi + 0x58]
fild dword [esi + 0x54]
fmul dword [0x497228]
fsub dword [0x497210]
fstp dword [eax + 0x2208]
mov al, byte [esp + 0x68]
test al, al
jne 0x42b027
mov eax, dword [esi + 0x58]
fld dword [eax + 0x2208]
fmul dword [0x497214]
fstp dword [eax + 0x2208]
mov ecx, dword [esi + 0x58]
mov dword [ecx + 0x2210], ebx
mov edx, dword [esi + 0x58]
mov dword [edx + 0x220c], ebx
mov eax, dword [esi + 0x58]
mov dword [eax + 0x2218], ebx
mov ecx, dword [esi + 0x58]
mov dword [ecx + 0x2214], edi
mov ecx, dword [esi + 0x58]
add ecx, 0x2178
call fcn.0044d3e0
mov eax, dword [esi + 0x58]
mov edi, 0x424c0000
mov edx, dword [eax + 0x2208]
mov dword [eax + 0x21a8], edx
mov eax, dword [esi + 0x58]
mov dword [eax + 0x21ac], ebx
mov ecx, dword [esi + 0x58]
mov dword [ecx + 0x21b0], edi
mov ecx, dword [esi + 0x5c]
add ecx, 0x2178
call fcn.0044d3e0
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
mov ecx, dword [edx + 0x2208]
mov dword [eax + 0x21a8], ecx
mov edx, dword [esi + 0x5c]
mov dword [edx + 0x21ac], ebp
mov eax, dword [esi + 0x5c]
xor ebp, ebp
mov dword [eax + 0x21b0], edi
mov dword [esp + 0x64], ebp
mov edi, 0xa8
fild dword [esp + 0x64]
mov al, byte [esp + 0x68]
test al, al
fmul dword [0x4974dc]
fst dword [esp + 0x64]
fmul dword [0x497228]
fstp dword [esp + 0x1c]
jne 0x42b0ea
fld dword [esp + 0x64]
fadd dword [0x49721c]
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0044cb50
fadd dword [0x497220]
mov edx, dword [esi + 0x58]
add esp, 4
fmul dword [0x497228]
fmul dword [0x497284]
fsubr dword [0x4973cc]
fstp dword [edx + edi + 0x90]
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.0044d3e0
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx + edi + 0x90]
lea eax, [ecx + edi]
mov dword [eax + 0x30], edx
mov eax, dword [esp + 0x64]
push eax
call fcn.0044cba0
mov ecx, dword [esp + 0x20]
fstp dword [esp + 0x68]
push ecx
call fcn.0044cba0
fmul dword [esp + 0x6c]
mov edx, dword [esi + 0x58]
add esp, 8
inc ebp
fmul dword [esp + 0x60]
mov dword [esp + 0x64], ebp
fstp dword [edx + edi + 0x34]
fild dword [esp + 0x64]
mov eax, dword [esi + 0x58]
fst dword [esp + 0x64]
fstp dword [eax + edi + 0x38]
mov ecx, dword [esi + 0x5c]
add ecx, edi
call fcn.0044d3e0
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
cmp edi, 0xa8
mov eax, dword [ecx + edi + 0x90]
mov dword [edx + edi + 0x30], eax
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
fld dword [ecx + edi + 0x34]
fadd dword [0x4973e8]
fstp dword [edx + edi + 0x34]
mov eax, dword [esi + 0x5c]
fld dword [esp + 0x64]
fstp dword [eax + edi + 0x38]
jle 0x42b397
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], 0x3f800000
lea edx, [ecx + edi - 0x98]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], 0
mov dword [edx], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov ecx, dword [esi + 0x58]
fld dword [ecx + edi + 0x30]
fsub dword [ecx + edi - 0x78]
lea eax, [ecx + edi]
add eax, 0xffffff78
fstp dword [esp + 0x2c]
fld dword [eax + 0xbc]
fsub dword [eax + 0x14]
mov edx, dword [esp + 0x2c]
fstp dword [esp + 0x30]
fld dword [eax + 0xc0]
fsub dword [eax + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [eax], edx
mov dword [eax + 4], ecx
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x58]
lea ecx, [eax + edi - 0x88]
call fcn.0044ce70
mov ecx, dword [esi + 0x58]
fstp st(0)
lea eax, [ecx + edi]
lea edx, [eax - 0x88]
lea ecx, [eax - 0x98]
push edx
push ecx
lea ecx, [eax - 0xa8]
call fcn.0044cf10
mov edx, dword [esi + 0x58]
lea eax, [edx + edi]
lea ecx, [eax - 0xa8]
lea edx, [eax - 0x88]
push ecx
push edx
lea ecx, [eax - 0x98]
call fcn.0044cf10
mov eax, dword [esi + 0x58]
lea ecx, [eax + edi - 0xa8]
call fcn.0044d5a0
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], 0x3f800000
lea edx, [ecx + edi - 0x98]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x40], 0
mov dword [edx], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov ecx, dword [esi + 0x5c]
fld dword [ecx + edi + 0x30]
fsub dword [ecx + edi - 0x78]
lea eax, [ecx + edi]
add eax, 0xffffff78
fstp dword [esp + 0x44]
fld dword [eax + 0xbc]
fsub dword [eax + 0x14]
mov edx, dword [esp + 0x44]
fstp dword [esp + 0x48]
fld dword [eax + 0xc0]
fsub dword [eax + 0x18]
mov ecx, dword [esp + 0x48]
mov dword [eax], edx
mov dword [eax + 4], ecx
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x5c]
lea ecx, [eax + edi - 0x88]
call fcn.0044ce70
mov ecx, dword [esi + 0x5c]
fstp st(0)
lea eax, [ecx + edi]
lea edx, [eax - 0x88]
lea ecx, [eax - 0x98]
push edx
push ecx
lea ecx, [eax - 0xa8]
call fcn.0044cf10
mov edx, dword [esi + 0x5c]
lea eax, [edx + edi]
lea ecx, [eax - 0xa8]
lea edx, [eax - 0x88]
push ecx
push edx
lea ecx, [eax - 0x98]
call fcn.0044cf10
mov eax, dword [esi + 0x5c]
lea ecx, [eax + edi - 0xa8]
call fcn.0044d5a0
jmp 0x42b3b5
mov ecx, dword [esi + 0x58]
lea ecx, [ecx + edi - 0xa8]
call fcn.0044d420
mov edx, dword [esi + 0x5c]
lea ecx, [edx + edi - 0xa8]
call fcn.0044d420
add edi, 0xa8
mov dword [esp + 0x64], ebp
cmp edi, 0x2178
jl 0x42b0bc
mov eax, dword [esi + 0x44]
xor ebp, ebp
dec eax
test eax, eax
jle 0x42b4a4
xor edi, edi
mov ecx, dword [esi + 0x58]
fld dword [edi + ecx + 0xd8]
fsub dword [edi + ecx + 0x30]
lea eax, [edi + ecx]
add eax, 0x80
fstp dword [esp + 0x44]
fld dword [eax + 0x5c]
fsub dword [eax - 0x4c]
mov edx, dword [esp + 0x44]
fstp dword [esp + 0x48]
fld dword [eax + 0x60]
fsub dword [eax - 0x48]
mov ecx, dword [esp + 0x48]
mov dword [eax], edx
mov dword [eax + 4], ecx
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x58]
lea ecx, [edi + eax + 0x80]
call fcn.0044ce70
mov ecx, dword [esi + 0x58]
fstp dword [edi + ecx + 0x8c]
mov edx, dword [esi + 0x5c]
fld dword [edi + edx + 0xd8]
fsub dword [edi + edx + 0x30]
lea eax, [edi + edx]
add eax, 0x80
fstp dword [esp + 0x38]
fld dword [eax + 0x5c]
fsub dword [eax - 0x4c]
mov ecx, dword [esp + 0x38]
fstp dword [esp + 0x3c]
fld dword [eax + 0x60]
fsub dword [eax - 0x48]
mov edx, dword [esp + 0x3c]
mov dword [eax], ecx
mov dword [eax + 4], edx
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x5c]
lea ecx, [edi + edx + 0x80]
call fcn.0044ce70
mov eax, dword [esi + 0x5c]
inc ebp
fstp dword [edi + eax + 0x8c]
mov ecx, dword [esi + 0x44]
add edi, 0xa8
dec ecx
cmp ebp, ecx
jl 0x42b3db
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x3f800000
lea eax, [ecx*8]
sub eax, ecx
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x58]
lea ecx, [eax + edx*8 - 0x28]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], 0
mov dword [ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x48], 0
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, dword [esi + 0x44]
mov edx, 0x3f800000
lea eax, [ecx*8]
mov dword [esp + 0x4c], edx
sub eax, ecx
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*2]
mov dword [ecx + eax*8 - 0x1c], edx
mov ecx, dword [esi + 0x44]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esi + 0x5c]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8 - 0x28]
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, edx
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x44]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esi + 0x5c]
lea eax, [eax + eax*2]
mov dword [ecx + eax*8 - 0x1c], edx
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0x44]
inc edx
inc eax
mov ecx, dword [esi + 0x24]
imul edx, eax
push edx
call fcn.0042f6f0
mov ecx, dword [esi + 0x54]
imul ecx, dword [esi + 0x44]
shl ecx, 1
push ecx
mov ecx, dword [esi + 0x24]
call fcn.0042f8a0
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0x5c]
mov ebp, dword [eax + 0x38]
mov eax, dword [esi + 0x44]
mov dword [esp + 0x18], edx
xor edx, edx
cmp eax, ebx
mov dword [esp + 0x60], ebp
jl 0x42b6c1
mov ecx, dword [esi + 0x54]
xor edi, edi
test ecx, ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ecx
jl 0x42b6ad
fild dword [esp + 0x68]
fild dword [esp + 0x64]
mov eax, dword [esi + 0x44]
cmp edx, eax
mov eax, dword [esi + 0x58]
fmul dword [0x497228]
fsubp st(1)
je 0x42b61b
add eax, ebx
fld st(0)
fmul dword [eax]
fstp dword [esp + 0x2c]
fld st(0)
fmul dword [eax + 4]
fstp dword [esp + 0x30]
fmul dword [eax + 8]
fld dword [esp + 0x2c]
fadd dword [eax + 0x30]
fstp dword [esp + 0x44]
fld dword [esp + 0x30]
fadd dword [eax + 0x34]
fstp dword [esp + 0x48]
fadd dword [eax + 0x38]
lea eax, [ecx + 1]
imul eax, edx
fstp dword [esp + 0x4c]
add eax, edi
lea ecx, [eax + eax*2]
lea eax, [ebp + ecx*4]
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
jmp 0x42b696
add eax, ebx
fld st(0)
fmul dword [eax - 0xa8]
mov ebp, dword [eax - 0x74]
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x60]
fstp dword [esp + 0x20]
fld st(0)
fmul dword [eax - 0xa4]
fstp dword [esp + 0x24]
fmul dword [eax - 0xa0]
fld dword [eax - 0x78]
fld dword [eax - 0x70]
fadd dword [0x497220]
lea eax, [ecx + 1]
imul eax, edx
fstp dword [esp + 0x58]
fadd dword [esp + 0x20]
fstp dword [esp + 0x38]
fld dword [esp + 0x54]
fadd dword [esp + 0x24]
add eax, edi
lea ecx, [eax + eax*2]
fstp dword [esp + 0x3c]
fld dword [esp + 0x58]
fadd st(1)
lea eax, [ebp + ecx*4]
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
fstp dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
fstp st(0)
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x54]
inc edi
mov dword [esp + 0x64], ecx
cmp edi, ecx
mov dword [esp + 0x68], edi
jle 0x42b5ac
mov eax, dword [esi + 0x44]
inc edx
add ebx, 0xa8
cmp edx, eax
jle 0x42b597
xor ebx, ebx
mov eax, dword [esi + 0x44]
test eax, eax
jle 0x42b8e1
mov eax, dword [esi + 0x54]
xor edi, edi
test eax, eax
mov dword [esp + 0x68], edi
jle 0x42b8d5
mov eax, ebx
and eax, 0x80000007
jns 0x42b6eb
dec eax
or eax, 0xfffffff8
inc eax
mov dword [esp + 0x64], eax
inc eax
fild dword [esp + 0x64]
mov dword [esp + 0x60], eax
fmul dword [0x497428]
fstp dword [esp + 0x64]
fild dword [esp + 0x60]
fmul dword [0x497428]
fstp dword [esp + 0x10]
fild dword [esp + 0x68]
lea edx, [edi + 1]
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
fmul dword [0x497428]
fstp dword [esp + 0x68]
fild dword [esp + 0x1c]
fmul dword [0x497428]
fstp dword [esp + 0x60]
jmp 0x42b73f
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x54]
imul eax, ebx
add eax, edi
test ecx, ecx
lea eax, [ecx + eax*2]
jne 0x42b805
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*2]
shl ecx, 4
push 0
push 0
lea ebp, [ecx + edx]
mov word [ebp], 0
mov ax, word [esi + 0x54]
inc ax
imul eax, ebx
add eax, edi
mov word [ebp + 2], ax
mov cx, word [esi + 0x54]
inc cx
lea eax, [ebx + 1]
imul ecx, ebx
lea edx, [ecx + edi + 1]
mov word [ebp + 4], dx
mov cx, word [esi + 0x54]
inc cx
imul ecx, eax
lea edx, [ecx + edi + 1]
mov word [ebp + 6], dx
mov cx, word [esi + 0x54]
inc cx
mov edx, edi
imul ecx, eax
xor edx, ebx
add ecx, edi
test dl, 1
mov word [ebp + 8], cx
jne 0x42b7fe
mov eax, dword [esp + 0x74]
push eax
mov ecx, 0x4b77d0
call fcn.0044e9e0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], edx
mov ecx, edx
mov dword [ebp + 0x18], eax
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov dword [ebp + 0x20], edx
mov dword [ebp + 0x24], eax
mov edx, eax
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x2c], edx
jmp 0x42b8b0
mov ecx, dword [esp + 0x74]
push ecx
jmp 0x42b7ba
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x18]
shl edx, 4
push 0
push 0
lea ebp, [edx + eax]
mov word [ebp], 0
mov cx, word [esi + 0x54]
inc cx
imul ecx, ebx
lea edx, [ecx + edi + 1]
mov word [ebp + 2], dx
mov ax, word [esi + 0x54]
inc ax
imul eax, ebx
add eax, edi
mov word [ebp + 4], ax
mov cx, word [esi + 0x54]
lea eax, [ebx + 1]
inc cx
imul ecx, eax
add ecx, edi
mov word [ebp + 6], cx
mov dx, word [esi + 0x54]
inc dx
mov ecx, edi
imul edx, eax
xor ecx, ebx
lea eax, [edx + edi + 1]
test cl, 1
mov word [ebp + 8], ax
jne 0x42b8f2
mov edx, dword [esp + 0x78]
push edx
mov ecx, 0x4b77d0
call fcn.0044e9e0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov eax, ecx
mov dword [ebp + 0x18], edx
mov ecx, edx
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x24], edx
mov ecx, edx
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], ecx
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 2
mov dword [esp + 0x14], eax
jl 0x42b73b
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x54]
cmp edi, eax
mov dword [esp + 0x68], edi
jl 0x42b710
mov eax, dword [esi + 0x44]
inc ebx
cmp ebx, eax
jl 0x42b6cc
mov ecx, esi
call fcn.0042c5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x18
mov eax, dword [esp + 0x78]
push eax
jmp 0x42b871