Function at 0x6d4494
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.0x6d44f0
jmp dword [ecx*4 + 0x6d44f7]
push 4
push 0x7c3bb0
lea eax, [ebp - 4]
push eax
call sub.msvcrt.dll_strncpy
add esp, 0xc
jmp case.default.0x6d44f0
push 4
push 0x7c3bb5
lea edx, [ebp - 4]
push edx
call sub.msvcrt.dll_strncpy
add esp, 0xc
jmp case.default.0x6d44f0
push 4
push 0x7c3bba
lea ecx, [ebp - 4]
push ecx
call sub.msvcrt.dll_strncpy
add esp, 0xc
jmp case.default.0x6d44f0
push 4
push 0x7c3bbf
lea eax, [ebp - 4]
push eax
call sub.msvcrt.dll_strncpy
add esp, 0xc
jmp case.default.0x6d44f0
push 4
push 0x7c3bc4
lea edx, [ebp - 4]
push edx
call sub.msvcrt.dll_strncpy
add esp, 0xc
jmp case.default.0x6d44f0
mov eax, 1
jmp 0x6d4b10
mov edx, dword [ebp + 0xc]
cmp byte [edx + 0x10], 0
je 0x6d459e
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0x6d459a
cmp dword [ebp + 0x20], 1
je 0x6d4601
test eax, eax
jne 0x6d4601
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 0x6d4b0e
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0x24]
jge 0x6d4b0e
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 0x6d4648
sub al, 9
je 0x6d47ab
sub al, 4
je 0x6d483b
sub al, 2
je 0x6d46f7
jmp 0x6d4b00
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x1c]
jle 0x6d4660
mov eax, dword [ebx + 0x4c]
mov dword [ecx], eax
mov edx, dword [ebx + 0x5c]
mov dword [ecx + 0xc], edx
jmp 0x6d4b00
cmp dword [ebp + 0x18], 0
jne 0x6d4686
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 0x6d4b00
cmp dword [ebp - 0xc], 1
jne 0x6d46e0
mov eax, dword [ebx + 0x84]
cmp eax, dword [ebx + 0x5c]
jne 0x6d46be
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 0x6d4b00
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 0x6d4b00
mov edx, dword [ebx + 0x84]
dec edx
mov dword [ecx], edx
mov eax, dword [ebx + 0x84]
mov dword [ecx + 0xc], eax
jmp 0x6d4b00
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x1c]
jle 0x6d4710
mov eax, dword [ebx + 0x48]
mov dword [ecx - 4], eax
mov edx, dword [ebx + 0x58]
mov dword [ecx + 8], edx
jmp 0x6d4b00
cmp dword [ebp + 0x18], 0
jne 0x6d4737
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 0x6d4b00
cmp dword [ebp - 0xc], 1
jne 0x6d4793
mov eax, dword [ebx + 0x80]
cmp eax, dword [ebx + 0x58]
jne 0x6d4770
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 0x6d4b00
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 0x6d4b00
mov edx, dword [ebx + 0x80]
dec edx
mov dword [ecx - 4], edx
mov eax, dword [ebx + 0x80]
mov dword [ecx + 8], eax
jmp 0x6d4b00
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x1c]
jle 0x6d47c4
mov eax, dword [ebx + 0x44]
mov dword [ecx + 0x10], eax
mov edx, dword [ebx + 0x54]
mov dword [ecx + 4], edx
jmp 0x6d4b00
cmp dword [ebp + 0x18], 0
jne 0x6d47e2
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 0x6d4b00
cmp dword [ebp - 0xc], 1
jne 0x6d4829
mov eax, dword [ebx + 0x7c]
cmp eax, dword [ebx + 0x54]
jne 0x6d480f
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 0x6d4b00
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 0x6d4b00
mov edx, dword [ebx + 0x7c]
dec edx
mov dword [ecx + 0x10], edx
mov eax, dword [ebx + 0x7c]
mov dword [ecx + 4], eax
jmp 0x6d4b00
mov edx, dword [ebx + 0x24]
sub edx, 2
jb 0x6d4848
jmp 0x6d4908
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x6d4861
mov edx, dword [ebx + 0x50]
mov dword [ecx + 0x14], edx
mov eax, dword [ebx + 0x60]
mov dword [ecx + 0x18], eax
jmp 0x6d4b00
cmp dword [ebp + 0x18], 0
jne 0x6d488e
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 0x6d4b00
cmp dword [ebp - 0xc], 1
jne 0x6d48f0
mov eax, dword [ebx + 0x88]
cmp eax, dword [ebx + 0x60]
jne 0x6d48cd
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 0x6d4b00
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 0x6d4b00
mov edx, dword [ebx + 0x88]
dec edx
mov dword [ecx + 0x14], edx
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x18], eax
jmp 0x6d4b00
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x1c]
jle 0x6d492d
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 0x6d4b00
cmp dword [ebp + 0x18], 0
jne 0x6d499e
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 0x6d4b00
cmp dword [ebp - 0xc], 1
jne 0x6d4abc
mov edx, dword [ebx + 0x8c]
cmp edx, dword [ebx + 0x68]
jl 0x6d4a72
mov eax, dword [ebx + 0x90]
cmp eax, dword [ebx + 0x70]
jl 0x6d4a03
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 0x6d4a33
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 0x6d4b00
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 0x6d4b00
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 0x6d4b00
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 0x6d4b00
dec dword [ebp - 8]
dec esi
cmp dword [ebp - 8], 0
jge 0x6d4625
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret