Function at 0x10044770
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100782e8
mov eax, dword fs:[0]
push eax
sub esp, 0x450
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 eax, ecx
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x430], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x424], 0
call fcn.1005cd10
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x424]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0x454], 1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x10044cef
test eax, eax
js 0x10044ce8
call fcn.100700a0
mov ecx, dword [ebp - 0x44c]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0
call fcn.1005c530
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x100448b9
cmp byte [ebp - 0x40], al
mov eax, 0x100
mov ecx, 0x200
cmovne ecx, eax
or ecx, 0x20019
test eax, ecx
movzx eax, byte [ebp - 0x18]
cmovne eax, dword [ebp - 0x454]
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x58]
test cl, 0x26
je 0x10044899
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 0x100448b6
cmp dword [ebp - 0x44], 8
lea edi, [ebp - 0x20]
cmovae eax, dword [ebp - 0x58]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 3
test eax, eax
je 0x10044bab
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
push eax
mov dword [ebp - 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor ecx, ecx
test eax, eax
cmove ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10044908
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10044bbc
push eax
jmp 0x10044bb3
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor ecx, ecx
test eax, eax
cmove ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x5c]
test ecx, ecx
jne 0x1004495e
push ecx
push eax
push ecx
mov ecx, dword [ebp - 0x42c]
call fcn.1004bcb0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10044bbc
push eax
jmp 0x10044bb3
push eax
lea ecx, [ebp - 0x214]
call fcn.10049b50
mov byte [ebp - 4], 4
cmp dword [ebp - 0x74], 1
je 0x10044c5e
cmp dword [ebp - 0x7c], 1
je 0x10044c5e
cmp dword [ebp - 0x78], 1
je 0x10044c5e
lea ecx, [ebp - 0x214]
call fcn.10049ef0
test al, al
je 0x100449bf
lea ecx, [ebp - 0x214]
call fcn.10044d10
lea ecx, [ebp - 0x20]
call fcn.1005c940
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.10007a50
jmp 0x10044bfd
cmp dword [ebp - 0x1ec], 0
jne 0x100449da
cmp dword [ebp - 0x1bc], 0
jne 0x10044a95
jmp 0x10044b92
push 0x1007d0cc
lea ecx, [ebp - 0x448]
call fcn.10008e70
mov edx, eax
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 5
call fcn.10048b80
lea ecx, [ebp - 0x448]
mov bl, al
mov byte [ebp - 4], 4
call fcn.10001a00
test bl, bl
jne 0x10044b71
push 0x1007d0cc
lea ecx, [ebp - 0x448]
call fcn.10008e70
mov edx, eax
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 6
call fcn.100494c0
lea ecx, [ebp - 0x448]
mov bl, al
mov byte [ebp - 4], 4
call fcn.10001a00
test bl, bl
jne 0x10044b71
push 0x1007d0cc
lea ecx, [ebp - 0x448]
call fcn.10008e70
mov edx, eax
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 7
call fcn.100496f0
lea ecx, [ebp - 0x448]
mov bl, al
mov byte [ebp - 4], 4
call fcn.10001a00
test bl, bl
jne 0x10044b71
cmp dword [ebp - 0x1bc], 0
je 0x10044b3b
push 0x1007d0cc
lea ecx, [ebp - 0x448]
call fcn.10008e70
mov edx, eax
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 8
call fcn.10048b80
lea ecx, [ebp - 0x448]
mov bl, al
mov byte [ebp - 4], 4
call fcn.10001a00
test bl, bl
jne 0x10044b71
push 0x1007d0cc
lea ecx, [ebp - 0x448]
call fcn.10008e70
mov edx, eax
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 9
call fcn.100494c0
lea ecx, [ebp - 0x448]
mov bl, al
mov byte [ebp - 4], 4
call fcn.10001a00
test bl, bl
jne 0x10044b71
push 0x1007d0cc
lea ecx, [ebp - 0x448]
call fcn.10008e70
mov edx, eax
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xa
call fcn.100496f0
lea ecx, [ebp - 0x448]
mov bl, al
mov byte [ebp - 4], 4
call fcn.10001a00
test bl, bl
jne 0x10044b71
push 0
lea eax, [ebp - 0x5c]
push eax
push ecx
mov ecx, dword [ebp - 0x42c]
call fcn.1004bcb0
lea ecx, [ebp - 0x214]
call fcn.10044d10
lea ecx, [ebp - 0x20]
call fcn.1005c940
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.10007a50
jmp 0x10044bfd
cmp dword [ebp - 0x204], 0
jne 0x10044b8c
cmp dword [ebp - 0x1ec], 0
jne 0x10044b8c
cmp dword [ebp - 0x1bc], 0
je 0x10044b3b
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x214]
call fcn.1004a080
lea ecx, [ebp - 0x214]
call fcn.10044d10
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10044bbf
push ecx
call ebx
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10044bcd
push eax
call edi
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x28], 8
jb 0x10044bdf
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], eax
mov word [ebp - 0x3c], ax
jb 0x10044bfd
push dword [ebp - 0x58]
call esi
add esp, 4
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x424]
dec eax
mov dword [ebp - 0x420], eax
test ecx, ecx
je 0x10044c50
test eax, eax
js 0x10044c50
lea edx, [ebp - 0x68]
push edx
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x41c]
push edx
push eax
push ecx
mov dword [ebp - 0x24], 0x103
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [ebp - 0x424]
test eax, eax
mov eax, dword [ebp - 0x420]
je 0x100447fb
xor edx, edx
mov word [ebp - 0x41c], dx
jmp 0x100447fb
lea ecx, [ebp - 0x214]
call fcn.10044d10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10044c7a
push eax
call ebx
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10044c8b
push eax
call edi
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.10007a50
jmp 0x10044bfd
test ecx, ecx
je 0x10044cef
push ecx
call edi
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