Function at 0x1003c960
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1480
call fcn.10212f90
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov bl, byte [ebp + 8]
mov dword [ebp - 0x1468], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x145c], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x1480], eax
mov eax, dword [ebp + 0x1c]
push 0x208
mov dword [ebp - 0x1474], eax
lea eax, [ebp - 0x234]
push 0
push eax
mov byte [ebp - 0x1470], bl
mov dword [ebp - 0x1460], esi
call fcn.102134e7
push 0x1000
lea eax, [ebp - 0x143c]
push 0
push eax
call fcn.102134e7
mov eax, dword [0x10255438]
add esp, 0x18
movzx ebx, bl
xor edi, edi
xor ebx, 1
shl ebx, 8
add ebx, 0x20119
mov dword [ebp - 0x1478], ebx
test eax, eax
jne 0x1003ca03
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1003ca4c
mov eax, dword [0x10255438]
test eax, eax
jne 0x1003ca1f
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1003ca30
mov eax, dword [eax + 0xd0]
jmp 0x1003ca32
xor eax, eax
test eax, eax
je 0x1003ca4c
lea ecx, [ebp - 0x1464]
push ecx
push ebx
mov ebx, dword [ebp - 0x1468]
push 0
push ebx
push esi
call eax
jmp 0x1003ca64
lea eax, [ebp - 0x1464]
push eax
push ebx
mov ebx, dword [ebp - 0x1468]
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1003ca7b
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
xor al, al
mov byte [ebp - 0x1455], al
push 0x208
lea eax, [ebp - 0x43c]
push 0
push eax
call fcn.102134e7
mov eax, dword [0x10255438]
add esp, 0xc
mov esi, dword [ebp - 0x1464]
test eax, eax
jne 0x1003cab2
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1003caf7
mov eax, dword [0x10255438]
test eax, eax
jne 0x1003cace
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1003cadf
mov eax, dword [eax + 0xf8]
jmp 0x1003cae1
xor eax, eax
test eax, eax
je 0x1003caf7
push 0x104
lea ecx, [ebp - 0x43c]
push ecx
push edi
push esi
call eax
jmp 0x1003cb0b
push 0x104
lea eax, [ebp - 0x43c]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
je 0x1003cb39
cmp esi, 0x103
jne 0x1003ccec
push ebx
push 0x10219ee4
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.1000bd10
add esp, 0x10
jmp 0x1003cb5a
lea eax, [ebp - 0x43c]
push eax
push ebx
push 0x1021b408
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.1000bd10
add esp, 0x14
push 0x1000
lea eax, [ebp - 0x143c]
mov dword [ebp - 0x146c], 1
push 0
push eax
mov dword [ebp - 0x147c], 0x1000
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x147c]
push dword [ebp - 0x1478]
push eax
lea eax, [ebp - 0x143c]
push eax
lea eax, [ebp - 0x146c]
push eax
push dword [ebp - 0x145c]
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x1460]
call fcn.10003510
test eax, eax
jne 0x1003cce2
mov eax, dword [ebp - 0x146c]
cmp eax, 1
je 0x1003cbcf
cmp eax, 2
jne 0x1003cc33
mov cl, byte [ebp + 0x20]
cmp cl, 1
jne 0x1003cc36
mov eax, dword [ebp - 0x1480]
test eax, eax
je 0x1003cce2
push eax
lea eax, [ebp - 0x143c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1003cce2
lea eax, [ebp - 0x143c]
mov byte [ebp - 0x1455], 1
push eax
push dword [ebp - 0x145c]
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x1460]
lea eax, [ebp - 0x1454]
push dword [ebp - 0x1470]
push eax
call fcn.100413f0
add esp, 0x18
jmp 0x1003cc9a
mov cl, byte [ebp + 0x20]
cmp eax, 4
jne 0x1003cce2
test cl, cl
jne 0x1003cce2
mov eax, dword [ebp + 0x24]
cmp eax, dword [ebp - 0x143c]
je 0x1003cce2
push eax
push 0x1021d004
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x1455], 1
push 0x14
push eax
call fcn.1000bd10
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x145c]
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x1460]
lea eax, [ebp - 0x1454]
push dword [ebp - 0x1470]
push eax
call fcn.100413f0
add esp, 0x28
mov ecx, dword [ebp - 0x1474]
push eax
call fcn.10054840
mov edx, dword [ebp - 0x1440]
cmp edx, 8
jb 0x1003cce2
mov ecx, dword [ebp - 0x1454]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ccd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003cd0e
push edx
push ecx
call fcn.102134ff
add esp, 8
test esi, esi
jne 0x1003ccec
inc edi
jmp 0x1003ca83
push dword [ebp - 0x1464]
call fcn.10034a70
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x1455]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
call fcn.10200ab0
int3