Function at 0x10003301
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100509e0
call fcn.100457f4
sub esp, 0x458
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
call fcn.10002fee
mov esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 0x3e8
mov edi, 0x10057508
jne 0x10003341
mov eax, edi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x464]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push ebx
push eax
push esi
mov dword [ebp + 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x100034bf
cmp esi, ebx
je 0x10003372
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.1002376b
lea eax, [ebp - 0x464]
push eax
call fcn.10045c20
pop ecx
push eax
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x34]
call fcn.100243fe
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 1
call fcn.1000350d
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.1002376b
mov ecx, dword [0x1006ce68]
cmp ecx, ebx
je 0x100033d2
call fcn.10001a3c
mov esi, eax
jmp 0x100033d4
xor esi, esi
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.100243fe
mov esi, dword [ebp - 0x40]
cmp esi, ebx
mov byte [ebp - 4], 4
jne 0x10003401
mov esi, edi
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.100243fe
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.10039fed
pop ecx
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.1002376b
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.1002376b
mov eax, dword [ebp - 0x50]
cmp eax, ebx
jne 0x10003454
mov eax, edi
push dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.10039f3f
add esp, 0xc
mov edi, dword [ebp - 0x60]
cmp edi, ebx
mov byte [ebp - 4], 6
jne 0x10003474
mov edi, 0x10057508
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.1002376b
push edi
call fcn.10045c20
pop ecx
push eax
push edi
mov ecx, esi
call fcn.100243fe
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.1002376b
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.1002376b
cmp dword [ebp - 0x10], ebx
je 0x100034fc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100034fc
cmp esi, ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x100034cf
push esi
call edi
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov al, byte [eax]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.1002376b
push dword [0x1005750c]
mov ecx, esi
push ebx
push dword [ebp + 0x10]
call fcn.10023391
cmp dword [ebp - 0x10], ebx
je 0x100034fc
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret