Function at 0x10008070
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x10057bf0]
xor eax, esp
mov dword [esp + 0x21c], eax
lea eax, [esp]
push eax
push 0x20019
push 0
push 0x10001240
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100080ba
xor eax, eax
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.1004486e
add esp, 0x220
ret
push esi
lea eax, [esp + 8]
mov dword [esp + 8], 0x105
push eax
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x10001264
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000942f
mov eax, dword [esp + 8]
test eax, eax
jle 0x1000942f
cmp dword [esp + 0xc], 1
jne 0x1000942f
cmp eax, 0x105
jae 0x1000944c
push ebx
push ebp
push edi
mov byte [esp + eax + 0x124], 0
lea edi, [esp + 0x124]
mov eax, edi
push 0x3b
push eax
call fcn.10045510
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100081cd
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x10008150
lea ecx, [esp + 0x1c]
mov esi, edi
mov eax, ecx
mov edx, 0x105
sub esi, eax
nop
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x10008179
mov al, byte [esi + ecx]
test al, al
je 0x10008179
mov byte [ecx], al
inc ecx
dec edx
jne 0x10008160
jmp 0x1000817d
test edx, edx
jne 0x1000817e
dec ecx
mov eax, ebx
mov byte [ecx], 0
sub eax, edi
cmp eax, 0x105
jae 0x10009447
push 0x1000126c
mov byte [esp + eax + 0x20], 0
lea eax, [esp + 0x20]
push 0x105
push eax
call fcn.100094a0
lea eax, [esp + 0x1c]
push eax
call ebp
mov dword [0x1005976c], eax
test eax, eax
jne 0x100081fa
lea edi, [ebx + 1]
push 0x3b
push edi
call fcn.10045510
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10008150
push 0x1000126c
lea eax, [esp + 0x22d]
sub eax, edi
push eax
push edi
call fcn.100094a0
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [0x1005976c], eax
test eax, eax
je 0x100093f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000127c
push eax
call esi
mov dword [0x1005cd20], eax
test eax, eax
je 0x100093f7
push 0x10001288
push dword [0x1005976c]
call esi
mov dword [0x1005cd24], eax
test eax, eax
je 0x100093f7
push 0x10001290
push dword [0x1005976c]
call esi
mov dword [0x1005cd28], eax
test eax, eax
je 0x100093f7
push 0x100012a4
push dword [0x1005976c]
call esi
mov dword [0x1005cd2c], eax
test eax, eax
je 0x100093f7
push 0x100012b4
push dword [0x1005976c]
call esi
mov dword [0x1005cd30], eax
test eax, eax
je 0x100093f7
push 0x100012c8
push dword [0x1005976c]
call esi
mov dword [0x1005cd34], eax
test eax, eax
je 0x100093f7
push 0x100012d8
push dword [0x1005976c]
call esi
mov dword [0x1005cd38], eax
test eax, eax
je 0x100093f7
push 0x100012e8
push dword [0x1005976c]
call esi
mov dword [0x1005cd3c], eax
test eax, eax
je 0x100093f7
push 0x100012f8
push dword [0x1005976c]
call esi
mov dword [0x1005cd40], eax
test eax, eax
je 0x100093f7
push 0x1000130c
push dword [0x1005976c]
call esi
mov dword [0x1005cd44], eax
test eax, eax
je 0x100093f7
push 0x10001320
push dword [0x1005976c]
call esi
mov dword [0x1005cd48], eax
test eax, eax
je 0x100093f7
push 0x10001330
push dword [0x1005976c]
call esi
mov dword [0x1005cd4c], eax
test eax, eax
je 0x100093f7
push 0x10001340
push dword [0x1005976c]
call esi
mov dword [0x1005cd50], eax
test eax, eax
je 0x100093f7
push 0x10001354
push dword [0x1005976c]
call esi
mov dword [0x1005cd54], eax
test eax, eax
je 0x100093f7
push 0x10001364
push dword [0x1005976c]
call esi
mov dword [0x1005cd58], eax
test eax, eax
je 0x100093f7
push 0x10001374
push dword [0x1005976c]
call esi
mov dword [0x1005cd5c], eax
test eax, eax
je 0x100093f7
push 0x10001384
push dword [0x1005976c]
call esi
mov dword [0x1005cd60], eax
test eax, eax
je 0x100093f7
push 0x10001398
push dword [0x1005976c]
call esi
mov dword [0x1005cd64], eax
test eax, eax
je 0x100093f7
push 0x100013a8
push dword [0x1005976c]
call esi
mov dword [0x1005cd68], eax
test eax, eax
je 0x100093f7
push 0x100013bc
push dword [0x1005976c]
call esi
mov dword [0x1005cd6c], eax
test eax, eax
je 0x100093f7
push 0x100013d0
push dword [0x1005976c]
call esi
mov dword [0x1005cd70], eax
test eax, eax
je 0x100093f7
push 0x100013e0
push dword [0x1005976c]
call esi
mov dword [0x1005cd74], eax
test eax, eax
je 0x100093f7
push 0x100013f0
push dword [0x1005976c]
call esi
mov dword [0x1005cd78], eax
test eax, eax
je 0x100093f7
push 0x10001404
push dword [0x1005976c]
call esi
mov dword [0x1005cd7c], eax
test eax, eax
je 0x100093f7
push 0x10001418
push dword [0x1005976c]
call esi
mov dword [0x1005cd80], eax
test eax, eax
je 0x100093f7
push 0x1000142c
push dword [0x1005976c]
call esi
mov dword [0x1005cd84], eax
test eax, eax
je 0x100093f7
push 0x10001440
push dword [0x1005976c]
call esi
mov dword [0x1005cd88], eax
test eax, eax
je 0x100093f7
push 0x10001454
push dword [0x1005976c]
call esi
mov dword [0x1005cd8c], eax
test eax, eax
je 0x100093f7
push 0x10001468
push dword [0x1005976c]
call esi
mov dword [0x1005cd90], eax
test eax, eax
je 0x100093f7
push 0x1000147c
push dword [0x1005976c]
call esi
mov dword [0x1005cd94], eax
test eax, eax
je 0x100093f7
push 0x10001494
push dword [0x1005976c]
call esi
mov dword [0x1005cd98], eax
test eax, eax
je 0x100093f7
push 0x100014a8
push dword [0x1005976c]
call esi
mov dword [0x1005cd9c], eax
test eax, eax
je 0x100093f7
push 0x100014c0
push dword [0x1005976c]
call esi
mov dword [0x1005cda0], eax
test eax, eax
je 0x100093f7
push 0x100014d4
push dword [0x1005976c]
call esi
mov dword [0x1005cda4], eax
test eax, eax
je 0x100093f7
push 0x100014ec
push dword [0x1005976c]
call esi
mov dword [0x1005cda8], eax
test eax, eax
je 0x100093f7
push 0x10001500
push dword [0x1005976c]
call esi
mov dword [0x1005cdac], eax
test eax, eax
je 0x100093f7
push 0x10001510
push dword [0x1005976c]
call esi
mov dword [0x1005cdb0], eax
test eax, eax
je 0x100093f7
push 0x10001520
push dword [0x1005976c]
call esi
mov dword [0x1005cdb4], eax
test eax, eax
je 0x100093f7
push 0x10001534
push dword [0x1005976c]
call esi
mov dword [0x1005cdb8], eax
test eax, eax
je 0x100093f7
push 0x10001548
push dword [0x1005976c]
call esi
mov dword [0x1005cdbc], eax
test eax, eax
je 0x100093f7
push 0x1000155c
push dword [0x1005976c]
call esi
mov dword [0x1005cdc0], eax
test eax, eax
je 0x100093f7
push 0x10001568
push dword [0x1005976c]
call esi
mov dword [0x1005cdc4], eax
test eax, eax
je 0x100093f7
push 0x10001574
push dword [0x1005976c]
call esi
mov dword [0x1005cdc8], eax
test eax, eax
je 0x100093f7
push 0x10001588
push dword [0x1005976c]
call esi
mov dword [0x1005cdcc], eax
test eax, eax
je 0x100093f7
push 0x100015a0
push dword [0x1005976c]
call esi
mov dword [0x1005cdd0], eax
test eax, eax
je 0x100093f7
push 0x100015b0
push dword [0x1005976c]
call esi
mov dword [0x1005cdd4], eax
test eax, eax
je 0x100093f7
push 0x100015c0
push dword [0x1005976c]
call esi
mov dword [0x1005cdd8], eax
test eax, eax
je 0x100093f7
push 0x100015d0
push dword [0x1005976c]
call esi
mov dword [0x1005cddc], eax
test eax, eax
je 0x100093f7
push 0x100015e0
push dword [0x1005976c]
call esi
mov dword [0x1005cde0], eax
test eax, eax
je 0x100093f7
push 0x100015f4
push dword [0x1005976c]
call esi
mov dword [0x1005cde4], eax
test eax, eax
je 0x100093f7
push 0x10001604
push dword [0x1005976c]
call esi
mov dword [0x1005cde8], eax
test eax, eax
je 0x100093f7
push 0x10001618
push dword [0x1005976c]
call esi
mov dword [0x1005cdec], eax
test eax, eax
je 0x100093f7
push 0x1000162c
push dword [0x1005976c]
call esi
mov dword [0x1005cdf0], eax
test eax, eax
je 0x100093f7
push 0x10001640
push dword [0x1005976c]
call esi
mov dword [0x1005cdf4], eax
test eax, eax
je 0x100093f7
push 0x1000164c
push dword [0x1005976c]
call esi
mov dword [0x1005cdf8], eax
test eax, eax
je 0x100093f7
push 0x1000165c
push dword [0x1005976c]
call esi
mov dword [0x1005cdfc], eax
test eax, eax
je 0x100093f7
push 0x10001668
push dword [0x1005976c]
call esi
mov dword [0x1005ce00], eax
test eax, eax
je 0x100093f7
push 0x10001678
push dword [0x1005976c]
call esi
mov dword [0x1005ce04], eax
test eax, eax
je 0x100093f7
push 0x10001688
push dword [0x1005976c]
call esi
mov dword [0x1005ce08], eax
test eax, eax
je 0x100093f7
push 0x1000169c
push dword [0x1005976c]
call esi
mov dword [0x1005ce0c], eax
test eax, eax
je 0x100093f7
push 0x100016ac
push dword [0x1005976c]
call esi
mov dword [0x1005ce10], eax
test eax, eax
je 0x100093f7
push 0x100016bc
push dword [0x1005976c]
call esi
mov dword [0x1005ce14], eax
test eax, eax
je 0x100093f7
push 0x100016cc
push dword [0x1005976c]
call esi
mov dword [0x1005ce18], eax
test eax, eax
je 0x100093f7
push 0x100016d8
push dword [0x1005976c]
call esi
mov dword [0x1005ce1c], eax
test eax, eax
je 0x100093f7
push 0x100016e8
push dword [0x1005976c]
call esi
mov dword [0x1005ce20], eax
test eax, eax
je 0x100093f7
push 0x100016f8
push dword [0x1005976c]
call esi
mov dword [0x1005ce24], eax
test eax, eax
je 0x100093f7
push 0x1000170c
push dword [0x1005976c]
call esi
mov dword [0x1005ce28], eax
test eax, eax
je 0x100093f7
push 0x10001720
push dword [0x1005976c]
call esi
mov dword [0x1005ce2c], eax
test eax, eax
je 0x100093f7
push 0x10001734
push dword [0x1005976c]
call esi
mov dword [0x1005ce30], eax
test eax, eax
je 0x100093f7
push 0x10001748
push dword [0x1005976c]
call esi
mov dword [0x1005ce34], eax
test eax, eax
je 0x100093f7
push 0x10001758
push dword [0x1005976c]
call esi
mov dword [0x1005ce38], eax
test eax, eax
je 0x100093f7
push 0x10001770
push dword [0x1005976c]
call esi
mov dword [0x1005ce3c], eax
test eax, eax
je 0x100093f7
push 0x10001780
push dword [0x1005976c]
call esi
mov dword [0x1005ce40], eax
test eax, eax
je 0x100093f7
push 0x10001790
push dword [0x1005976c]
call esi
mov dword [0x1005ce44], eax
test eax, eax
je 0x100093f7
push 0x100017a0
push dword [0x1005976c]
call esi
mov dword [0x1005ce48], eax
test eax, eax
je 0x100093f7
push 0x100017b0
push dword [0x1005976c]
call esi
mov dword [0x1005ce4c], eax
test eax, eax
je 0x100093f7
push 0x100017c0
push dword [0x1005976c]
call esi
mov dword [0x1005ce50], eax
test eax, eax
je 0x100093f7
push 0x100017d0
push dword [0x1005976c]
call esi
mov dword [0x1005ce54], eax
test eax, eax
je 0x100093f7
push 0x100017e0
push dword [0x1005976c]
call esi
mov dword [0x1005ce58], eax
test eax, eax
je 0x100093f7
push 0x100017f4
push dword [0x1005976c]
call esi
mov dword [0x1005ce5c], eax
test eax, eax
je 0x100093f7
push 0x10001800
push dword [0x1005976c]
call esi
mov dword [0x1005ce60], eax
test eax, eax
je 0x100093f7
push 0x10001810
push dword [0x1005976c]
call esi
mov dword [0x1005ce64], eax
test eax, eax
je 0x100093f7
push 0x10001824
push dword [0x1005976c]
call esi
mov dword [0x1005ce68], eax
test eax, eax
je 0x100093f7
push 0x10001838
push dword [0x1005976c]
call esi
mov dword [0x1005ce6c], eax
test eax, eax
je 0x100093f7
push 0x10001848
push dword [0x1005976c]
call esi
mov dword [0x1005ce70], eax
test eax, eax
je 0x100093f7
push 0x10001858
push dword [0x1005976c]
call esi
mov dword [0x1005ce74], eax
test eax, eax
je 0x100093f7
push 0x10001868
push dword [0x1005976c]
call esi
mov dword [0x1005ce78], eax
test eax, eax
je 0x100093f7
push 0x1000187c
push dword [0x1005976c]
call esi
mov dword [0x1005ce7c], eax
test eax, eax
je 0x100093f7
push 0x10001888
push dword [0x1005976c]
call esi
mov dword [0x1005ce80], eax
test eax, eax
je 0x100093f7
push 0x10001894
push dword [0x1005976c]
call esi
mov dword [0x1005ce84], eax
test eax, eax
je 0x100093f7
push 0x100018a4
push dword [0x1005976c]
call esi
mov dword [0x1005ce88], eax
test eax, eax
je 0x100093f7
push 0x100018b0
push dword [0x1005976c]
call esi
mov dword [0x1005ce8c], eax
test eax, eax
je 0x100093f7
push 0x100018c0
push dword [0x1005976c]
call esi
mov dword [0x1005ce90], eax
test eax, eax
je 0x100093f7
push 0x100018cc
push dword [0x1005976c]
call esi
mov dword [0x1005ce94], eax
test eax, eax
je 0x100093f7
push 0x100018d8
push dword [0x1005976c]
call esi
mov dword [0x1005ce98], eax
test eax, eax
je 0x100093f7
push 0x100018e8
push dword [0x1005976c]
call esi
mov dword [0x1005ce9c], eax
test eax, eax
je 0x100093f7
push 0x100018f4
push dword [0x1005976c]
call esi
mov dword [0x1005cea0], eax
test eax, eax
je 0x100093f7
push 0x10001908
push dword [0x1005976c]
call esi
mov dword [0x1005cea4], eax
test eax, eax
je 0x100093f7
push 0x10001918
push dword [0x1005976c]
call esi
mov dword [0x1005cea8], eax
test eax, eax
je 0x100093f7
push 0x10001928
push dword [0x1005976c]
call esi
mov dword [0x1005ceac], eax
test eax, eax
je 0x100093f7
push 0x10001934
push dword [0x1005976c]
call esi
mov dword [0x1005ceb0], eax
test eax, eax
je 0x100093f7
push 0x10001944
push dword [0x1005976c]
call esi
mov dword [0x1005ceb4], eax
test eax, eax
je 0x100093f7
push 0x10001954
push dword [0x1005976c]
call esi
mov dword [0x1005ceb8], eax
test eax, eax
je 0x100093f7
push 0x1000196c
push dword [0x1005976c]
call esi
mov dword [0x1005cebc], eax
test eax, eax
je 0x100093f7
push 0x10001984
push dword [0x1005976c]
call esi
mov dword [0x1005cec0], eax
test eax, eax
je 0x100093f7
push 0x10001994
push dword [0x1005976c]
call esi
mov dword [0x1005cec4], eax
test eax, eax
je 0x100093f7
push 0x100019a8
push dword [0x1005976c]
call esi
mov dword [0x1005cec8], eax
test eax, eax
je 0x100093f7
push 0x100019bc
push dword [0x1005976c]
call esi
mov dword [0x1005cecc], eax
test eax, eax
je 0x100093f7
push 0x100019d0
push dword [0x1005976c]
call esi
mov dword [0x1005ced0], eax
test eax, eax
je 0x100093f7
push 0x100019e4
push dword [0x1005976c]
call esi
mov dword [0x1005ced4], eax
test eax, eax
je 0x100093f7
push 0x100019f4
push dword [0x1005976c]
call esi
mov dword [0x1005ced8], eax
test eax, eax
je 0x100093f7
push 0x10001a04
push dword [0x1005976c]
call esi
mov dword [0x1005cedc], eax
test eax, eax
je 0x100093f7
push 0x10001a14
push dword [0x1005976c]
call esi
mov dword [0x1005cee0], eax
test eax, eax
je 0x100093f7
push 0x10001a24
push dword [0x1005976c]
call esi
mov dword [0x1005cee4], eax
test eax, eax
je 0x100093f7
push 0x10001a34
push dword [0x1005976c]
call esi
mov dword [0x1005cee8], eax
test eax, eax
je 0x100093f7
push 0x10001a44
push dword [0x1005976c]
call esi
mov dword [0x1005ceec], eax
test eax, eax
je 0x100093f7
push 0x10001a54
push dword [0x1005976c]
call esi
mov dword [0x1005cef0], eax
test eax, eax
je 0x100093f7
push 0x10001a64
push dword [0x1005976c]
call esi
mov dword [0x1005cef4], eax
test eax, eax
je 0x100093f7
push 0x10001a74
push dword [0x1005976c]
call esi
mov dword [0x1005cef8], eax
test eax, eax
je 0x100093f7
push 0x10001a84
push dword [0x1005976c]
call esi
mov dword [0x1005cefc], eax
test eax, eax
je 0x100093f7
push 0x10001a94
push dword [0x1005976c]
call esi
mov dword [0x1005cf00], eax
test eax, eax
je 0x100093f7
push 0x10001aa8
push dword [0x1005976c]
call esi
mov dword [0x1005cf04], eax
test eax, eax
je 0x100093f7
xor eax, eax
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.1004486e
add esp, 0x220
ret
mov ecx, dword [esp + 0x220]
xor eax, eax
pop esi
xor ecx, esp
call fcn.1004486e
add esp, 0x220
ret
call fcn.10045428
call fcn.10045428
int3