Function at 0x544c40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x5ca89e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x72cec4]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x20c]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x30], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0
push 0x20019
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
mov ebx, esp
mov edx, 0x38
mov ecx, 0x698f40
xor esi, esi
cmp edx, 1
je 0x544cd7
movzx eax, word [ecx + 2]
add ecx, 2
dec edx
test ax, ax
jne 0x544cc3
mov esi, ecx
test esi, esi
mov dword [ebx + 4], 0x698f40
mov eax, str.SYSTEMCurrentControlSetControlTimeZoneInformation
lea ecx, [ebp - 0x3c]
cmovne eax, esi
sub eax, 0x698f40
sar eax, 1
push SysStringLen
mov dword [ebx], eax
call fcn.00552500
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 1
test eax, eax
je 0x545028
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x545028
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x545028
xor ecx, ecx
mov dword [ebp - 0x40], ecx
test eax, eax
je 0x545028
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0xff
push eax
lea eax, [ebp]
push eax
push ecx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x545018
push 0xffffffffffffffff
lea eax, [ebp]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004b6680
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
call fcn.00497ff0
or dword [ebp - 0x30], 2
add esp, 0x14
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x544e84
cmp dword [ecx], 1
jg 0x544e84
mov esi, dword [edi + 8]
mov ebx, dword [edi]
cmp eax, esi
jne 0x544e28
test ebx, ebx
je 0x544e28
mov ecx, dword [edi + 4]
lea eax, [ebx + 0xf]
and eax, 0xfffffffc
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [ebx + 8]
sar edx, 1
sub eax, esi
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
je 0x544e25
mov ecx, dword [edi + 4]
lea eax, [esi + esi*2]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x544fb0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x544e87
test ebx, ebx
je 0x544e87
lea eax, [ebx + 0xf]
mov ebx, dword [edi + 4]
and eax, 0xfffffffc
mov ecx, ebx
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x544e7f
mov eax, dword [ebp - 0x1c]
mov dword [ebx - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx - 4], eax
add dword [edi + 4], 0xfffffff4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x544fb0
mov eax, dword [ebp - 0x34]
jmp 0x544e87
mov esi, dword [edi + 8]
movq xmm0, qword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
test esi, esi
je 0x544ebc
test eax, eax
jne 0x544ebc
mov al, 1
jmp 0x544ebe
xor al, al
movzx edx, al
mov byte [ebp - 0xd], al
mov eax, dword [edi]
mov dword [ebp - 0x20], edx
test eax, eax
je 0x544f3d
cmp dword [eax], 1
jg 0x544f3a
mov esi, dword [edi]
cmp edx, 1
jne 0x544eef
test esi, esi
je 0x544f22
mov eax, dword [edi + 4]
lea ecx, [esi + 0xf]
and ecx, 0xfffffffc
sub eax, ecx
cmp eax, 0xc
jge 0x544f32
jmp 0x544f22
test edx, edx
jne 0x544f22
test esi, esi
je 0x544f22
mov ecx, dword [edi + 4]
lea eax, [esi + 0xf]
and eax, 0xfffffffc
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [esi + 8]
sub eax, dword [edi + 8]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
cmp eax, 1
jge 0x544f32
mov edx, dword [ebp - 0x20]
push 0
push 1
push edx
mov ecx, edi
call fcn.00465a80
test al, al
je 0x544f37
mov ebx, dword [ebp - 0x24]
jmp 0x544f49
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
push 0
push 1
push edx
mov ecx, edi
call fcn.00463ad0
cmp byte [ebp - 0xd], 0
mov ecx, dword [edi + 4]
je 0x544f67
mov eax, dword [ebp - 0x2c]
mov dword [ecx - 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx - 8], eax
mov dword [ecx - 4], ebx
add dword [edi + 4], 0xfffffff4
jmp 0x544f97
mov edx, dword [ebp - 0x34]
lea eax, [edx + edx*2]
lea esi, [ecx + eax*4]
mov eax, dword [edi + 8]
sub eax, edx
lea eax, [eax + eax*2]
shl eax, 2
push eax
lea eax, [esi + 0xc]
push esi
push eax
call fcn.00599570
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov dword [esi], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 3
inc dword [edi + 8]
mov eax, dword [edi]
test eax, eax
je 0x544fbe
cmp dword [eax], 1
jle 0x544fcb
push 0
push 0
push 0
mov ecx, edi
call fcn.00463ad0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x544ff2
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x544ff2
push 4
push 1
push dword [ebp - 0x1c]
call fcn.00461780
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x545018
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x545018
push 4
push 2
push dword [ebp - 0x54]
call fcn.00461780
add esp, 0xc
mov ecx, dword [ebp - 0x40]
inc ecx
mov dword [ebp - 0x40], ecx
cmp ecx, dword [ebp - 0x38]
jb 0x544d56
lea ecx, [ebp - 0x3c]
call fcn.00552540
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.00596709
lea esp, [ebp + 0x204]
pop ebp
ret