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

Disassembly:
mov ecx, dword [esp + 0x10]
sub esp, 0x84
xor edx, edx
lea eax, [ecx - 3]
test eax, eax
sets dl
push ebx
push ebp
add ecx, 3
push esi
push edi
dec edx
and eax, edx
mov edx, dword [esp + 0xac]
dec edx
cmp ecx, edx
jle 0x4a3ecc
mov ecx, edx
mov edx, dword [esp + 0xa0]
xor ebx, ebx
lea esi, [edx - 3]
test esi, esi
sets bl
lea ebp, [ebx - 1]
mov ebx, dword [esp + 0xa8]
and ebp, esi
lea esi, [edx + 3]
dec ebx
mov dword [esp + 0x88], ebp
cmp esi, ebx
jle 0x4a3efe
mov dword [esp + 0x70], ebx
jmp 0x4a3f04
mov ebx, esi
mov dword [esp + 0x70], esi
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov esi, eax
imul esi, dword [esp + 0xb0]
add dword [esp + 0x98], esi
mov esi, eax
imul esi, dword [esp + 0xb4]
add dword [esp + 0x9c], esi
cmp eax, ecx
jg 0x4a418b
mov esi, eax
sub esi, dword [esp + 0xa4]
sub ecx, eax
inc ecx
lea esi, [esi*4 + 0x506490]
mov dword [esp + 0x68], esi
mov dword [esp + 0x78], ecx
xor eax, eax
mov ecx, dword [esp + 0x68]
mov ecx, dword [ecx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x2c], ecx
mov edi, ebp
cmp ebp, ebx
jg 0x4a4160
mov ecx, ebx
sub ecx, ebp
inc ecx
cmp ecx, 2
jl 0x4a40ad
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
lea esi, [eax + ebp]
sub ebp, edx
lea edx, [ebp*4 + 0x506494]
sub ecx, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x80], ecx
jmp 0x4a3fe7
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x28]
mov eax, dword [eax - 4]
imul eax, dword [esp + 0x2c]
movzx ecx, byte [esi + ecx]
mov edx, ecx
imul edx, eax
add dword [esp + 0x54], edx
movzx edx, byte [esi]
mov ebx, edx
imul ebx, eax
add dword [esp + 0x4c], ebx
mov ebx, ecx
imul ebx, ecx
imul ebx, eax
add dword [esp + 0x44], ebx
add dword [esp + 0x60], eax
mov ebx, edx
imul edx, edx
imul ebx, ecx
imul edx, eax
add dword [esp + 0x34], edx
imul ebx, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
imul eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x98]
movzx ecx, byte [ecx + edi + 1]
add dword [esp + 0x3c], ebx
mov edx, ecx
imul edx, eax
add dword [esp + 0x50], edx
movzx edx, byte [esi + 1]
mov ebx, edx
imul ebx, eax
add dword [esp + 0x48], ebx
add dword [esp + 0x58], eax
add dword [esp + 0x28], 8
mov ebx, ecx
imul ebx, ecx
imul ecx, edx
imul edx, edx
imul ebx, eax
imul ecx, eax
imul edx, eax
add dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x70]
add dword [esp + 0x38], ecx
add dword [esp + 0x30], edx
add edi, 2
lea eax, [ebx - 1]
add esi, 2
cmp edi, eax
jle 0x4a3fe0
mov ebp, dword [esp + 0x88]
mov edx, dword [esp + 0xa0]
xor eax, eax
cmp edi, ebx
jg 0x4a4118
mov ecx, dword [esp + 0x98]
movzx ecx, byte [edi + ecx]
mov eax, edi
sub eax, edx
mov eax, dword [eax*4 + 0x506490]
imul eax, dword [esp + 0x2c]
mov edx, ecx
imul edx, eax
add dword [esp + 0x14], edx
mov edx, dword [esp + 0x9c]
movzx edx, byte [edi + edx]
mov esi, edx
imul esi, eax
add dword [esp + 0x18], esi
mov esi, ecx
imul esi, ecx
imul esi, eax
add dword [esp + 0x1c], esi
add dword [esp + 0x10], eax
mov esi, edx
imul edx, edx
imul esi, ecx
imul edx, eax
add dword [esp + 0x20], edx
imul esi, eax
add dword [esp + 0x24], esi
mov edx, dword [esp + 0xa0]
xor eax, eax
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x34]
add dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x3c]
add dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x44]
add dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x4c]
add dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x54]
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x60]
add dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xb0]
add dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xb4]
add dword [esp + 0x68], 4
add dword [esp + 0x9c], ecx
dec dword [esp + 0x78]
jne 0x4a3f65
mov edx, dword [esp + 0x10]
fild dword [esp + 0x10]
test edx, edx
jns 0x4a419d
fadd qword [0x50f830]
fld1
mov eax, dword [esp + 0x14]
fdivrp st(1)
fst qword [esp + 0x58]
fild dword [esp + 0x14]
test eax, eax
jns 0x4a41b7
fadd qword [0x50f830]
mov ecx, dword [esp + 0x18]
fmul st(1)
fst qword [esp + 0x78]
fild dword [esp + 0x18]
test ecx, ecx
jns 0x4a41cf
fadd qword [0x50f830]
mov edx, dword [esp + 0x1c]
fmul st(2)
fst qword [esp + 0x70]
fld st(1)
fmulp st(2)
fxch st(1)
fst qword [esp + 0x60]
fild dword [esp + 0x1c]
test edx, edx
jns 0x4a41f1
fadd qword [0x50f830]
mov eax, dword [esp + 0x20]
fmul st(3)
fsubrp st(1)
fst qword [esp + 0x80]
fld st(1)
fmulp st(2)
fxch st(1)
fst qword [esp + 0x68]
fild dword [esp + 0x20]
test eax, eax
jns 0x4a4218
fadd qword [0x50f830]
fmulp st(3)
fsubp st(2)
fxch st(1)
fst qword [esp + 0x88]
fldz
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x4a423d
fstp st(2)
fld st(1)
fst qword [esp + 0x80]
fxch st(2)
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4a4251
fstp st(1)
fst qword [esp + 0x88]
jmp 0x4a4253
fstp st(0)
fmulp st(1)
call fcn.004d8b70
fld qword [esp + 0x78]
fld st(0)
mov ecx, dword [esp + 0x24]
fld qword [0x50f840]
fmul st(1), st(0)
fld qword [esp + 0x70]
fmul st(2), st(0)
fld qword [0x50eaf8]
fadd st(3), st(0)
fld qword [esp + 0x68]
fadd qword [esp + 0x60]
faddp st(1)
fdivp st(3)
fld st(4)
fmulp st(2)
fld qword [0x50eb00]
fadd st(2), st(0)
fld qword [esp + 0x88]
fadd qword [esp + 0x80]
faddp st(1)
fdivp st(2)
fxch st(2)
fmulp st(1)
fild dword [esp + 0x24]
test ecx, ecx
jns 0x4a42b6
fadd qword [0x50f830]
fmul qword [esp + 0x58]
pop edi
fxch st(2)
pop esi
fmulp st(3)
pop ebp
fxch st(1)
pop ebx
fsubrp st(2)
fld qword [0x50eb08]
fadd st(2), st(0)
faddp st(3)
fxch st(1)
fdivrp st(2)
fmulp st(1)
add esp, 0x84
ret