Function at 0x10011039
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027560
push 0x10013050
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.10011e70
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x138]
push ecx
call fcn.10011e70
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x26c]
push edx
call fcn.10011e70
add esp, 0xc
push 0x10050318
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 0x1005033c
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 0x1005036c
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 0x1001115c
mov dword [ebp - 0x24], 0xffffffff
jmp case.0x1001119e.4
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x274], edx
cmp dword [ebp - 0x274], 0
je 0x10011173
jmp case.0x1001119e.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.0x1001119e.4
mov edx, dword [ebp - 0x278]
jmp dword [edx*4 + 0x1001136e]
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 0x100111e7
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.0x1001119e.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 0x1001128a
lea eax, [ebp - 0x138]
mov dword [ebp - 0x30], eax
jmp 0x10011235
push 0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10013810
add esp, 8
add eax, 1
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
movsx eax, byte [edx]
test eax, eax
je 0x10011272
push 0x104
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x26c]
push edx
call fcn.10010fd5
add esp, 0xc
push 0x104
push 0x10050378
lea eax, [ebp - 0x26c]
push eax
call fcn.10010fd5
add esp, 0xc
jmp 0x10011221
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.0x1001119e.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 0x100112d9
mov edx, dword [ebp - 0x164]
push edx
push 0x1005037c
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x24], 1
jmp case.0x1001119e.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.0x1001119e.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.1001132c
jmp 0x10011344
cmp dword [ebp - 0x160], 0
je 0x1001135a
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