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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], 1
imul edx, dword [ebp + 0x10], 0x15d4
lea ebx, [esi + esi*8]
mov eax, dword [ebp + 0xc]
lea ebx, [esi + ebx*4]
mov eax, dword [eax + 0x6c]
shl ebx, 2
add eax, edx
add ebx, eax
mov eax, esi
shl eax, 3
add ebx, 0x1ac
sub eax, esi
lea eax, [esi + eax*4]
mov dword [edi + eax*8 + 0x28], 1
mov edx, dword [ebx + 0x24]
mov dword [edi + eax*8 + 0x50], edx
mov ecx, dword [ebx + 0x24]
inc ecx
cmp ecx, 5
ja case.default.0x4c14c0
jmp dword [ecx*4 + 0x4c14c7]
push 4
push 0x5df8e4
lea eax, [ebp - 4]
push eax
call sub.msvcrt.dll_strncpy
add esp, 0xc
jmp case.default.0x4c14c0
push 4
push 0x5df8e9
lea edx, [ebp - 4]
push edx
call sub.msvcrt.dll_strncpy
add esp, 0xc
jmp case.default.0x4c14c0
push 4
push 0x5df8ee
lea ecx, [ebp - 4]
push ecx
call sub.msvcrt.dll_strncpy
add esp, 0xc
jmp case.default.0x4c14c0
push 4
push 0x5df8f3
lea eax, [ebp - 4]
push eax
call sub.msvcrt.dll_strncpy
add esp, 0xc
jmp case.default.0x4c14c0
push 4
push 0x5df8f8
lea edx, [ebp - 4]
push edx
call sub.msvcrt.dll_strncpy
add esp, 0xc
jmp case.default.0x4c14c0
mov eax, 1
jmp 0x4c1ae0
mov edx, dword [ebp + 0xc]
cmp byte [edx + 0x10], 0
je 0x4c156e
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0x4c156a
cmp dword [ebp + 0x20], 1
je 0x4c15d1
test eax, eax
jne 0x4c15d1
mov eax, esi
shl eax, 3
sub eax, esi
lea eax, [esi + eax*4]
mov edx, dword [ebx + 0x48]
mov dword [edi + eax*8 + 0x2c], edx
mov ecx, dword [ebx + 0x58]
mov dword [edi + eax*8 + 0x38], ecx
mov edx, dword [ebx + 0x4c]
mov dword [edi + eax*8 + 0x30], edx
mov ecx, dword [ebx + 0x5c]
mov dword [edi + eax*8 + 0x3c], ecx
mov edx, dword [ebx + 0x44]
mov dword [edi + eax*8 + 0x40], edx
mov ecx, dword [ebx + 0x54]
mov dword [edi + eax*8 + 0x34], ecx
mov edx, dword [ebx + 0x50]
mov dword [edi + eax*8 + 0x44], edx
mov ecx, dword [ebx + 0x60]
mov dword [edi + eax*8 + 0x48], ecx
mov edx, dword [ebx + 0x64]
mov dword [edi + eax*8 + 0x60], edx
mov ecx, dword [ebx + 0x6c]
mov dword [edi + eax*8 + 0x68], ecx
mov edx, dword [ebx + 0x68]
mov dword [edi + eax*8 + 0x64], edx
mov ecx, dword [ebx + 0x70]
mov dword [edi + eax*8 + 0x6c], ecx
jmp 0x4c1ade
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0x24]
jge 0x4c1ade
mov eax, esi
shl eax, 3
sub eax, esi
mov dword [ebp - 8], 3
lea eax, [esi + eax*4]
lea esi, [ebp - 1]
lea ecx, [edi + eax*8 + 0x30]
mov al, byte [esi]
sub al, 0x43
je 0x4c1618
sub al, 9
je 0x4c177b
sub al, 4
je 0x4c180b
sub al, 2
je 0x4c16c7
jmp 0x4c1ad0
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x1c]
jle 0x4c1630
mov eax, dword [ebx + 0x4c]
mov dword [ecx], eax
mov edx, dword [ebx + 0x5c]
mov dword [ecx + 0xc], edx
jmp 0x4c1ad0
cmp dword [ebp + 0x18], 0
jne 0x4c1656
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x84], eax
mov dword [ecx], eax
mov edx, dword [ebx + 0x84]
inc edx
mov dword [ecx + 0xc], edx
inc dword [ebx + 0x84]
jmp 0x4c1ad0
cmp dword [ebp - 0xc], 1
jne 0x4c16b0
mov eax, dword [ebx + 0x84]
cmp eax, dword [ebx + 0x5c]
jne 0x4c168e
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x84], eax
mov dword [ecx], eax
mov edx, dword [ebx + 0x84]
inc edx
mov dword [ecx + 0xc], edx
inc dword [ebx + 0x84]
mov dword [ebp - 0xc], 1
jmp 0x4c1ad0
mov eax, dword [ebx + 0x84]
mov dword [ecx], eax
mov edx, dword [ebx + 0x84]
inc edx
mov dword [ecx + 0xc], edx
inc dword [ebx + 0x84]
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4c1ad0
mov edx, dword [ebx + 0x84]
dec edx
mov dword [ecx], edx
mov eax, dword [ebx + 0x84]
mov dword [ecx + 0xc], eax
jmp 0x4c1ad0
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x1c]
jle 0x4c16e0
mov eax, dword [ebx + 0x48]
mov dword [ecx - 4], eax
mov edx, dword [ebx + 0x58]
mov dword [ecx + 8], edx
jmp 0x4c1ad0
cmp dword [ebp + 0x18], 0
jne 0x4c1707
mov eax, dword [ebx + 0x48]
mov dword [ebx + 0x80], eax
mov dword [ecx - 4], eax
mov edx, dword [ebx + 0x80]
inc edx
mov dword [ecx + 8], edx
inc dword [ebx + 0x80]
jmp 0x4c1ad0
cmp dword [ebp - 0xc], 1
jne 0x4c1763
mov eax, dword [ebx + 0x80]
cmp eax, dword [ebx + 0x58]
jne 0x4c1740
mov eax, dword [ebx + 0x48]
mov dword [ebx + 0x80], eax
mov dword [ecx - 4], eax
mov edx, dword [ebx + 0x80]
inc edx
mov dword [ecx + 8], edx
inc dword [ebx + 0x80]
mov dword [ebp - 0xc], 1
jmp 0x4c1ad0
mov eax, dword [ebx + 0x80]
mov dword [ecx - 4], eax
mov edx, dword [ebx + 0x80]
inc edx
mov dword [ecx + 8], edx
inc dword [ebx + 0x80]
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4c1ad0
mov edx, dword [ebx + 0x80]
dec edx
mov dword [ecx - 4], edx
mov eax, dword [ebx + 0x80]
mov dword [ecx + 8], eax
jmp 0x4c1ad0
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x1c]
jle 0x4c1794
mov eax, dword [ebx + 0x44]
mov dword [ecx + 0x10], eax
mov edx, dword [ebx + 0x54]
mov dword [ecx + 4], edx
jmp 0x4c1ad0
cmp dword [ebp + 0x18], 0
jne 0x4c17b2
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x7c], eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebx + 0x7c]
inc edx
mov dword [ecx + 4], edx
inc dword [ebx + 0x7c]
jmp 0x4c1ad0
cmp dword [ebp - 0xc], 1
jne 0x4c17f9
mov eax, dword [ebx + 0x7c]
cmp eax, dword [ebx + 0x54]
jne 0x4c17df
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x7c], eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebx + 0x7c]
inc edx
mov dword [ecx + 4], edx
inc dword [ebx + 0x7c]
mov dword [ebp - 0xc], 1
jmp 0x4c1ad0
mov eax, dword [ebx + 0x7c]
mov dword [ecx + 0x10], eax
mov edx, dword [ebx + 0x7c]
inc edx
mov dword [ecx + 4], edx
inc dword [ebx + 0x7c]
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4c1ad0
mov edx, dword [ebx + 0x7c]
dec edx
mov dword [ecx + 0x10], edx
mov eax, dword [ebx + 0x7c]
mov dword [ecx + 4], eax
jmp 0x4c1ad0
mov edx, dword [ebx + 0x24]
sub edx, 2
jb 0x4c1818
jmp 0x4c18d8
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x4c1831
mov edx, dword [ebx + 0x50]
mov dword [ecx + 0x14], edx
mov eax, dword [ebx + 0x60]
mov dword [ecx + 0x18], eax
jmp 0x4c1ad0
cmp dword [ebp + 0x18], 0
jne 0x4c185e
mov edx, dword [ebx + 0x50]
mov dword [ebx + 0x88], edx
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x14], eax
mov edx, dword [ebx + 0x88]
inc edx
mov dword [ecx + 0x18], edx
inc dword [ebx + 0x88]
jmp 0x4c1ad0
cmp dword [ebp - 0xc], 1
jne 0x4c18c0
mov eax, dword [ebx + 0x88]
cmp eax, dword [ebx + 0x60]
jne 0x4c189d
mov edx, dword [ebx + 0x50]
mov dword [ebx + 0x88], edx
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x14], eax
mov edx, dword [ebx + 0x88]
inc edx
mov dword [ecx + 0x18], edx
inc dword [ebx + 0x88]
mov dword [ebp - 0xc], 1
jmp 0x4c1ad0
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x14], eax
mov edx, dword [ebx + 0x88]
inc edx
mov dword [ecx + 0x18], edx
inc dword [ebx + 0x88]
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4c1ad0
mov edx, dword [ebx + 0x88]
dec edx
mov dword [ecx + 0x14], edx
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x18], eax
jmp 0x4c1ad0
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x1c]
jle 0x4c18fd
mov eax, dword [ebx + 0x64]
mov dword [ecx + 0x30], eax
mov edx, dword [ebx + 0x6c]
mov dword [ecx + 0x38], edx
mov eax, dword [ebx + 0x68]
mov dword [ecx + 0x34], eax
mov edx, dword [ebx + 0x70]
mov dword [ecx + 0x3c], edx
jmp 0x4c1ad0
cmp dword [ebp + 0x18], 0
jne 0x4c196e
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x8c], eax
mov edx, dword [ebx + 0x6c]
mov dword [ebx + 0x90], edx
mov eax, dword [ebx + 0x8c]
mov dword [ecx + 0x30], eax
mov eax, dword [ebx + 0x8c]
cdq
idiv dword [ebx + 0x74]
mov eax, dword [ebx + 0x8c]
add eax, dword [ebx + 0x74]
sub eax, edx
mov dword [ecx + 0x34], eax
mov edx, dword [ebx + 0x90]
mov dword [ecx + 0x38], edx
mov eax, dword [ebx + 0x90]
cdq
idiv dword [ebx + 0x78]
mov eax, dword [ebx + 0x90]
add eax, dword [ebx + 0x78]
sub eax, edx
mov dword [ecx + 0x3c], eax
mov edx, dword [ecx + 0x34]
mov dword [ebx + 0x8c], edx
mov eax, dword [ecx + 0x3c]
mov dword [ebx + 0x90], eax
jmp 0x4c1ad0
cmp dword [ebp - 0xc], 1
jne 0x4c1a8c
mov edx, dword [ebx + 0x8c]
cmp edx, dword [ebx + 0x68]
jl 0x4c1a42
mov eax, dword [ebx + 0x90]
cmp eax, dword [ebx + 0x70]
jl 0x4c19d3
mov edx, dword [ebx + 0x6c]
mov dword [ebx + 0x90], edx
mov eax, dword [ebx + 0x90]
mov dword [ecx + 0x38], eax
mov eax, dword [ebx + 0x90]
cdq
idiv dword [ebx + 0x78]
mov eax, dword [ebx + 0x90]
add eax, dword [ebx + 0x78]
sub eax, edx
mov dword [ecx + 0x3c], eax
mov eax, 1
mov edx, dword [ecx + 0x3c]
mov dword [ebx + 0x90], edx
mov dword [ebp - 0xc], 1
jmp 0x4c1a03
mov edx, dword [ebx + 0x90]
mov dword [ecx + 0x38], edx
mov edi, dword [ebx + 0x90]
mov eax, edi
cdq
idiv dword [ebx + 0x78]
add edi, dword [ebx + 0x78]
sub edi, edx
xor edx, edx
mov dword [ecx + 0x3c], edi
mov eax, dword [ecx + 0x3c]
mov dword [ebx + 0x90], eax
mov eax, 1
mov dword [ebp - 0xc], edx
dec eax
jne 0x4c1ad0
mov edx, dword [ebx + 0x64]
mov dword [ebx + 0x8c], edx
mov eax, dword [ebx + 0x8c]
mov dword [ecx + 0x30], eax
mov eax, dword [ebx + 0x8c]
cdq
idiv dword [ebx + 0x74]
mov eax, dword [ebx + 0x8c]
add eax, dword [ebx + 0x74]
sub eax, edx
mov dword [ecx + 0x34], eax
mov edx, dword [ecx + 0x34]
mov dword [ebx + 0x8c], edx
jmp 0x4c1ad0
mov eax, dword [ebx + 0x8c]
mov dword [ecx + 0x30], eax
mov edi, dword [ebx + 0x8c]
mov eax, edi
cdq
idiv dword [ebx + 0x74]
add edi, dword [ebx + 0x74]
sub edi, edx
mov dword [ecx + 0x34], edi
mov eax, dword [ecx + 0x34]
mov dword [ebx + 0x8c], eax
mov edi, dword [ebx + 0x90]
mov eax, edi
cdq
idiv dword [ebx + 0x78]
sub edi, dword [ebx + 0x78]
sub edi, edx
xor edx, edx
mov dword [ecx + 0x38], edi
mov eax, dword [ebx + 0x90]
mov dword [ecx + 0x3c], eax
mov dword [ebp - 0xc], edx
jmp 0x4c1ad0
mov eax, dword [ebx + 0x8c]
cdq
idiv dword [ebx + 0x74]
mov eax, dword [ebx + 0x8c]
sub eax, dword [ebx + 0x74]
sub eax, edx
mov dword [ecx + 0x30], eax
mov edx, dword [ebx + 0x8c]
mov dword [ecx + 0x34], edx
mov eax, dword [ebx + 0x90]
cdq
idiv dword [ebx + 0x78]
mov eax, dword [ebx + 0x90]
sub eax, dword [ebx + 0x78]
sub eax, edx
mov dword [ecx + 0x38], eax
mov edx, dword [ebx + 0x90]
mov dword [ecx + 0x3c], edx
jmp 0x4c1ad0
dec dword [ebp - 8]
dec esi
cmp dword [ebp - 8], 0
jge 0x4c15f5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret