Function at 0x100112d9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027570
push 0x100132f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffd98
push ebx
push esi
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x168], 0
push 0x20
push 0
lea eax, [ebp - 0x15c]
push eax
call fcn.10012110
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x138]
push ecx
call fcn.10012110
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x26c]
push edx
call fcn.10012110
add esp, 0xc
push 0x1003ae48
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x160], eax
push str.RegQueryValueExA
mov eax, dword [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
push 0x1003ae6c
mov ecx, dword [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
push str.RegEnumValueA
mov edx, dword [ebp - 0x160]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
push str.RegEnumKeyExA
mov eax, dword [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c], eax
push 0x1003ae9c
mov ecx, dword [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], 0
lea edx, [ebp - 0x270]
push edx
push 0x20019
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x34]
test eax, eax
je 0x100113fc
mov dword [ebp - 0x24], 0xffffffff
jmp case.0x1001143e.4
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x274], edx
cmp dword [ebp - 0x274], 0
je 0x10011413
jmp case.0x1001143e.4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
sub ecx, 1
mov dword [ebp - 0x278], ecx
cmp dword [ebp - 0x278], 6
ja case.0x1001143e.4
mov edx, dword [ebp - 0x278]
jmp dword [edx*4 + 0x1001160e]
mov dword [ebp - 0x20], 0x104
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [ebp - 0x1c]
test eax, eax
jne 0x10011487
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x24], 1
jmp case.0x1001143e.4
mov dword [ebp - 0x20], 0x104
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call dword [ebp - 0x1c]
test eax, eax
jne 0x1001152a
lea eax, [ebp - 0x138]
mov dword [ebp - 0x30], eax
jmp 0x100114d5
push 0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10013ab0
add esp, 8
add eax, 1
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
movsx eax, byte [edx]
test eax, eax
je 0x10011512
push 0x104
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x26c]
push edx
call fcn.10011275
add esp, 0xc
push 0x104
push 0x1003aea8
lea eax, [ebp - 0x26c]
push eax
call fcn.10011275
add esp, 0xc
jmp 0x100114c1
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x24], 1
jmp case.0x1001143e.4
mov dword [ebp - 0x20], 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x164]
push ecx
lea edx, [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [ebp - 0x1c]
test eax, eax
jne 0x10011579
mov edx, dword [ebp - 0x164]
push edx
push 0x1003aeac
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x24], 1
jmp case.0x1001143e.4
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x270]
push eax
call dword [ebp - 0x1c]
test eax, eax
jne case.0x1001143e.4
mov ecx, dword [ebp + 0x14]
push ecx
push str._08X
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
call fcn.100115cc
jmp 0x100115e4
cmp dword [ebp - 0x160], 0
je 0x100115fa
mov edx, dword [ebp - 0x160]
push edx
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
mov esp, ebp
pop ebp
ret