Function at 0x100444e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100781eb
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x1009e034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x280], edi
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x278], 0
call fcn.1005cd10
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x278]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0x284], 1
test ecx, ecx
je 0x10044743
test eax, eax
js 0x1004473c
call fcn.100700a0
mov ecx, dword [ebp - 0x28c]
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0
call fcn.1005c530
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test edx, edx
je 0x10044621
cmp byte [ebp - 0x40], 0
mov eax, 0x100
mov ecx, 0x200
cmovne ecx, eax
or ecx, 0x20019
test eax, ecx
movzx eax, byte [ebp - 0x18]
cmovne eax, dword [ebp - 0x284]
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x58]
test cl, 0x26
je 0x10044604
cmp dword [ebp - 0x44], 8
lea esi, [ebp - 0x60]
cmovae eax, dword [ebp - 0x58]
push esi
lea esi, [ebp - 0x20]
push esi
push 0
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jmp 0x10044621
cmp dword [ebp - 0x44], 8
lea ebx, [ebp - 0x20]
cmovae eax, dword [ebp - 0x58]
push ebx
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x20], 0
jne 0x10044639
push 0
lea eax, [ebp - 0x5c]
push eax
push ecx
mov ecx, edi
call fcn.1004bcb0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004464e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1004465f
push eax
call ebx
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x28], 8
jb 0x10044671
push dword [ebp - 0x3c]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
jb 0x10044693
push dword [ebp - 0x58]
call esi
add esp, 4
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x278]
dec eax
mov dword [ebp - 0x274], eax
test ecx, ecx
je 0x100446e6
test eax, eax
js 0x100446e6
lea edx, [ebp - 0x68]
push edx
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x270]
push edx
push eax
push ecx
mov dword [ebp - 0x24], 0x103
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [ebp - 0x278]
test eax, eax
mov eax, dword [ebp - 0x274]
je 0x10044565
xor edx, edx
mov word [ebp - 0x270], dx
jmp 0x10044565
test ecx, ecx
je 0x10044743
push ecx
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret 4