Function at 0x54d3b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65ed94
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
push ecx
push esi
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, esi
je 0x54d452
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x54d43f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x30]
inc ecx
push ecx
call fcn.005fb5ce
add esp, 4
mov dword [ebp - 0x24], eax
cmp eax, esi
jne 0x54d468
jmp 0x54d419
push 0x67b644
lea ecx, [ebp - 0x14]
call fcn.00415220
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x94]
call fcn.005a2ed0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54d4a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 0xc]
cmp ecx, esi
je 0x54d5b4
push ecx
add eax, 0xfffffff0
cmp dword [ebp + 0xc], esi
mov esi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x2c], esi
push eax
jne 0x54d577
call fcn.004044a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 5
call fcn.0054cc20
add esp, 8
mov bl, 9
mov byte [ebp - 4], bl
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x6745cc
call fcn.00415220
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], bl
call fcn.0054cc20
add esp, 8
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x94]
call fcn.005a2f50
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.004014a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.004014a0
cmp dword [ebp - 0x20], 0
ja 0x54d560
cmp dword [ebp - 0x34], 0
ja 0x54d560
mov eax, dword [ebp + 8]
push 1
push 1
push 1
push eax
lea ecx, [ebp - 0x94]
call fcn.005a3510
jmp 0x54d5b4
mov ecx, dword [ebp + 8]
push 1
push 1
push 1
push ecx
lea ecx, [ebp - 0x94]
call fcn.005a30f0
jmp 0x54d5b4
call fcn.004044a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 5
call fcn.0054cc20
add esp, 8
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x94]
call fcn.005a2de0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.004014a0
mov ecx, dword [0x7141a4]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
mov edx, ecx
inc ecx
sub edx, eax
mov dword [0x7141a4], ecx
jne 0x54d642
push 1
push edx
push edx
push edx
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x54d642
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x6c], 0x100
jne 0x54d642
cmp dword [ebp - 0x68], 0x1b
jne 0x54d642
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.005085d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004014a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x64]
call fcn.00425980
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.0054c3d0
mov eax, dword [ebp - 0x60]
xor edi, edi
add esp, 8
mov dword [ebp - 0x18], edi
test eax, eax
jle 0x54da4a
cmp edi, eax
jae 0x54da76
mov ecx, dword [ebp - 0x64]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x54da3e
lea edx, [ebp - 0x40]
push edx
mov ecx, esi
call fcn.0054b4b0
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
or dword [ebp - 0x10], 1
push str._Default_
push eax
call fcn.00612c79
add esp, 8
test eax, eax
jne 0x54d6d6
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.0054b510
mov dword [ebp - 4], 0x11
mov eax, dword [eax]
or dword [ebp - 0x10], 2
push str._value_not_set_
push eax
call fcn.00612c79
add esp, 8
test eax, eax
jne 0x54d6d6
xor bl, bl
jmp 0x54d6d8
mov bl, 1
mov eax, 0x10
mov dword [ebp - 4], eax
test byte [ebp - 0x10], 2
je 0x54d70c
and dword [ebp - 0x10], 0xfffffffd
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54d70c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xf
test byte [ebp - 0x10], 1
je 0x54d740
and dword [ebp - 0x10], 0xfffffffe
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54d740
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x54d9e1
cmp dword [ebp + 0xc], 0
mov ebx, dword [esi + 8]
jne 0x54d942
push 0x67b640
lea ecx, [ebp - 0x3c]
call fcn.00415220
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0xd0]
call fcn.005a2ed0
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54d795
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov ecx, esi
call fcn.0054b4b0
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x16
call fcn.0054cc20
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0x19
push 0x6745cc
lea ecx, [ebp - 0x4c]
call fcn.00415220
mov byte [ebp - 4], 0x1a
push edi
push eax
lea ecx, [ebp - 0xd0]
call fcn.005a2f50
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54d7fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54d821
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov ecx, esi
call fcn.0054b510
mov byte [ebp - 4], 0x1d
lea edx, [ebp - 0x38]
push edx
mov byte [ebp - 4], 0x16
call fcn.0054cc20
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0x1e
push str.value
lea ecx, [ebp - 0x54]
call fcn.00415220
mov byte [ebp - 4], 0x1f
push edi
push eax
lea ecx, [ebp - 0xd0]
call fcn.005a2f50
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54d88a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54d8ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, 1
je 0x54d916
test ebx, ebx
je 0x54d916
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ebx
push ecx
call fcn.0054c2f0
add esp, 8
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x50]
push edx
mov byte [ebp - 4], 0x16
call fcn.0054cc20
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0x23
push str.type
lea ecx, [ebp - 0x44]
call fcn.00415220
mov byte [ebp - 4], 0x24
push edi
push eax
lea ecx, [ebp - 0xd0]
call fcn.005a2f50
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x44]
call fcn.004014a0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x50]
call fcn.004014a0
mov eax, dword [ebp + 8]
push 1
push 1
push 1
push eax
lea ecx, [ebp - 0xd0]
call fcn.005a3510
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xd0]
call fcn.005085d0
mov edi, dword [ebp - 0x18]
jmp 0x54d9e1
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov ecx, esi
call fcn.0054b510
mov byte [ebp - 4], 0x25
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 0xf
call fcn.0054cc20
add esp, 8
mov byte [ebp - 4], 0x26
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov ecx, esi
call fcn.0054b4b0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0x26
call fcn.0054cc20
add esp, 8
mov byte [ebp - 4], 0x28
push eax
lea ecx, [ebp - 0x94]
call fcn.005a2f50
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x54d9be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54d9e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0x2b
lea eax, [esi + 4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x2b
mov eax, dword [eax]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54da10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54da32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.0060faf6
mov eax, dword [ebp - 0x60]
add esp, 4
inc edi
mov dword [ebp - 0x18], edi
cmp edi, eax
jl 0x54d66d
mov ecx, dword [ebp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x54da89
cmp dword [ebp + 0xc], 0
je 0x54da89
cmp dword [ebp - 0x20], 0
push 1
push 1
lea ecx, [ebp - 0x94]
push 1
jbe 0x54da80
mov edx, dword [ebp + 8]
push edx
call fcn.005a30f0
jmp 0x54da89
push 0x80070057
call fcn.004011d0
mov eax, dword [ebp + 8]
push eax
call fcn.005a3510
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
xor ebx, ebx
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0xac]
push edx
mov edx, dword [ebp + 0x14]
push 0
push 0
push 0
inc ecx
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x24]
push ecx
push ebx
push edx
call edi
mov esi, eax
test esi, esi
jne 0x54db14
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x54db14
mov ecx, dword [ebp - 0x24]
mov byte [eax + ecx], 0
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x54db14
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00415220
mov byte [ebp - 4], 0x2f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
mov byte [ebp - 4], 0xf
call fcn.0054d3b0
add esp, 0x10
test eax, eax
je 0x54db44
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
test esi, esi
je 0x54da91
mov ecx, dword [ebp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x54db99
cmp dword [ebp + 0xc], 0
jne 0x54db7e
cmp dword [ebp - 0x20], 0
ja 0x54db38
cmp dword [ebp - 0x34], 0
jbe 0x54db99
mov edx, dword [ebp + 8]
push 1
push 1
push 0xffffffffffffffff
push edx
jmp 0x54db8e
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.00426860
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.005085d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x54d433
cmp dword [ebp - 0x20], 0
jbe 0x54db99
mov eax, dword [ebp + 8]
push 1
push 1
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x94]
call fcn.005a3d30
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00611a0b
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.00426860
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x80]
call fcn.00507e10
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x90]
call fcn.00507e10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x54dbf2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x54dc18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret