Function at 0x4054c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4487c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
mov dword [ebp - 0x18], 0
push edi
mov dword [ebp - 0x30], 0x200
call fcn.00404f70
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x405a0e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x454518
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00403560
test al, al
jne 0x405538
push 0x30
push 0x454518
mov ecx, esi
call fcn.004039e0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00402190
add esp, 4
mov dword [ebp - 4], 1
mov ebx, 1
mov ecx, dword [eax]
mov eax, 0x45d9a0
mov dword [ebp - 0x18], ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405586
test dx, dx
je 0x405582
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405586
add eax, 4
add ecx, 4
test dx, dx
jne 0x405560
xor eax, eax
jmp 0x40558b
sbb eax, eax
or eax, 1
test eax, eax
je 0x405747
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
call fcn.004015f0
test eax, eax
je 0x405a0e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.LzAxMjM0NTYrLzAxMiszNDU2KzcuP0ArQUJCQ0NEPz9AQEFB
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00403560
test al, al
jne 0x4055d7
push 0x30
push str.LzAxMjM0NTYrLzAxMiszNDU2KzcuP0ArQUJCQ0NEPz9AQEFB
mov ecx, esi
call fcn.004039e0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00402190
add esp, 4
mov dword [ebp - 4], 3
mov ebx, 3
mov ecx, dword [eax]
mov eax, 0x45d9a0
mov dword [ebp - 0x18], ebx
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405626
test dx, dx
je 0x405622
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405626
add eax, 4
add ecx, 4
test dx, dx
jne 0x405600
xor eax, eax
jmp 0x40562b
sbb eax, eax
or eax, 1
test eax, eax
je 0x405747
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
call fcn.004015f0
test eax, eax
je 0x405a0e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.Li4uLi4uLi4rLi4uLisuLi4uKy4uLi4rLi4uLi4uLi4uLi4u
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.00403560
test al, al
jne 0x405677
push 0x30
push str.Li4uLi4uLi4rLi4uLisuLi4uKy4uLi4rLi4uLi4uLi4uLi4u
mov ecx, esi
call fcn.004039e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402190
add esp, 4
mov dword [ebp - 4], 5
mov ebx, 7
mov ecx, dword [eax]
mov eax, 0x45d9a0
mov dword [ebp - 0x18], ebx
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4056c6
test dx, dx
je 0x4056c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4056c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4056a0
xor eax, eax
jmp 0x4056cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x405747
push ecx
mov ecx, esp
push str.REREREREREQrRERERCtEREREK0REREQrRERERERERERERERE
call fcn.00402e40
lea ecx, [ebp - 0x20]
call fcn.00402190
add esp, 4
mov ebx, 0xf
mov ecx, dword [eax]
mov eax, 0x45d9a0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405719
test dx, dx
je 0x405715
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405719
add eax, 4
add ecx, 4
test dx, dx
jne 0x4056f3
xor eax, eax
jmp 0x40571e
sbb eax, eax
or eax, 1
test eax, eax
je 0x405747
mov ecx, 0x45d9a0
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405730
sub ecx, edx
mov byte [ebp - 0x11], al
sar ecx, 1
cmp ecx, 0x24
je 0x40574b
mov byte [ebp - 0x11], 1
or edi, 0xffffffff
test bl, 8
je 0x405773
mov edx, dword [ebp - 0x20]
and ebx, 0xfffffff7
mov dword [ebp - 0x18], ebx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405773
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
test bl, 4
je 0x40579f
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffffb
mov dword [ebp - 0x18], ebx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40579f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 1
test bl, 2
je 0x4057cb
mov edx, dword [ebp - 0x24]
and ebx, 0xfffffffd
mov dword [ebp - 0x18], ebx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4057cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4057f1
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4057f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x11], 0
je 0x4059fd
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x405a18
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.UU1EUlU_UENaS2dhcG1xbWRyWkFwd25ybWVwX25mdw
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 6
call fcn.00403560
test al, al
jne 0x40583c
push 0x2c
push str.UU1EUlU_UENaS2dhcG1xbWRyWkFwd25ybWVwX25mdw
lea ecx, [ebp - 0x18]
call fcn.004039e0
mov dword [ebp - 4], 7
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x405a22
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.S19hZmdsY0VzZ2I
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00403560
test al, al
jne 0x405881
push 0x10
push str.S19hZmdsY0VzZ2I
lea ecx, [ebp - 0x20]
call fcn.004039e0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
push 0x101
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp - 0x18]
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.004037f0
add eax, 0x10
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
call fcn.00402190
add esp, 4
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4058da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.004037f0
add eax, 0x10
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
call fcn.00402190
add esp, 4
push dword [eax]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405936
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x238]
push eax
call fcn.0042d4a4
add esp, 4
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x405a2c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.I3VxVg
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.00403560
test al, al
jne 0x405990
push 8
push str.I3VxVg
mov ecx, esi
call fcn.004039e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.00402190
add esp, 4
push dword [eax]
push 0x45d9a0
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x10]
add esp, 0xc
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4059c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x24]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4059e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x4059fd
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013c0
push 0x80004005
call fcn.004013c0
push 0x80004005
call fcn.004013c0
push 0x80004005
call fcn.004013c0
int3