Function at 0x6d7ee60a
Capabilities:
Check if file exists
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x10d4]
mov eax, 0x1154
call fcn.6d7f99b0
mov eax, dword [0x6d808560]
xor eax, ebp
mov dword [ebp + 0x10d0], eax
mov eax, dword [ebp + 0x10dc]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, 0x20019
push edi
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10e0]
push 0x6d7fdc84
mov esi, 0x80004005
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call fcn.6d7f9c30
test eax, eax
je 0x6d7ee6c2
lea ecx, [ebp - 0x70]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x58]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x64]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x7c]
call fcn.6d7e2c8b
mov ecx, dword [ebp + 0x10d0]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7f98d8
add ebp, 0x10d4
leave
ret
push edi
push 0x6d7fdc90
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x64]
call fcn.6d7f9c30
test eax, eax
jne 0x6d7ee688
push edi
push 0x6d7fdc9c
push dword [ebp - 0x64]
lea ecx, [ebp - 0x58]
call fcn.6d7f9c30
test eax, eax
jne 0x6d7ee98a
mov esi, 0x400
lea edi, [esi - 1]
push edi
lea eax, [ebp + 0xbcd]
push ebx
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x38], esi
mov byte [ebp + 0xbcc], bl
call sub.MSVCR100.dll_memset
push dword [ebp - 0x44]
push dword [ebp + 0x10e4]
push dword [ebp - 0x4c]
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0x18
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0xbcc]
push eax
push ebx
jmp 0x6d7ee979
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x38], ebx
jbe 0x6d7ee961
cmp byte [ebp + eax + 0xbcc], 0x2e
jne 0x6d7ee759
inc ecx
cmp ecx, 1
jg 0x6d7ee768
inc eax
cmp eax, dword [ebp - 0x38]
jb 0x6d7ee749
cmp ecx, 1
jle 0x6d7ee961
push 3
lea eax, [ebp + 0xbcc]
push 0x6d7fdcb8
push eax
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
js 0x6d7ee961
push 0x20019
lea eax, [ebp + 0xbcc]
push eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.6d7f9c30
test eax, eax
jne 0x6d7ee98a
push 5
push dword [ebp - 0x44]
lea eax, [ebp + 0xbcc]
push eax
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x6d7ee961
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp + 0xbcc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x6d7ee7ec
cmp dl, bl
je 0x6d7ee7e8
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x6d7ee7ec
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x6d7ee7cc
xor eax, eax
jmp 0x6d7ee7f1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jl 0x6d7ee961
push 0x103
lea eax, [ebp + 0xfcd]
push ebx
push eax
mov dword [ebp - 0x3c], 0x104
mov byte [ebp + 0xfcc], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0xfcc]
push eax
push 0x6d7fdcbc
lea ecx, [ebp - 0x70]
call fcn.6d7f9c30
test eax, eax
jne 0x6d7ee961
push edi
lea eax, [ebp + 0x3cd]
push ebx
push eax
mov byte [ebp + 0x3cc], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp + 0x3cc]
push eax
lea eax, [ebp + 0xfcc]
push eax
call dword [sym.imp.kernel32.dll_GetLongPathNameA]
push edi
lea eax, [ebp - 0x33]
push ebx
push eax
mov byte [ebp - 0x34], bl
call sub.MSVCR100.dll_memset
lea eax, [ebp + 0xbcc]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x6d7ee881
sub eax, ecx
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x34]
mov eax, ebx
mov cl, byte [ebp + eax + 0xbcc]
cmp cl, 0x2e
je 0x6d7ee8a1
mov byte [edx], cl
inc edx
inc eax
cmp eax, dword [ebp - 0x80]
jbe 0x6d7ee892
push edi
lea eax, [ebp + 0x7cd]
push ebx
push eax
mov byte [ebp + 0x7cc], bl
call sub.MSVCR100.dll_memset
lea eax, [ebp + 0x3cc]
push eax
lea eax, [ebp + 0x7cc]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
push str._bin_
lea eax, [ebp + 0x7cc]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strcat_s]
mov eax, dword [ebp - 0x44]
add esp, 0x24
cmp byte [eax + 2], 0x33
lea eax, [ebp + 0x7cc]
jne 0x6d7ee8fc
push str.npjava
jmp 0x6d7ee901
push str.npjpi
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strcat_s]
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 0x7cc]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strcat_s]
push str..dll
lea eax, [ebp + 0x7cc]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strcat_s]
add esp, 0x18
lea eax, [ebp + 0x7cc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x6d7ee961
lea eax, [ebp + 0xbcc]
push eax
push dword [ebp + 0x10e4]
push dword [ebp - 0x4c]
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov dword [ebp - 0x40], ebx
inc dword [ebp - 0x48]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0xbcc]
push eax
push dword [ebp - 0x48]
mov dword [ebp - 0x38], esi
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x6d7ee73c
mov esi, dword [ebp - 0x40]
jmp 0x6d7ee688