Function at 0x1000d060
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b480
push 0x100157ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
push 0x20
push ebx
lea eax, [ebp - 0x15c]
push eax
call dword [0x1002734c]
mov edi, 0x104
push edi
push ebx
lea eax, [ebp - 0x138]
push eax
call dword [0x1002734c]
push edi
push ebx
lea eax, [ebp - 0x26c]
push eax
call dword [0x1002734c]
add esp, 0x24
push 0x10025a88
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x160], eax
push str.RegQueryValueExA
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x1c], eax
push 0x10025aac
push dword [ebp - 0x160]
call esi
mov dword [ebp - 0x34], eax
push str.RegEnumValueA
push dword [ebp - 0x160]
call esi
push str.RegEnumKeyExA
push dword [ebp - 0x160]
call esi
push 0x10025adc
push dword [ebp - 0x160]
call esi
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x270]
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 0x34]
test eax, eax
je 0x1000d146
or dword [ebp - 0x24], 0xffffffff
jmp 0x1000d28d
cmp dword [ebp + 0x24], ebx
jne 0x1000d28d
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
jbe 0x1000d28d
cmp ecx, 2
jbe 0x1000d253
cmp ecx, 3
je 0x1000d21b
push 4
pop eax
cmp ecx, eax
je 0x1000d1eb
cmp ecx, 7
jne 0x1000d28d
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x270]
call dword [ebp - 0x1c]
test eax, eax
jne 0x1000d28d
lea esi, [ebp - 0x138]
mov dword [ebp - 0x30], esi
cmp byte [esi], bl
je 0x1000d1e0
push edi
push esi
lea eax, [ebp - 0x26c]
push eax
call fcn.1000d026
push edi
push 0x10025ae8
lea eax, [ebp - 0x26c]
push eax
call fcn.1000d026
push ebx
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x20
inc eax
mov esi, eax
jmp 0x1000d1a9
lea eax, [ebp - 0x26c]
jmp 0x1000d27c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x270]
call dword [ebp - 0x1c]
test eax, eax
jne 0x1000d28d
push dword [ebp - 0x164]
push 0x10025aec
jmp 0x1000d245
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x270]
call dword [ebp - 0x1c]
test eax, eax
jne 0x1000d28d
push dword [ebp + 0x14]
push str._08X
push dword [ebp + 0x18]
call dword [0x100272d4]
add esp, 0xc
jmp 0x1000d286
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x270]
call dword [ebp - 0x1c]
test eax, eax
jne 0x1000d28d
lea eax, [ebp - 0x138]
push eax
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x24], 1
or dword [ebp - 4], 0xffffffff
call fcn.1000d2be
cmp dword [ebp - 0x160], ebx
je 0x1000d2aa
push dword [ebp - 0x160]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret