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

Disassembly:
mov eax, 0xbc
call fcn.00c4a98b
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0xd4]
mov ecx, dword [ebx + 0x20]
add ecx, dword [ebx]
mov ebp, dword [esp + 0xd8]
mov edx, dword [ebp + 0x20]
add edx, dword [ebp]
mov dword [esp + 0x88], ecx
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebx + 4]
mov dword [esp + 0xa8], edx
mov edx, dword [ebp + 4]
add edx, dword [ebp + 0x24]
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebx + 0x28]
add ecx, dword [ebx + 8]
mov dword [esp + 0xac], edx
mov dword [esp + 0x90], ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0x28]
lea edx, [ebp + 0x28]
mov dword [esp + 0xb0], ecx
mov ecx, dword [ebx + 0x2c]
add ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x94], ecx
mov ecx, dword [ebp + 0x2c]
add ecx, dword [ebp + 0xc]
mov dword [esp + 0xb4], ecx
mov ecx, dword [ebx + 0x30]
add ecx, dword [ebx + 0x10]
xor esi, esi
mov dword [esp + 0x98], ecx
mov ecx, dword [ebp + 0x30]
add ecx, dword [ebp + 0x10]
mov dword [esp + 0xb8], ecx
mov ecx, dword [ebx + 0x34]
add ecx, dword [ebx + 0x14]
xor edi, edi
mov dword [esp + 0x9c], ecx
mov ecx, dword [ebp + 0x34]
add ecx, dword [ebp + 0x14]
mov dword [esp + 0x74], eax
mov dword [esp + 0xbc], ecx
mov ecx, dword [ebx + 0x38]
add ecx, dword [ebx + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0xa0], ecx
mov ecx, dword [ebp + 0x38]
add ecx, dword [ebp + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0xc0], ecx
mov ecx, dword [ebx + 0x3c]
add ecx, dword [ebx + 0x1c]
mov dword [esp + 0x28], esi
mov dword [esp + 0xa4], ecx
mov ecx, dword [ebp + 0x3c]
add ecx, dword [ebp + 0x1c]
mov dword [esp + 0x38], esi
mov dword [esp + 0xc4], ecx
lea ecx, [eax + 0x20]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x88]
sub ecx, 4
mov dword [esp + 0x58], ecx
mov ecx, ebx
sub ecx, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x54], edx
mov dword [esp + 0x80], ecx
jmp 0xc402cd
xor esi, esi
mov edx, dword [esp + 0x38]
inc edx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
cmp edx, 2
jl 0xc403eb
mov edx, dword [esp + 0x80]
add edx, dword [esp + 0x48]
add ebp, 0x24
mov dword [esp + 0x1c], edx
mov eax, ebx
lea edx, [esp + 0x88]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x58]
sub eax, edx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax - 0x20]
mov edx, dword [esp + 0x10]
mul dword [edx - 0x24]
add dword [esp + 0x68], eax
mov eax, dword [esp + 0x84]
mov eax, dword [eax + ebp]
adc dword [esp + 0x6c], edx
mov edx, dword [esp + 0x10]
mul dword [edx - 0x20]
add dword [esp + 0x3c], eax
mov eax, dword [esp + ecx*4 + 0xa8]
adc dword [esp + 0x40], edx
mul dword [ebp + 4]
mov esi, eax
mov eax, dword [esp + ecx*4 + 0xac]
mov dword [esp + 0x20], edx
mul dword [ebp]
mov ebp, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x20]
adc eax, edx
add edi, esi
adc dword [esp + 0x28], eax
mov esi, dword [esp + 0x10]
mov eax, dword [ebp - 4]
mul dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [esi - 4]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x44], edx
mul dword [ebp]
mov ebp, dword [esp + 0x70]
add esi, eax
mov eax, dword [esp + 0x44]
adc eax, edx
add dword [esp + 0x14], esi
adc dword [esp + 0x18], eax
mov eax, 8
add dword [esp + 0x10], eax
sub dword [esp + 0x1c], eax
sub ebp, eax
mov eax, dword [esp + 0x34]
add ecx, 2
dec eax
mov dword [esp + 0x70], ebp
cmp ecx, eax
jl 0xc4032b
mov ebp, dword [esp + 0xd8]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
cmp ecx, edx
jge 0xc40436
mov eax, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + eax*4]
mul dword [ebp + ecx*4]
mov esi, eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + edx*4 + 0x88]
mul dword [esp + ecx*4 + 0xa8]
add edi, eax
mov eax, dword [esp + 0x10]
adc dword [esp + 0x28], edx
mov eax, dword [ebx + eax*4 + 0x20]
mul dword [ebp + ecx*4 + 0x20]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
adc dword [esp + 0x18], edx
mov ecx, dword [esp + 0x3c]
xor edx, edx
add ecx, dword [esp + 0x68]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x40]
adc edx, dword [esp + 0x6c]
add esi, ecx
adc eax, edx
sub edi, esi
sbb dword [esp + 0x28], eax
add dword [esp + 0x14], esi
mov esi, dword [esp + 0x34]
mov ecx, esi
adc dword [esp + 0x18], eax
xor eax, eax
xor edx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
cmp ecx, 8
jge 0xc405d3
cmp dword [esp + 0x5c], 2
jl 0xc4055e
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x54]
sub eax, ecx
lea ecx, [esp + eax*4 + 0xa4]
mov dword [esp + 0x10], ecx
lea ecx, [ebx + eax*4 + 0x20]
lea eax, [esp + 0x88]
sub eax, ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x44], eax
jmp 0xc404c0
mov eax, dword [esp + 0x44]
mov eax, dword [eax + ecx]
mul dword [esp + esi*4 + 0xa8]
add dword [esp + 0x4c], eax
mov eax, dword [ebp - 0x20]
adc dword [esp + 0x50], edx
mul dword [ecx - 4]
mov ebx, eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x20], edx
mul dword [ecx]
add ebx, eax
mov eax, dword [esp + 0x20]
adc eax, edx
sub dword [esp + 0x14], ebx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
sbb dword [esp + 0x18], eax
mov eax, dword [esp + esi*4 + 0xac]
mul dword [edx]
add dword [esp + 0x60], eax
mov eax, dword [ebx - 4]
adc dword [esp + 0x64], edx
mul dword [ecx + 0x20]
mov ebp, eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x20], edx
mul dword [ebx]
add ebp, eax
mov eax, dword [esp + 0x20]
adc eax, edx
add edi, ebp
adc dword [esp + 0x28], eax
sub dword [esp + 0x10], 8
mov ebp, ebx
add esi, 2
add ebp, 8
sub ecx, 8
mov dword [esp + 0x1c], ebp
cmp esi, 7
jl 0xc404bc
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
cmp esi, 8
jge 0xc405b3
mov eax, dword [esp + 0x38]
sub eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + eax*4 + 0x20]
mul dword [ebp + esi*4]
sub ecx, eax
sbb dword [esp + 0x18], edx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0xa8]
mul dword [esp + esi*4 + 0xa8]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + edx*4 + 0x40]
mul dword [ebp + esi*4 + 0x20]
add edi, eax
adc dword [esp + 0x28], edx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x60]
add esi, dword [esp + 0x4c]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x64]
adc esi, dword [esp + 0x50]
add eax, dword [esp + 0x78]
mov dword [esp + 0x7c], esi
adc edx, esi
jmp 0xc405d7
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add edi, eax
adc dword [esp + 0x28], edx
add ecx, eax
mov eax, dword [esp + 0x48]
adc esi, edx
mov edx, ecx
shrd ecx, esi, 0x1c
and edx, 0xfffffff
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax - 0x20], edx
mov edx, edi
shrd edi, ecx, 0x1c
and edx, 0xfffffff
shr ecx, 0x1c
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], edx
mov edx, 4
add dword [esp + 0x54], edx
add dword [esp + 0x58], edx
dec ecx
shr esi, 0x1c
add eax, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], eax
cmp ecx, reloc.MSVCRT.dll_strncpy
jg 0xc402cb
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 0x20]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
xor ebx, ebx
add edx, edi
adc ebx, ecx
add esi, edx
mov edx, dword [esp + 0x18]
adc edx, ebx
add edi, dword [eax]
mov ebx, esi
adc ecx, 0
and ebx, 0xfffffff
mov dword [eax + 0x20], ebx
mov ebx, edi
shrd edi, ecx, 0x1c
add dword [eax + 4], edi
shrd esi, edx, 0x1c
add dword [eax + 0x24], esi
pop edi
and ebx, 0xfffffff
pop esi
shr ecx, 0x1c
mov ecx, dword [esp + 0xc0]
pop ebp
mov dword [eax], ebx
pop ebx
xor ecx, esp
shr edx, 0x1c
call fcn.00c4686f
add esp, 0xbc
ret