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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
movsx esi, word [eax]
movsx ebx, word [eax + 2]
lea edi, [esi + 1]
push 8
lea eax, [ebx + 1]
push esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], eax
call fcn.00547150
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4c16ce
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 8
push ebx
call fcn.00547150
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x4c16ed
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 8
push edi
call fcn.00547150
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4c170c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28]
push 8
push ecx
call fcn.00547150
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
jne 0x4c172f
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 8
push edi
call fcn.00547150
add esp, 8
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x4c174e
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x28]
push 8
push edx
call fcn.00547150
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4c1771
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
push 4
movsx eax, word [edi + 0xc]
push eax
call fcn.00547150
add esp, 8
mov dword [edi + 0x10], eax
test eax, eax
jne 0x4c1796
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [edi + 0xc], 0
mov dword [esp + 0x2c], 0
jle 0x4c17d4
movsx ecx, word [edi + 0xe]
push 0x18
push ecx
call fcn.00547150
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 0x10]
cmp dword [eax + ecx*4], 0
je 0x4c17eb
movsx edx, word [edi + 0xc]
inc ecx
cmp ecx, edx
mov dword [esp + 0x2c], ecx
jl 0x4c17a5
mov eax, dword [esp + 0x30]
push 4
push eax
call fcn.00547150
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4c17f7
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], 0
test ecx, ecx
jle 0x4c183c
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
push 0x18
push ecx
call fcn.00547150
mov edx, dword [esp + 0x28]
add esp, 8
test eax, eax
mov dword [edx], eax
je 0x4c17eb
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
jl 0x4c180b
movsx eax, word [edi + 0xc]
test eax, eax
mov dword [esp + 0x24], 0
jle 0x4c1bee
push eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x90]
push 0x571510
push ecx
call dword [0x550c38]
lea edx, [esp + 0x98]
push edx
call fcn.00547162
add esp, 0x14
call fcn.00458de0
test eax, eax
jne 0x4c17eb
cmp word [edi + 0xe], ax
mov dword [esp + 0x5c], eax
jle 0x4c1bd9
mov dword [esp + 0x48], eax
mov eax, 8
mov dword [esp + 0x20], eax
jmp 0x4c18ae
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x68]
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0x24]
test esi, esi
fld qword [edx + ecx*8]
fadd qword [edx + ecx*8 + 8]
lea ecx, [ecx*8 + 8]
mov edx, dword [edi + 0x1c]
fmul qword [0x550f68]
fstp qword [esp + 0x60]
fld qword [edx + eax - 8]
fadd qword [edx + eax]
fmul qword [0x550f68]
fstp qword [esp + 0x50]
jle 0x4c190b
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], esi
mov eax, ecx
add ecx, 8
add eax, dword [edi + 0x18]
add edx, 8
fld qword [eax]
fsub qword [esp + 0x60]
dec dword [esp + 0x18]
fstp qword [edx - 8]
jne 0x4c18ed
mov eax, dword [esp + 0x20]
test ebx, ebx
jle 0x4c1931
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov edx, eax
add eax, 8
add edx, dword [edi + 0x1c]
add ecx, 8
fld qword [edx]
fsub qword [esp + 0x50]
dec dword [esp + 0x18]
fstp qword [ecx - 8]
jne 0x4c1917
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push esi
call fcn.004c13b0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
push edx
push eax
push ebx
call fcn.004c13b0
add esp, 0x18
xor edi, edi
test esi, esi
mov dword [esp + 0x18], edi
jl 0x4c19d1
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
lea eax, [edx + esi*8]
mov dword [esp + 0xc], eax
push edi
call fcn.004c14b0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld qword [0x550fa8]
fild dword [esp + 0x1c]
call fcn.00547ca4
mov ecx, dword [esp + 0x10]
push esi
fmulp st(1)
fmul qword [ecx]
fstp qword [esp + 0x20]
call fcn.004c14b0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
fild dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 8
inc edi
sub edx, 8
fdivr qword [esp + 0x18]
add eax, 8
cmp edi, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
fstp qword [eax - 8]
jle 0x4c1971
xor edi, edi
test ebx, ebx
mov dword [esp + 0x18], edi
jl 0x4c1a4e
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
lea ecx, [eax + ebx*8]
mov dword [esp + 0xc], ecx
push edi
call fcn.004c14b0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld qword [0x550fa8]
fild dword [esp + 0x1c]
call fcn.00547ca4
mov edx, dword [esp + 0x10]
push ebx
fmulp st(1)
fmul qword [edx]
fstp qword [esp + 0x20]
call fcn.004c14b0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
fild dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 8
inc edi
sub edx, 8
fdivr qword [esp + 0x18]
add eax, 8
cmp edi, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
fstp qword [eax - 8]
jle 0x4c19ee
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x64]
push edi
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ebx
push esi
push ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
call fcn.004c1c90
add esp, 0x20
test eax, eax
jne 0x4c17eb
test esi, esi
jl 0x4c1b87
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
lea eax, [edx + esi*8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x50], eax
test ebx, ebx
jl 0x4c1b59
fld qword [0x550fa8]
fild dword [esp + 0x14]
call fcn.00547ca4
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], ebx
fstp qword [esp + 0x60]
lea esi, [edx + ebx*8]
mov ebx, dword [esp + 0x28]
xor edi, edi
fld qword [0x550fa8]
fild dword [esp + 0xc]
call fcn.00547ca4
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
sub esp, 8
mov ecx, edi
fmul qword [eax]
mov eax, dword [edx]
add ecx, eax
lea eax, [esp + 0x78]
fmul qword [esp + 0x68]
fmul qword [esi]
fstp qword [esp]
push ecx
push eax
call fcn.00418e80
mov edx, dword [esp + 0x1c]
add esp, 0x10
sub esi, 8
dec edx
add edi, 0x18
dec ebx
mov dword [esp + 0xc], edx
jne 0x4c1b0a
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
sub esi, 8
dec edx
add ecx, 4
dec eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jne 0x4c1ae2
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x70]
mov edx, dword [ecx + 0x10]
mov ecx, 6
mov edi, dword [edx + eax*4]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x48]
add edi, eax
mov eax, dword [esp + 0x5c]
add edx, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x48], edx
inc eax
movsx edx, word [ecx + 0xe]
add esi, 8
cmp eax, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x20], esi
jl 0x4c18a3
mov esi, dword [esp + 0x68]
mov edi, ecx
mov ecx, dword [esp + 0x24]
movsx eax, word [edi + 0xc]
inc ecx
cmp ecx, eax
mov dword [esp + 0x24], ecx
jl 0x4c1850
mov eax, dword [esp + 0x38]
push 8
push esi
push eax
call fcn.0054714a
mov ecx, dword [esp + 0x48]
push 8
push ebx
push ecx
call fcn.0054714a
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push 8
push edi
push edx
call fcn.0054714a
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x68]
push 8
push esi
push eax
call fcn.0054714a
mov ecx, dword [esp + 0x7c]
push 8
push edi
push ecx
call fcn.0054714a
mov edx, dword [esp + 0x7c]
push 8
push esi
push edx
call fcn.0054714a
add esp, 0x48
test edi, edi
jle 0x4c1c69
mov esi, dword [esp + 0x2c]
mov ebx, edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esi]
push 0x18
push eax
push ecx
call fcn.0054714a
add esp, 0xc
add esi, 4
dec ebx
jne 0x4c1c51
mov edx, dword [esp + 0x2c]
push 4
push edi
push edx
call fcn.0054714a
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret