Function at 0x10051fe
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1009088]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [0x10092ec]
test eax, eax
mov dword [ebp - 0x218], ecx
mov dword [0x10092e0], ecx
je 0x1005233
push eax
push 0xfffffffffffffff2
push ecx
call dword [0x1001224]
push ebx
push esi
push edi
mov edi, dword [0x10011a4]
push 0
push 0x400
push dword [0x10092e0]
call edi
push eax
call dword [0x10011e0]
push 0x640000
push 0
push 0x401
push 0x3f0
push dword [0x10092e0]
call edi
push eax
call dword [fcn.01001220]
push 0x20
push 0x100990c
call fcn.01005095
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
push esi
call dword [0x10010a4]
push esi
mov ebx, 0x1009b14
push ebx
call dword [0x1001090]
push ebx
mov ebx, dword [0x1001070]
call ebx
push 0x100139c
call ebx
push 0x1009b14
push esi
call dword [0x10010a4]
lea eax, [ebp - 0x20c]
push eax
call ebx
push esi
push 0x10092f4
call fcn.010051d2
push 0x13
push 0x10094fc
call fcn.01005095
xor ebx, ebx
push ebx
push ebx
push 0x402
push 0x3f0
push dword [0x10092e0]
call edi
push eax
call dword [fcn.01001220]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
xor edi, edi
push 0x1001340
inc edi
push 0x80000001
mov dword [0x1009d44], edi
mov dword [0x1009d40], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10053e5
cmp dword [ebp - 0x224], edi
je 0x10053d9
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0x1001334
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 4
call dword [entry0]
test eax, eax
jne 0x100538e
mov eax, dword [ebp - 0x220]
mov ecx, eax
and ecx, edi
and eax, 2
mov dword [0x1009d44], ecx
mov dword [0x1009d40], eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0x1001324
push dword [ebp - 0x210]
mov dword [ebp - 0x214], esi
call dword [entry0]
test eax, eax
jne 0x10053d9
cmp dword [ebp - 0x21c], edi
jne 0x10053d9
lea eax, [ebp - 0x20c]
push eax
push 0x100990c
call dword [0x100106c]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1009704
push esi
call dword [0x10010a4]
push 0x4f
lea eax, [ebp - 0x20c]
push eax
call fcn.01005095
mov ebx, dword [0x1001098]
lea eax, [ebp - 0x20c]
push eax
call ebx
push eax
call fcn.010029a3
test eax, eax
je 0x100541e
mov dword [0x1009d34], edi
push 0x4d
lea eax, [ebp - 0x20c]
push eax
call fcn.01005095
lea eax, [ebp - 0x20c]
push eax
call ebx
push eax
call fcn.010029a3
test eax, eax
je 0x1005445
mov dword [0x1009d38], edi
push 0x4e
lea eax, [ebp - 0x20c]
push eax
call fcn.01005095
lea eax, [ebp - 0x20c]
push eax
call ebx
push eax
call fcn.010029a3
test eax, eax
je 0x100546c
mov dword [0x1009d3c], edi
push 0x3a
lea eax, [ebp - 0x20c]
push eax
call fcn.01005095
lea eax, [ebp - 0x20c]
push eax
call ebx
push eax
call fcn.010029a3
test eax, eax
je 0x1005493
mov dword [0x1009d48], edi
push 0x62
lea eax, [ebp - 0x20c]
push eax
call fcn.01005095
push 0x1001398
lea eax, [ebp - 0x20c]
push eax
call dword [0x1001088]
lea eax, [ebp - 0x20c]
push eax
call ebx
push eax
call fcn.010029a3
test eax, eax
je 0x1005541
lea eax, [ebp - 0x20c]
push eax
mov dword [0x1009d4c], edi
mov dword [0x1009d44], edi
mov dword [0x1009d48], edi
mov dword [0x1009d58], edi
mov dword [0x1009d5c], edi
call ebx
push eax
call fcn.010029a3
mov ebx, eax
lea eax, [ebp - 0x20c]
push eax
call dword [fcn.01001074]
lea eax, [ebx + eax*2]
push eax
mov ebx, 0x10092f4
push ebx
call dword [0x100106c]
cmp word [0x10092f4], 0
jne 0x1005523
push esi
push ebx
call fcn.010051d2
push 0
push 0x3ee
push 0x111
push dword [ebp - 0x218]
call dword [0x10011dc]
mov ebx, dword [0x1001098]
push 0x63
lea eax, [ebp - 0x20c]
push eax
call fcn.01005095
lea eax, [ebp - 0x20c]
push eax
call ebx
push eax
call fcn.010029a3
test eax, eax
je 0x100558c
push 0
push 0x3ee
push 0x111
push dword [ebp - 0x218]
mov dword [0x1009d4c], edi
mov dword [0x1009d44], edi
mov dword [0x1009d48], edi
call dword [0x10011dc]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.01006e99
leave
ret 0xc