Function at 0x42cbd0
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 0x42cc1b
mov esi, 1
mov dword [esp + 0x14], 0xc0000000
mov dword [esp + 0x1c], 0xbf800000
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], 3
jmp 0x42cc3f
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.0041b080
cmp esi, edi
mov byte [ebp + 0x9c], 0
mov dword [esp + 0x68], edi
jle 0x42cd3f
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.0044d3e0
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.0044d3e0
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 0x42cc79
mov esi, ecx
cmp dword [esp + 0x18], edi
jle 0x42ce3c
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.0044d3e0
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.0044d3e0
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 0x42cd6e
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 0x42ce6b
xor edi, edi
fild dword [esp + 0x68]
push ecx
fmul dword [0x4974f0]
fstp dword [esp]
call fcn.0044cb50
fsubr dword [0x497220]
mov edx, dword [ebp + 0x58]
add esp, 4
fmul dword [0x497228]
fmul dword [esp + 0x1c]
fmul dword [0x497440]
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.0044d3e0
mov esi, dword [esp + 0x24]
push esi
call fcn.0044cba0
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.0044ce70
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.0044cf10
mov ecx, dword [ebp + 0x58]
push esi
add ecx, ebx
call fcn.0044d120
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 [0x4973e8]
fld dword [ecx + ebx + 0x14]
lea eax, [ecx + ebx + 0x10]
fmul dword [0x4973e8]
fstp dword [esp + 0x44]
fld dword [eax + 8]
fmul dword [0x4973e8]
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 0x42ce69
mov eax, dword [ebp + 0x44]
xor edi, edi
dec eax
test eax, eax
jle 0x42d0ed
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.0044ce70
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.0044ce70
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 0x42d024
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.0042f6f0
mov ecx, dword [ebp + 0x54]
imul ecx, dword [ebp + 0x44]
shl ecx, 1
push ecx
mov ecx, dword [ebp + 0x24]
call fcn.0042f8a0
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 0x42d308
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 0x42d2f6
fild dword [esp + 0x68]
fild dword [esp + 0x18]
mov eax, dword [ebp + 0x44]
cmp edx, eax
mov eax, dword [ebp + 0x58]
fmul dword [0x497228]
fsubp st(1)
je 0x42d265
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 0x42d2df
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 [0x497220]
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 0x42d1f7
mov eax, dword [ebp + 0x44]
inc edx
add ebx, 0xa8
cmp edx, eax
jle 0x42d1e2
mov eax, dword [ebp + 0x44]
xor ebx, ebx
test eax, eax
jle 0x42d528
mov eax, dword [ebp + 0x54]
xor esi, esi
test eax, eax
mov dword [esp + 0x68], esi
jle 0x42d51c
mov eax, ebx
and eax, 0x80000007
jns 0x42d334
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 [0x497428]
fstp dword [esp + 0x18]
fild dword [esp + 0x24]
fmul dword [0x497428]
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 [0x497428]
fstp dword [esp + 0x68]
fild dword [esp + 0x24]
fmul dword [0x497428]
fstp dword [esp + 0x14]
jmp 0x42d388
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 0x42d44d
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 0x42d446
mov eax, dword [esp + 0x74]
push eax
mov ecx, 0x4b77d0
call fcn.0044e9e0
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 0x42d4f7
mov ecx, dword [esp + 0x74]
push ecx
jmp 0x42d402
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 0x42d539
mov edx, dword [esp + 0x78]
push edx
mov ecx, 0x4b77d0
call fcn.0044e9e0
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 0x42d384
mov esi, dword [esp + 0x24]
mov eax, dword [ebp + 0x54]
cmp esi, eax
mov dword [esp + 0x68], esi
jl 0x42d359
mov eax, dword [ebp + 0x44]
inc ebx
cmp ebx, eax
jl 0x42d315
mov ecx, ebp
call fcn.0042c5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10
mov eax, dword [esp + 0x78]
push eax
jmp 0x42d4b8