Function at 0x1000741e
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013380
push 0x10011b5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push esi
push edi
push str.RegQueryValueExA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x168], eax
mov eax, dword [str.REG_EXP]
mov dword [ebp - 0x40], eax
mov eax, dword [0x10017260]
mov dword [ebp - 0x3c], eax
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, str.AND_SZ
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x55]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.MSVCRT.dll_strcat
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x190], ebx
push 0x20
push ebx
lea eax, [ebp - 0x188]
push eax
call sub.MSVCRT.dll_memset
mov esi, 0x104
push esi
push ebx
lea eax, [ebp - 0x164]
push eax
call sub.MSVCRT.dll_memset
push esi
push ebx
lea eax, [ebp - 0x294]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x2c
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x298]
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10007508
or dword [ebp - 0x24], 0xffffffff
jmp 0x1000782a
mov eax, dword [ebp + 0x24]
sub eax, ebx
je 0x100076cd
dec eax
je 0x10007655
dec eax
je 0x10007523
dec eax
jmp 0x100077e1
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x20
push ebx
lea eax, [ebp - 0x188]
push eax
call sub.MSVCRT.dll_memset
push esi
push ebx
lea eax, [ebp - 0x164]
push eax
call sub.MSVCRT.dll_memset
push esi
push ebx
lea eax, [ebp - 0x294]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x24
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x190]
inc dword [ebp - 0x190]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp + 0x14]
push ecx
push ebx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x188]
push ecx
push eax
push dword [ebp - 0x298]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1000782a
mov eax, dword [ebp + 0x14]
dec eax
je 0x10007615
dec eax
je 0x10007608
dec eax
je 0x100075e9
dec eax
je 0x100075bc
sub eax, 3
jne 0x10007639
push str.REG_MULTI_SZ
jmp 0x100075ee
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x164]
push eax
push str.REG_DWORD
lea eax, [ebp - 0x188]
push eax
push str.__24s___15s_0x_x__d___r_n
lea eax, [ebp - 0x294]
push eax
call edi
add esp, 0x18
jmp 0x10007639
push str.REG_BINARY
lea eax, [ebp - 0x188]
push eax
push str.__24s___15s__r_n
lea eax, [ebp - 0x294]
push eax
call edi
add esp, 0x10
jmp 0x10007639
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x40]
push eax
jmp 0x10007621
lea eax, [ebp - 0x164]
push eax
push str.REG_SZ
lea eax, [ebp - 0x188]
push eax
push str.__24s___15s__s__r_n
lea eax, [ebp - 0x294]
push eax
call edi
add esp, 0x14
lea eax, [ebp - 0x294]
push eax
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x24], 1
jmp 0x10007529
push esi
push ebx
lea eax, [ebp - 0x164]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x190]
inc dword [ebp - 0x190]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push dword [ebp - 0x298]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1000782a
lea eax, [ebp - 0x164]
push eax
push str.__s__r_n
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x294]
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcat
add esp, 0x14
mov dword [ebp - 0x24], 1
jmp 0x10007655
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
jbe 0x1000782a
cmp ecx, 2
jbe 0x100077e5
cmp ecx, 3
je 0x100077be
push 4
pop eax
cmp ecx, eax
je 0x1000777e
cmp ecx, 7
jne 0x1000782a
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x298]
call dword [ebp - 0x168]
test eax, eax
jne 0x1000782a
lea eax, [ebp - 0x164]
mov dword [ebp - 0x60], eax
mov edi, dword [sym.imp.MSVCRT.dll_strncat]
cmp byte [eax], bl
je 0x10007768
push esi
push eax
lea eax, [ebp - 0x294]
push eax
call edi
push esi
push 0x100162d4
lea eax, [ebp - 0x294]
push eax
call edi
push ebx
push dword [ebp - 0x60]
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x20
inc eax
mov dword [ebp - 0x60], eax
jmp 0x10007737
lea eax, [ebp - 0x294]
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x10007823
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x298]
call dword [ebp - 0x168]
test eax, eax
jne 0x1000782a
push dword [ebp - 0x18c]
push 0x100171dc
push dword [ebp + 0x18]
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x10007820
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x298]
call dword [ebp - 0x168]
test eax, eax
jne 0x1000782a
jmp 0x10007823
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x298]
call dword [ebp - 0x168]
test eax, eax
jne 0x1000782a
lea eax, [ebp - 0x164]
push eax
call fcn.100073f3
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcpy
add esp, 0xc
mov dword [ebp - 0x24], 1
or dword [ebp - 4], 0xffffffff
call fcn.10007845
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret