Function at 0x1001adc
Capabilities:
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2a4]
sub esp, 0x324
mov eax, dword [0x10050ac]
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp + 0x2a0], eax
xor esi, esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push 0x20019
push esi
push esi
push esi
push 0x10011d0
push 0x80000001
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x78], esi
call edi
test eax, eax
jne 0x1001b66
cmp dword [ebp - 0x74], 2
jne 0x1001b66
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push 0x10011e8
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001b66
cmp dword [ebp - 0x7c], 1
je 0x1001e07
cmp dword [ebp - 0x70], esi
je 0x1001b74
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x10012c4
push 0x80000000
call edi
test eax, eax
jne 0x1001e07
cmp dword [ebp - 0x74], 2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, 0x10012cc
jne 0x1001c33
push 0x104
push 0x1001170
lea eax, [ebp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x98]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x78], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001c33
lea eax, [ebp + 0x98]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1001e07
lea eax, [ebp + 0x98]
push eax
call ebx
test eax, eax
je 0x1001c33
push esi
push 0x1001a2d
push dword [ebp + 0x2ac]
push 0x898
push dword [ebp + 0x2b0]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
je 0x1001e07
push edi
call ebx
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push esi
push esi
push dword [ebp - 0x70]
call edi
test eax, eax
jne 0x1001e07
push 0x10012f0
call ebx
push eax
push 0x10012f0
push 1
push esi
push 0x10012e0
push dword [ebp - 0x70]
call edi
test eax, eax
jne 0x1001e07
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x1001334
push 0x80000000
mov dword [ebp - 0x70], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1001e07
push 0x1001348
call ebx
push eax
push 0x1001348
push 1
push esi
push esi
push dword [ebp - 0x70]
call edi
test eax, eax
jne 0x1001e07
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x1001354
push 0x80000000
mov dword [ebp - 0x70], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1001e07
push 0x104
lea eax, [ebp - 0x6c]
push eax
call fcn.0100186d
lea eax, [ebp - 0x6c]
push eax
push 0x100137c
lea eax, [ebp + 0x19c]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
lea eax, [ebp + 0x19c]
push eax
call ebx
push eax
lea eax, [ebp + 0x19c]
push eax
push 1
push esi
push esi
push dword [ebp - 0x70]
call edi
test eax, eax
jne 0x1001e07
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x100138c
push 0x80000000
mov dword [ebp - 0x70], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1001e07
lea eax, [ebp - 0x6c]
push eax
push 0x10013ac
lea eax, [ebp + 0x19c]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
lea eax, [ebp + 0x19c]
push eax
call ebx
push eax
lea eax, [ebp + 0x19c]
push eax
push 1
push esi
push esi
push dword [ebp - 0x70]
call edi
test eax, eax
jne 0x1001e07
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x1001300
push 0x80000000
mov dword [ebp - 0x70], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1001e07
push 0x10012c4
call ebx
push eax
push 0x10012c4
push 1
push esi
push 0x1001328
push dword [ebp - 0x70]
call edi
test eax, eax
je 0x1001e0c
cmp dword [ebp - 0x70], esi
je 0x1001e15
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x2a0]
pop edi
pop esi
pop ebx
call fcn.0100448b
add ebp, 0x2a4
leave
ret 8