Function at 0x1003ee50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x145c
call fcn.10212f90
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x1450], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x144c], eax
mov eax, dword [ebp + 0x1c]
push 0x208
mov dword [ebp - 0x1458], eax
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 0x1444], esi
mov dword [ebp - 0x145c], edi
call fcn.102134e7
movzx eax, byte [ebp + 0xc]
add esp, 0xc
xor eax, 1
xor ebx, ebx
shl eax, 8
add eax, 0xf013f
mov dword [ebp - 0x1430], eax
mov eax, dword [0x10255438]
test eax, eax
jne 0x1003eed7
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1003ef1f
mov eax, dword [0x10255438]
test eax, eax
jne 0x1003eef3
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1003ef04
mov eax, dword [eax + 0xd0]
jmp 0x1003ef06
xor eax, eax
test eax, eax
je 0x1003ef1f
lea ecx, [ebp - 0x1440]
push ecx
push dword [ebp - 0x1430]
push 0
push edi
push esi
call eax
jmp 0x1003ef36
lea eax, [ebp - 0x1440]
push eax
push dword [ebp - 0x1430]
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003f2cd
mov dword [ebp - 0x143c], ebx
mov dword [ebp - 0x1438], ebx
mov dword [ebp - 0x1434], ebx
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.102134e7
mov eax, dword [0x10255438]
add esp, 0xc
mov esi, dword [ebp - 0x1440]
test eax, eax
jne 0x1003ef7f
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1003efc4
mov eax, dword [0x10255438]
test eax, eax
jne 0x1003ef9b
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1003efac
mov eax, dword [eax + 0xf8]
jmp 0x1003efae
xor eax, eax
test eax, eax
je 0x1003efc4
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push ebx
push esi
call eax
jmp 0x1003efd8
push 0x104
lea eax, [ebp - 0x414]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
je 0x1003f006
cmp esi, 0x103
jne 0x1003f225
push edi
push 0x10219ee4
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1000bd10
add esp, 0x10
jmp 0x1003f027
lea eax, [ebp - 0x414]
push eax
push edi
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 - 0x1448], 1
push 0
push eax
mov dword [ebp - 0x1454], 0x1000
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x1454]
push dword [ebp - 0x1430]
push eax
lea eax, [ebp - 0x1414]
push eax
lea eax, [ebp - 0x1448]
push eax
push dword [ebp - 0x144c]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x1444]
call fcn.10003510
test eax, eax
jne 0x1003f1e8
mov eax, dword [ebp - 0x1448]
cmp eax, 1
je 0x1003f09c
cmp eax, 2
jne 0x1003f0c4
mov cl, byte [ebp + 0x24]
cmp cl, 1
jne 0x1003f0c7
push dword [ebp - 0x1458]
lea eax, [ebp - 0x1414]
push eax
push edi
call fcn.100374f0
add esp, 0xc
test al, al
je 0x1003f1e8
jmp 0x1003f0e7
mov cl, byte [ebp + 0x24]
cmp eax, 4
jne 0x1003f1e8
test cl, cl
jne 0x1003f1e8
mov eax, dword [ebp + 0x28]
cmp eax, dword [ebp - 0x1414]
jne 0x1003f1e8
cmp byte [ebp + 0x20], 0
je 0x1003f1fe
xor eax, eax
mov dword [ebp - 0x141c], 0
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x1418], 7
mov word [ebp - 0x142c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003f117
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x142c]
call fcn.10008240
mov edi, dword [ebp - 0x1438]
cmp edi, dword [ebp - 0x1434]
je 0x1003f195
mov eax, dword [ebp - 0x142c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], eax
mov eax, dword [ebp - 0x1428]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x1424]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x1420]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x141c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x1418]
mov dword [edi + 0x14], eax
add edi, 0x18
mov dword [ebp - 0x1438], edi
jmp 0x1003f1ee
lea eax, [ebp - 0x142c]
push eax
push edi
lea ecx, [ebp - 0x143c]
call fcn.10020810
mov edx, dword [ebp - 0x1418]
cmp edx, 8
jb 0x1003f1e8
mov ecx, dword [ebp - 0x142c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f1de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f2de
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edi, dword [ebp - 0x1438]
test esi, esi
jne 0x1003f22b
mov edi, dword [ebp - 0x145c]
inc ebx
jmp 0x1003ef50
push dword [ebp - 0x1430]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x144c]
push eax
push dword [ebp - 0x1444]
push dword [ebp - 0x1450]
call fcn.1003f700
add esp, 0x14
mov edi, dword [ebp - 0x1438]
push dword [ebp - 0x1440]
call fcn.10034a70
mov ebx, dword [ebp - 0x143c]
mov esi, ebx
cmp esi, edi
je 0x1003f275
mov ebx, dword [ebp - 0x1444]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1003f252
mov eax, dword [esi]
push dword [ebp - 0x1430]
push eax
push ebx
push dword [ebp - 0x1450]
call fcn.1003ee10
add esi, 0x18
add esp, 0x10
cmp esi, edi
jne 0x1003f248
mov ebx, dword [ebp - 0x143c]
test ebx, ebx
je 0x1003f2cd
lea eax, [ebp - 0x143c]
push eax
push edi
push ebx
call fcn.100063a0
mov ecx, dword [ebp - 0x1434]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 3
cmp ecx, 0x1000
jb 0x1003f2c3
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f2de
push ecx
push ebx
call fcn.102134ff
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
call fcn.10200ab0
int3