Function at 0x447170
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ed7c1
mov eax, dword fs:[0]
push eax
sub esp, 0xaa8
mov eax, dword [0x555ab0]
xor eax, esp
mov dword [esp + 0xaa0], eax
push ebx
push esi
push edi
mov eax, dword [0x555ab0]
xor eax, esp
push eax
lea eax, [esp + 0xab8]
mov dword fs:[0], eax
mov dword [esp + 0x18], edx
mov edi, ecx
mov esi, dword [0x55e860]
lea ecx, [esi + 2]
lea eax, [esi + 1]
imul ecx, eax
imul ecx, esi
and ecx, 0x80000003
jns 0x4471d5
dec ecx
or ecx, 0xfffffffc
inc ecx
cmp ecx, 3
jne 0x4471ec
push 4
call fcn.004b0975
mov esi, dword [0x55e860]
add esp, 4
mov dword [eax], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, esi
imul eax, esi
imul eax, esi
cdq
mov ecx, 0x13
idiv ecx
mov dword [esp + 0xac0], 0
cmp edx, 6
jne 0x447259
xor ecx, ecx
jmp 0x447230
mov eax, dword [esp + ecx*4 + 0x40]
add eax, dword [esp + ecx*4 + 0x3c]
add ecx, 4
add eax, dword [esp + ecx*4 + 0x28]
add eax, dword [esp + ecx*4 + 0x24]
imul eax, eax, 0xfc
add esi, eax
cmp ecx, 0x278
jb 0x447230
mov dword [0x55e860], esi
push 0
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.00444fd0
add esp, 4
lea ecx, [esp + 0x1c]
push 0x2001f
push dword [eax]
push dword [0x558ef4]
call fcn.0041d5a0
mov edx, dword [esp + 0x10]
test eax, eax
setne bl
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4472a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x1c]
test bl, bl
je 0x4472b1
xor bl, bl
jmp 0x4473f9
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
mov dword [esp + 0x10], esi
lea ecx, [ecx]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x2b4], ax
lea eax, [esp + 0x2b6]
push eax
call fcn.004b4d70
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x2c0]
push eax
push esi
push edi
mov dword [esp + 0x48], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
mov eax, dword [0x55e860]
imul eax, eax
cdq
mov ecx, 0xa
idiv ecx
inc dword [esp + 0x10]
cmp edx, 8
jne 0x44732a
call ebx
mov dword [0x55e860], eax
test esi, esi
jne 0x4473ea
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2ac]
mov byte [esp + 0xac0], 1
test eax, 0xffff0000
jne 0x447377
movzx esi, ax
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x4473a1
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00402420
jmp 0x4473a1
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447380
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2b0]
push eax
lea ecx, [esp + 0x1c]
call fcn.004021b0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0xac4], 2
call fcn.0041eef0
mov byte [esp + 0xac0], 0
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
mov esi, dword [esp + 0x10]
test ecx, ecx
jg 0x4472c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4472c0
test edi, edi
je 0x4473f7
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov bl, 1
test edi, edi
je 0x447404
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [esp + 0xab8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xaa0]
xor ecx, esp
call fcn.004b00a0
mov esp, ebp
pop ebp
ret