Function at 0x10006af0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10024078
push 0x100099f0
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10026008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x248], edx
mov eax, ecx
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x230], 0
xor edi, edi
mov dword [ebp - 0x234], edi
push 0x104
push edi
lea eax, [ebp - 0x120]
push eax
call fcn.1000a170
push 0x104
push edi
lea eax, [ebp - 0x224]
push eax
call fcn.1000a170
add esp, 0x18
push 0x10022aa8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [ebp - 0x250], ebx
push str.RegQueryValueExA
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x23c], eax
push 0x10022b80
push ebx
call esi
mov dword [ebp - 0x24c], eax
push str.RegEnumValueA
push ebx
call esi
push str.RegEnumKeyExA
push ebx
call esi
push 0x10022bb0
push ebx
call esi
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], edi
lea eax, [ebp - 0x230]
push eax
push 0x20019
push edi
push dword [ebp - 0x248]
mov esi, dword [ebp - 0x244]
push esi
call dword [ebp - 0x24c]
test eax, eax
je 0x10006c07
or edi, 0xffffffff
jmp 0x10006d9a
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 6
ja case.0x10006c14.5
jmp dword [eax*4 + 0x10006dfc]
mov dword [ebp - 0x228], 0x104
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp - 0x238]
push dword [ebp - 0x230]
call dword [ebp - 0x23c]
test eax, eax
jne case.0x10006c14.5
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x10006d95
mov dword [ebp - 0x228], 0x104
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp - 0x238]
push dword [ebp - 0x230]
call dword [ebp - 0x23c]
test eax, eax
jne case.0x10006c14.5
lea esi, [ebp - 0x120]
nop dword [eax]
cmp byte [esi], 0
je 0x10006ce6
push ecx
mov edx, esi
lea ecx, [ebp - 0x224]
call fcn.10006ab0
mov edx, 0x10022038
lea ecx, [ebp - 0x224]
call fcn.10006ab0
add esp, 4
push 0
push esi
call fcn.10009f80
add esp, 8
lea esi, [eax + 1]
jmp 0x10006cb0
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, 1
mov dword [ebp - 0x234], edi
mov esi, dword [ebp - 0x244]
jmp case.0x10006c14.5
mov dword [ebp - 0x228], 4
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp - 0x238]
push dword [ebp - 0x230]
call dword [ebp - 0x23c]
test eax, eax
jne case.0x10006c14.5
push dword [ebp - 0x22c]
push 0x10022bbc
jmp 0x10006d86
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 0
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp - 0x238]
push dword [ebp - 0x230]
call dword [ebp - 0x23c]
test eax, eax
jne case.0x10006c14.5
push dword [ebp + 0xc]
push str._08X
push dword [ebp - 0x240]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, 1
mov dword [ebp - 0x234], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.10006de7
test ebx, ebx
je 0x10006db7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10008398
mov esp, ebp
pop ebp
ret