Function at 0x1003f430
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.10212f90
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x1434], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x1424], eax
mov eax, dword [ebp + 0x1c]
push 0x208
mov dword [ebp - 0x1430], eax
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 0x1428], esi
call fcn.102134e7
push 0x1000
lea eax, [ebp - 0x1414]
push 0
push eax
call fcn.102134e7
movzx eax, byte [ebp + 0xc]
add esp, 0x18
xor eax, 1
xor edi, edi
shl eax, 8
add eax, 0xf013f
mov dword [ebp - 0x1418], eax
mov eax, dword [0x10255438]
test eax, eax
jne 0x1003f4c4
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1003f50c
mov eax, dword [0x10255438]
test eax, eax
jne 0x1003f4e0
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1003f4f1
mov eax, dword [eax + 0xd0]
jmp 0x1003f4f3
xor eax, eax
test eax, eax
je 0x1003f50c
lea ecx, [ebp - 0x141c]
push ecx
push dword [ebp - 0x1418]
push 0
push ebx
push esi
call eax
jmp 0x1003f523
lea eax, [ebp - 0x141c]
push eax
push dword [ebp - 0x1418]
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003f6ec
jmp 0x1003f530
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.102134e7
mov eax, dword [0x10255438]
add esp, 0xc
mov esi, dword [ebp - 0x141c]
test eax, eax
jne 0x1003f55f
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1003f5a4
mov eax, dword [0x10255438]
test eax, eax
jne 0x1003f57b
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1003f58c
mov eax, dword [eax + 0xf8]
jmp 0x1003f58e
xor eax, eax
test eax, eax
je 0x1003f5a4
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push edi
push esi
call eax
jmp 0x1003f5b8
push 0x104
lea eax, [ebp - 0x414]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
je 0x1003f5e6
cmp esi, 0x103
jne 0x1003f6e1
push ebx
push 0x10219ee4
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1000bd10
add esp, 0x10
jmp 0x1003f607
lea eax, [ebp - 0x414]
push eax
push ebx
push 0x1021b408
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1000bd10
add esp, 0x14
push 0x1000
lea eax, [ebp - 0x1414]
mov dword [ebp - 0x1420], 1
push 0
push eax
mov dword [ebp - 0x142c], 0x1000
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x142c]
push dword [ebp - 0x1418]
push eax
lea eax, [ebp - 0x1414]
push eax
lea eax, [ebp - 0x1420]
push eax
push dword [ebp - 0x1424]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x1428]
call fcn.10003510
test eax, eax
jne 0x1003f6d7
mov eax, dword [ebp - 0x1420]
cmp eax, 1
je 0x1003f678
cmp eax, 2
jne 0x1003f699
mov cl, byte [ebp + 0x20]
cmp cl, 1
jne 0x1003f69c
push dword [ebp - 0x1430]
lea eax, [ebp - 0x1414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1003f6d7
jmp 0x1003f6b0
mov cl, byte [ebp + 0x20]
cmp eax, 4
jne 0x1003f6d7
test cl, cl
jne 0x1003f6d7
mov eax, dword [ebp + 0x24]
cmp eax, dword [ebp - 0x1414]
je 0x1003f6d7
push dword [ebp - 0x1418]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x1424]
push eax
push dword [ebp - 0x1428]
push dword [ebp - 0x1434]
call fcn.1003f700
add esp, 0x14
test esi, esi
jne 0x1003f6e1
inc edi
jmp 0x1003f530
push dword [ebp - 0x141c]
call fcn.10034a70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret