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

Disassembly:
mov al, byte [esp + 4]
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
test al, al
mov dword [ebp + 0x38], 0x27
mov byte [ebp + 0x3c], 0
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x54], 4
je 0x42cbfb
mov esi, 1
mov dword [esp + 0x14], 0xc0000000
mov dword [esp + 0x1c], 0xbf800000
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], 3
jmp 0x42cc1f
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 0x40000000
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
mov ebx, 0x3f800000
mov ecx, ebp
mov dword [ebp + 0x50], ebx
lea eax, [eax + esi + 0x1a]
mov dword [esp + 0x68], eax
mov dword [ebp + 0x44], eax
fild dword [esp + 0x68]
fstp dword [ebp + 0x4c]
call fcn.0041b060
cmp esi, edi
mov byte [ebp + 0x9c], 0
mov dword [esp + 0x68], edi
jle 0x42cd1f
xor esi, esi
mov ecx, dword [ebp + 0x58]
fld dword [esp + 0x14]
fstp dword [ecx + esi + 0x90]
mov edx, dword [ebp + 0x58]
mov dword [edx + esi + 0x98], edi
mov eax, dword [ebp + 0x58]
mov dword [eax + esi + 0x94], edi
mov ecx, dword [ebp + 0x58]
mov dword [ecx + esi + 0xa0], edi
mov edx, dword [ebp + 0x58]
mov dword [edx + esi + 0x9c], ebx
mov ecx, dword [ebp + 0x58]
add ecx, esi
call fcn.0044d210
mov eax, dword [ebp + 0x58]
add eax, esi
fild dword [esp + 0x68]
mov ecx, dword [eax + 0x90]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp + 0x58]
fst dword [esp + 0x24]
mov dword [edx + esi + 0x34], edi
mov eax, dword [ebp + 0x58]
fstp dword [eax + esi + 0x38]
mov ecx, dword [ebp + 0x58]
mov dword [ecx + esi + 0x8c], ebx
mov ecx, dword [ebp + 0x5c]
add ecx, esi
call fcn.0044d210
mov edx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x5c]
fld dword [esp + 0x24]
mov ecx, dword [edx + esi + 0x90]
mov dword [eax + esi + 0x30], ecx
mov edx, dword [ebp + 0x5c]
mov dword [edx + esi + 0x34], 0x3efae148
mov eax, dword [ebp + 0x5c]
fstp dword [eax + esi + 0x38]
mov ecx, dword [ebp + 0x5c]
mov eax, dword [esp + 0x68]
inc eax
mov dword [ecx + esi + 0x8c], ebx
mov ecx, dword [esp + 0x10]
add esi, 0xa8
cmp eax, ecx
mov dword [esp + 0x68], eax
jl 0x42cc59
mov esi, ecx
cmp dword [esp + 0x18], edi
jle 0x42ce1c
lea eax, [esi + 0x1a]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], eax
lea esi, [eax*8]
sub esi, eax
mov eax, 0xffffffe6
lea esi, [esi + esi*2]
shl esi, 3
sub eax, ecx
mov dword [esp + 0x20], eax
mov edx, dword [ebp + 0x58]
fld dword [esp + 0x14]
fstp dword [edx + esi + 0x90]
mov eax, dword [ebp + 0x58]
mov dword [eax + esi + 0x98], edi
mov ecx, dword [ebp + 0x58]
mov dword [ecx + esi + 0x94], edi
mov edx, dword [ebp + 0x58]
mov dword [edx + esi + 0xa0], edi
mov eax, dword [ebp + 0x58]
mov dword [eax + esi + 0x9c], ebx
mov ecx, dword [ebp + 0x58]
add ecx, esi
call fcn.0044d210
mov ecx, dword [ebp + 0x58]
fild dword [esp + 0x68]
mov edx, dword [ecx + esi + 0x90]
lea eax, [ecx + esi]
fst dword [esp + 0x24]
mov dword [eax + 0x30], edx
mov eax, dword [ebp + 0x58]
mov dword [eax + esi + 0x34], edi
mov ecx, dword [ebp + 0x58]
fstp dword [ecx + esi + 0x38]
mov edx, dword [ebp + 0x58]
mov dword [edx + esi + 0x8c], ebx
mov ecx, dword [ebp + 0x5c]
add ecx, esi
call fcn.0044d210
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x5c]
fld dword [esp + 0x24]
mov edx, dword [eax + esi + 0x90]
mov dword [ecx + esi + 0x30], edx
mov eax, dword [ebp + 0x5c]
mov dword [eax + esi + 0x34], 0x3efae148
mov ecx, dword [ebp + 0x5c]
mov eax, dword [esp + 0x68]
fstp dword [ecx + esi + 0x38]
mov edx, dword [ebp + 0x5c]
mov ecx, dword [esp + 0x20]
mov dword [edx + esi + 0x8c], ebx
add esi, 0xa8
inc eax
mov dword [esp + 0x68], eax
add ecx, eax
cmp ecx, dword [esp + 0x18]
jl 0x42cd4e
mov esi, dword [esp + 0x10]
lea ebx, [esi*8]
mov dword [esp + 0x68], edi
sub ebx, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x3f800000
mov dword [esp + 0x30], 0
lea ebx, [ebx + ebx*2]
shl ebx, 3
jmp 0x42ce4b
xor edi, edi
fild dword [esp + 0x68]
push ecx
fmul dword [0x4984f0]
fstp dword [esp]
call fcn.0044c980
fsubr dword [0x498220]
mov edx, dword [ebp + 0x58]
add esp, 4
fmul dword [0x498228]
fmul dword [esp + 0x1c]
fmul dword [0x498440]
fstp dword [esp + 0x24]
fld dword [esp + 0x14]
fstp dword [edx + ebx + 0x90]
mov eax, dword [ebp + 0x58]
mov dword [eax + ebx + 0x98], edi
mov ecx, dword [ebp + 0x58]
mov dword [ecx + ebx + 0x94], edi
mov edx, dword [ebp + 0x58]
mov dword [edx + ebx + 0xa0], edi
mov eax, dword [ebp + 0x58]
mov dword [eax + ebx + 0x9c], 0x3f800000
mov ecx, dword [ebp + 0x58]
add ecx, ebx
call fcn.0044d210
mov esi, dword [esp + 0x24]
push esi
call fcn.0044c9d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x6c]
mov ecx, dword [ebp + 0x58]
add eax, edx
fadd st(0), st(0)
mov dword [esp + 0x28], eax
add esp, 4
fadd dword [esp + 0x14]
fstp dword [ecx + ebx + 0x30]
fild dword [esp + 0x24]
mov ecx, dword [ebp + 0x58]
fstp dword [ecx + ebx + 0x38]
mov edx, dword [ebp + 0x58]
mov dword [edx + ebx + 0x34], edi
mov eax, dword [ebp + 0x58]
mov edx, dword [esp + 0x28]
lea ecx, [eax + ebx + 0x10]
mov eax, dword [esp + 0x2c]
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x58]
add eax, ebx
fld dword [eax + 0x30]
fsub dword [eax - 0x78]
add eax, 0x20
fstp dword [esp + 0x34]
fld dword [eax + 0x14]
fsub dword [eax - 0x94]
mov ecx, dword [esp + 0x34]
fstp dword [esp + 0x38]
fld dword [eax + 0x18]
fsub dword [eax - 0x90]
mov edx, dword [esp + 0x38]
mov dword [eax], ecx
mov dword [eax + 4], edx
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x58]
lea ecx, [edx + ebx + 0x20]
call fcn.0044cca0
mov eax, dword [ebp + 0x58]
fstp st(0)
lea ecx, [eax + ebx]
lea edx, [ecx + 0x20]
lea eax, [ecx + 0x10]
push edx
push eax
call fcn.0044cd40
mov ecx, dword [ebp + 0x58]
push esi
add ecx, ebx
call fcn.0044cf50
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 ecx, dword [ebp + 0x58]
mov edx, dword [ebp + 0x5c]
fld dword [ecx + ebx + 0x10]
fmul dword [0x4983e8]
fld dword [ecx + ebx + 0x14]
lea eax, [ecx + ebx + 0x10]
fmul dword [0x4983e8]
fstp dword [esp + 0x44]
fld dword [eax + 8]
fmul dword [0x4983e8]
lea eax, [edx + ebx + 0x30]
add ebx, 0xa8
fstp dword [esp + 0x48]
fadd dword [eax]
fstp dword [eax]
fld dword [esp + 0x44]
fadd dword [eax + 4]
fstp dword [eax + 4]
fld dword [esp + 0x48]
fadd dword [eax + 8]
fstp dword [eax + 8]
mov eax, dword [esp + 0x68]
inc eax
cmp eax, 0x1a
mov dword [esp + 0x68], eax
jl 0x42ce49
mov eax, dword [ebp + 0x44]
xor edi, edi
dec eax
test eax, eax
jle 0x42d0cd
xor esi, esi
mov ecx, dword [ebp + 0x58]
fld dword [ecx + esi + 0xd8]
fsub dword [ecx + esi + 0x30]
lea eax, [ecx + esi]
add eax, 0x80
fstp dword [esp + 0x34]
fld dword [eax + 0x5c]
fsub dword [eax - 0x4c]
mov edx, dword [esp + 0x34]
fstp dword [esp + 0x38]
fld dword [eax + 0x60]
fsub dword [eax - 0x48]
mov ecx, dword [esp + 0x38]
mov dword [eax], edx
mov dword [eax + 4], ecx
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x58]
lea ecx, [eax + esi + 0x80]
call fcn.0044cca0
mov ecx, dword [ebp + 0x58]
fstp dword [ecx + esi + 0x8c]
mov edx, dword [ebp + 0x5c]
fld dword [edx + esi + 0xd8]
fsub dword [edx + esi + 0x30]
lea eax, [edx + esi]
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 + 0x5c]
lea ecx, [edx + esi + 0x80]
call fcn.0044cca0
mov eax, dword [ebp + 0x5c]
inc edi
fstp dword [eax + esi + 0x8c]
mov ecx, dword [ebp + 0x44]
add esi, 0xa8
dec ecx
cmp edi, ecx
jl 0x42d004
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x3f800000
lea eax, [ecx*8]
sub eax, ecx
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x58]
lea ecx, [eax + edx*8 - 0x28]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], 0
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], 0
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, dword [ebp + 0x44]
mov edx, 0x3f800000
lea eax, [ecx*8]
mov dword [esp + 0x3c], edx
sub eax, ecx
mov ecx, dword [ebp + 0x58]
lea eax, [eax + eax*2]
mov dword [ecx + eax*8 - 0x1c], edx
mov ecx, dword [ebp + 0x44]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp + 0x5c]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8 - 0x28]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, edx
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x44]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp + 0x5c]
lea eax, [eax + eax*2]
mov dword [ecx + eax*8 - 0x1c], edx
mov edx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x44]
inc edx
inc eax
mov ecx, dword [ebp + 0x24]
imul edx, eax
push edx
call fcn.0042f710
mov ecx, dword [ebp + 0x54]
imul ecx, dword [ebp + 0x44]
shl ecx, 1
push ecx
mov ecx, dword [ebp + 0x24]
call fcn.0042f8c0
mov eax, dword [ebp + 0x24]
mov edx, dword [eax + 0x5c]
mov edi, dword [eax + 0x38]
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x20], edx
xor edx, edx
mov dword [esp + 0x24], edi
test eax, eax
jl 0x42d2e8
xor ebx, ebx
mov ecx, dword [ebp + 0x54]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x18], ecx
jl 0x42d2d6
fild dword [esp + 0x68]
fild dword [esp + 0x18]
mov eax, dword [ebp + 0x44]
cmp edx, eax
mov eax, dword [ebp + 0x58]
fmul dword [0x498228]
fsubp st(1)
je 0x42d245
add eax, ebx
fld st(0)
fmul dword [eax]
fstp dword [esp + 0x40]
fld st(0)
fmul dword [eax + 4]
fstp dword [esp + 0x44]
fmul dword [eax + 8]
fld dword [esp + 0x40]
fadd dword [eax + 0x30]
fstp dword [esp + 0x34]
fld dword [esp + 0x44]
fadd dword [eax + 0x34]
fstp dword [esp + 0x38]
fadd dword [eax + 0x38]
lea eax, [ecx + 1]
imul eax, edx
fstp dword [esp + 0x3c]
add eax, esi
lea ecx, [eax + eax*2]
lea eax, [edi + ecx*4]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x42d2bf
add eax, ebx
fld st(0)
fmul dword [eax - 0xa8]
mov edi, dword [eax - 0x74]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x24]
fstp dword [esp + 0x4c]
fld st(0)
fmul dword [eax - 0xa4]
fstp dword [esp + 0x50]
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 + 0x60]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x28]
fld dword [esp + 0x5c]
fadd dword [esp + 0x50]
add eax, esi
lea ecx, [eax + eax*2]
fstp dword [esp + 0x2c]
fld dword [esp + 0x60]
fadd st(1)
lea eax, [edi + ecx*4]
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
fstp dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
fstp st(0)
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x54]
inc esi
mov dword [esp + 0x18], ecx
cmp esi, ecx
mov dword [esp + 0x68], esi
jle 0x42d1d7
mov eax, dword [ebp + 0x44]
inc edx
add ebx, 0xa8
cmp edx, eax
jle 0x42d1c2
mov eax, dword [ebp + 0x44]
xor ebx, ebx
test eax, eax
jle 0x42d508
mov eax, dword [ebp + 0x54]
xor esi, esi
test eax, eax
mov dword [esp + 0x68], esi
jle 0x42d4fc
mov eax, ebx
and eax, 0x80000007
jns 0x42d314
dec eax
or eax, 0xfffffff8
inc eax
mov dword [esp + 0x24], eax
inc eax
fild dword [esp + 0x24]
mov dword [esp + 0x24], eax
fmul dword [0x498428]
fstp dword [esp + 0x18]
fild dword [esp + 0x24]
fmul dword [0x498428]
fstp dword [esp + 0x10]
fild dword [esp + 0x68]
lea edx, [esi + 1]
xor ecx, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ecx
fmul dword [0x498428]
fstp dword [esp + 0x68]
fild dword [esp + 0x24]
fmul dword [0x498428]
fstp dword [esp + 0x14]
jmp 0x42d368
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x54]
imul eax, ebx
add eax, esi
test ecx, ecx
lea eax, [ecx + eax*2]
jne 0x42d42d
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*2]
shl ecx, 4
push 0
push 0
lea edi, [ecx + edx]
mov word [edi], 0
mov ax, word [ebp + 0x54]
inc ax
imul eax, ebx
add eax, esi
mov word [edi + 2], ax
mov cx, word [ebp + 0x54]
inc cx
lea eax, [ebx + 1]
imul ecx, ebx
lea edx, [ecx + esi + 1]
mov word [edi + 4], dx
mov cx, word [ebp + 0x54]
inc cx
imul ecx, eax
lea edx, [ecx + esi + 1]
mov word [edi + 6], dx
mov cx, word [ebp + 0x54]
inc cx
mov edx, esi
imul ecx, eax
xor edx, ebx
add ecx, esi
test dl, 1
mov word [edi + 8], cx
jne 0x42d426
mov eax, dword [esp + 0x74]
push eax
mov ecx, 0x4ba7b0
call fcn.0044e810
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x18]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
mov ecx, edx
mov dword [edi + 0x18], eax
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], eax
mov edx, eax
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
jmp 0x42d4d7
mov ecx, dword [esp + 0x74]
push ecx
jmp 0x42d3e2
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x20]
shl edx, 4
push 0
push 0
lea edi, [edx + eax]
mov word [edi], 0
mov cx, word [ebp + 0x54]
inc cx
imul ecx, ebx
lea edx, [ecx + esi + 1]
mov word [edi + 2], dx
mov ax, word [ebp + 0x54]
inc ax
imul eax, ebx
add eax, esi
mov word [edi + 4], ax
mov cx, word [ebp + 0x54]
lea eax, [ebx + 1]
inc cx
imul ecx, eax
add ecx, esi
mov word [edi + 6], cx
mov dx, word [ebp + 0x54]
inc dx
mov ecx, esi
imul edx, eax
xor ecx, ebx
lea eax, [edx + esi + 1]
test cl, 1
mov word [edi + 8], ax
jne 0x42d519
mov edx, dword [esp + 0x78]
push edx
mov ecx, 0x4ba7b0
call fcn.0044e810
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x14]
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 + 0x10]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], edx
mov ecx, edx
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 2
mov dword [esp + 0x1c], eax
jl 0x42d364
mov esi, dword [esp + 0x24]
mov eax, dword [ebp + 0x54]
cmp esi, eax
mov dword [esp + 0x68], esi
jl 0x42d339
mov eax, dword [ebp + 0x44]
inc ebx
cmp ebx, eax
jl 0x42d2f5
mov ecx, ebp
call fcn.0042c5c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10
mov eax, dword [esp + 0x78]
push eax
jmp 0x42d498