Function at 0x5432e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x5c8efe
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x72b01c]
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, 0x694cb0
xor esi, esi
cmp edx, 1
je 0x543377
movzx eax, word [ecx + 2]
add ecx, 2
dec edx
test ax, ax
jne 0x543363
mov esi, ecx
test esi, esi
mov dword [ebx + 4], 0x694cb0
mov eax, str.SYSTEMCurrentControlSetControlTimeZoneInformation
lea ecx, [ebp - 0x3c]
cmovne eax, esi
sub eax, 0x694cb0
sar eax, 1
push SysStringLen
mov dword [ebx], eax
call fcn.00550b80
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 1
test eax, eax
je 0x5436c8
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 0x5436c8
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x5436c8
xor ecx, ecx
mov dword [ebp - 0x40], ecx
test eax, eax
je 0x5436c8
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 0x5436b8
push 0xffffffffffffffff
lea eax, [ebp]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004b4d80
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
call fcn.004966f0
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 0x543524
cmp dword [ecx], 1
jg 0x543524
mov esi, dword [edi + 8]
mov ebx, dword [edi]
cmp eax, esi
jne 0x5434c8
test ebx, ebx
je 0x5434c8
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 0x5434c5
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 0x543650
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x543527
test ebx, ebx
je 0x543527
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 0x54351f
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 0x543650
mov eax, dword [ebp - 0x34]
jmp 0x543527
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 0x54355c
test eax, eax
jne 0x54355c
mov al, 1
jmp 0x54355e
xor al, al
movzx edx, al
mov byte [ebp - 0xd], al
mov eax, dword [edi]
mov dword [ebp - 0x20], edx
test eax, eax
je 0x5435dd
cmp dword [eax], 1
jg 0x5435da
mov esi, dword [edi]
cmp edx, 1
jne 0x54358f
test esi, esi
je 0x5435c2
mov eax, dword [edi + 4]
lea ecx, [esi + 0xf]
and ecx, 0xfffffffc
sub eax, ecx
cmp eax, 0xc
jge 0x5435d2
jmp 0x5435c2
test edx, edx
jne 0x5435c2
test esi, esi
je 0x5435c2
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 0x5435d2
mov edx, dword [ebp - 0x20]
push 0
push 1
push edx
mov ecx, edi
call fcn.00464190
test al, al
je 0x5435d7
mov ebx, dword [ebp - 0x24]
jmp 0x5435e9
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
push 0
push 1
push edx
mov ecx, edi
call fcn.004621e0
cmp byte [ebp - 0xd], 0
mov ecx, dword [edi + 4]
je 0x543607
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 0x543637
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.00597bd0
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 0x54365e
cmp dword [eax], 1
jle 0x54366b
push 0
push 0
push 0
mov ecx, edi
call fcn.004621e0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x543692
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x543692
push 4
push 1
push dword [ebp - 0x1c]
call fcn.0045fe90
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x5436b8
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x5436b8
push 4
push 2
push dword [ebp - 0x54]
call fcn.0045fe90
add esp, 0xc
mov ecx, dword [ebp - 0x40]
inc ecx
mov dword [ebp - 0x40], ecx
cmp ecx, dword [ebp - 0x38]
jb 0x5433f6
lea ecx, [ebp - 0x3c]
call fcn.00550bc0
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.00594d69
lea esp, [ebp + 0x204]
pop ebp
ret