Function at 0x40514d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
push ebx
push esi
push edi
push 0xd
pop ecx
mov esi, 0x44fab8
lea edi, [ebp - 0x12c]
push 0xb
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x44faac
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
mov esi, 0x44fa7c
lea edi, [ebp - 0x15c]
mov eax, dword [0x44f9c0]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x44f9c8
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x44f9b4
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x44fa70
lea edi, [ebp - 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x44fa60
lea edi, [ebp - 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x38], eax
mov eax, dword [0x44f9c4]
mov esi, 0x44fa54
lea edi, [ebp - 0x68]
mov dword [ebp - 0x34], eax
mov eax, dword [0x44f9a0]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x44], eax
mov eax, dword [0x44f9a4]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x12c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0x64
mov dword [ebp - 0x2c], ebx
movsw word es:[edi], word [esi]
call fcn.00401fe8
lea eax, [ebp - 0x74]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x15c]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x38]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x50]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x44]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x5c]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x80]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x90]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x68]
push eax
call fcn.00401fe8
add esp, 0x28
lea eax, [ebp - 0x17c]
push 0x1e
push eax
lea eax, [ebp - 0x68]
push 0xffffffffffffffff
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [0x454f28], ebx
je 0x4055c7
lea eax, [ebp - 0xc]
push eax
push 0xf003f
lea eax, [ebp - 0x12c]
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4055c7
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x5d4]
push eax
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x5d4]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x82c]
push 0x44f1e4
push eax
call fcn.004404ee
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
push 0xf003f
lea eax, [ebp - 0x82c]
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x32
push eax
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push ebx
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40558d
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x3e0]
push dword [ebp + 8]
push str._s_s_s.xml
push eax
call fcn.004404ee
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.00401e27
add esp, 0x20
test eax, eax
je 0x4055c7
lea eax, [ebp - 0x38]
push ebx
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401f10
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x405445
add esi, 6
lea eax, [ebp - 0x50]
push esi
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401f10
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], edi
sub edi, esi
add esi, eax
push edi
lea eax, [ebp - 0x278]
push esi
push eax
call fcn.004403f0
push dword [ebp - 0x20]
lea eax, [ebp - 0x44]
mov byte [ebp + edi - 0x278], bl
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401f10
mov esi, eax
add esp, 0x2c
cmp esi, ebx
je 0x405445
add esi, 6
lea eax, [ebp - 0x5c]
push esi
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401f10
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x20], edi
sub edi, esi
je 0x405445
mov eax, dword [ebp - 4]
push edi
add esi, eax
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.004403f0
push dword [ebp - 0x20]
lea eax, [ebp - 0x80]
mov byte [ebp + edi - 0x214], bl
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401f10
mov esi, eax
add esp, 0x1c
cmp esi, ebx
je 0x405445
add esi, 0xa
lea eax, [ebp - 0x90]
push esi
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401f10
mov edi, eax
add esp, 0x10
sub edi, esi
jne 0x405453
push dword [ebp - 4]
call fcn.00440ae8
pop ecx
jmp 0x4055a0
mov eax, dword [ebp - 4]
push edi
add esi, eax
lea eax, [ebp - 0xf4]
push esi
push eax
call fcn.004403f0
add esp, 0xc
mov byte [ebp + edi - 0xf4], bl
xor esi, esi
cmp byte [ebp - 0xf4], bl
je 0x40549d
lea eax, [ebp - 0xf4]
lea edi, [ebp - 0xf4]
push eax
call fcn.004020b6
mov byte [ebp + esi - 0xf4], al
inc esi
inc edi
pop ecx
inc edi
mov eax, edi
cmp byte [edi], bl
jne 0x405486
push ebx
push 1
push ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
mov byte [ebp + esi - 0xf4], bl
mov dword [ebp - 0x30], esi
call dword [0x454f28]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x1c]
call dword [0x454f2c]
test eax, eax
je 0x4055c7
push ebx
lea eax, [ebp - 0x17c]
push 0x10
push eax
push dword [ebp - 0x14]
call dword [0x454f30]
test eax, eax
je 0x4055c7
lea eax, [ebp - 0x24]
push eax
push 0x800000
push dword [ebp - 0x14]
push 0x6801
push dword [ebp - 0x1c]
call dword [0x454f4c]
test eax, eax
je 0x4055c7
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xf4]
push eax
push ebx
push 1
push ebx
push dword [ebp - 0x24]
call dword [0x454f48]
test eax, eax
je 0x4055c7
push dword [ebp - 0x24]
call dword [0x454f44]
push dword [ebp - 0x14]
call dword [0x454f38]
push ebx
push dword [ebp - 0x1c]
call dword [0x454f3c]
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x2dc]
push 0x44f19c
push eax
call fcn.004404ee
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x278]
push eax
push 0x44fa40
call fcn.0040596d
push dword [ebp - 4]
call fcn.00440ae8
add esp, 0x20
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x18]
mov dword [ebp - 0x10], 0x64
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x5d4]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x4055cb
jmp 0x4052bb
xor eax, eax
jmp 0x4055d7
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret