Function at 0x53cc50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x5c287e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x71c56c]
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, 0x682d70
xor esi, esi
cmp edx, 1
je 0x53cce7
movzx eax, word [ecx + 2]
add ecx, 2
dec edx
test ax, ax
jne 0x53ccd3
mov esi, ecx
test esi, esi
mov dword [ebx + 4], 0x682d70
mov eax, str.SYSTEMCurrentControlSetControlTimeZoneInformation
lea ecx, [ebp - 0x3c]
cmovne eax, esi
sub eax, 0x682d70
sar eax, 1
push SysStringLen
mov dword [ebx], eax
call fcn.0054a500
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 1
test eax, eax
je 0x53d038
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 0x53d038
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x53d038
xor ecx, ecx
mov dword [ebp - 0x40], ecx
test eax, eax
je 0x53d038
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 0x53d028
push 0xffffffffffffffff
lea eax, [ebp]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004ae6d0
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
call fcn.00490050
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 0x53ce94
cmp dword [ecx], 1
jg 0x53ce94
mov esi, dword [edi + 8]
mov ebx, dword [edi]
cmp eax, esi
jne 0x53ce38
test ebx, ebx
je 0x53ce38
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 0x53ce35
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 0x53cfc0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x53ce97
test ebx, ebx
je 0x53ce97
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 0x53ce8f
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 0x53cfc0
mov eax, dword [ebp - 0x34]
jmp 0x53ce97
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 0x53cecc
test eax, eax
jne 0x53cecc
mov al, 1
jmp 0x53cece
xor al, al
movzx edx, al
mov byte [ebp - 0xd], al
mov eax, dword [edi]
mov dword [ebp - 0x20], edx
test eax, eax
je 0x53cf4d
cmp dword [eax], 1
jg 0x53cf4a
mov esi, dword [edi]
cmp edx, 1
jne 0x53ceff
test esi, esi
je 0x53cf32
mov eax, dword [edi + 4]
lea ecx, [esi + 0xf]
and ecx, 0xfffffffc
sub eax, ecx
cmp eax, 0xc
jge 0x53cf42
jmp 0x53cf32
test edx, edx
jne 0x53cf32
test esi, esi
je 0x53cf32
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 0x53cf42
mov edx, dword [ebp - 0x20]
push 0
push 1
push edx
mov ecx, edi
call fcn.0045dae0
test al, al
je 0x53cf47
mov ebx, dword [ebp - 0x24]
jmp 0x53cf59
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
push 0
push 1
push edx
mov ecx, edi
call fcn.0045bb30
cmp byte [ebp - 0xd], 0
mov ecx, dword [edi + 4]
je 0x53cf77
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 0x53cfa7
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.00591570
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 0x53cfce
cmp dword [eax], 1
jle 0x53cfdb
push 0
push 0
push 0
mov ecx, edi
call fcn.0045bb30
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x53d002
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x53d002
push 4
push 1
push dword [ebp - 0x1c]
call fcn.004597e0
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x53d028
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x53d028
push 4
push 2
push dword [ebp - 0x54]
call fcn.004597e0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
inc ecx
mov dword [ebp - 0x40], ecx
cmp ecx, dword [ebp - 0x38]
jb 0x53cd66
lea ecx, [ebp - 0x3c]
call fcn.0054a540
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.0058e709
lea esp, [ebp + 0x204]
pop ebp
ret