Function at 0x10007f20
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1002a830
push 0x1000e420
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x1002d00c]
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.1000e720
push 0x104
push edi
lea eax, [ebp - 0x224]
push eax
call fcn.1000e720
add esp, 0x18
push 0x10029150
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [ebp - 0x250], ebx
push 0x10029214
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x23c], eax
push 0x10029228
push ebx
call esi
mov dword [ebp - 0x24c], eax
push str.RegEnumValueA
push ebx
call esi
push str.RegEnumKeyExA
push ebx
call esi
push 0x10029258
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 0x10008037
or edi, 0xffffffff
jmp 0x100081ca
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 6
ja case.0x10008044.5
jmp dword [eax*4 + 0x1000822c]
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.0x10008044.5
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x100081c5
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.0x10008044.5
lea esi, [ebp - 0x120]
nop dword [eax]
cmp byte [esi], 0
je 0x10008116
push ecx
mov edx, esi
lea ecx, [ebp - 0x224]
call fcn.10007ee0
mov edx, 0x100281a0
lea ecx, [ebp - 0x224]
call fcn.10007ee0
add esp, 4
push 0
push esi
call fcn.1000e580
add esp, 8
lea esi, [eax + 1]
jmp 0x100080e0
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.0x10008044.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.0x10008044.5
push dword [ebp - 0x22c]
push 0x10029264
jmp 0x100081b6
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.0x10008044.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.10008217
test ebx, ebx
je 0x100081e7
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.1000c111
mov esp, ebp
pop ebp
ret