Function at 0x4023d3
Capabilities:
Encode data using xor
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f0
push ebx
push esi
push edi
push 9
pop ecx
mov esi, 0x44e1c0
lea edi, [ebp - 0x7c]
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
cmp dword [0x453d20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x64
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x14], 0xa3
mov byte [ebp - 0x13], 0x1e
mov byte [ebp - 0x12], 0xf3
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0x10], 7
mov byte [ebp - 0xf], 0x62
mov byte [ebp - 0xe], 0xd9
mov byte [ebp - 0xd], 0x1f
mov byte [ebp - 0xc], 0x1e
mov byte [ebp - 0xb], 0xe9
mov byte [ebp - 0xa], 0x35
mov byte [ebp - 9], 0x7d
mov byte [ebp - 8], 0x4f
mov byte [ebp - 7], 0xd2
mov byte [ebp - 6], 0x7d
mov byte [ebp - 5], 0x48
movsw word es:[edi], word [esi]
je 0x402670
lea eax, [ebp - 0x7c]
push eax
call fcn.00401c36
pop ecx
lea eax, [ebp - 0x18]
push eax
push 0xf003f
lea eax, [ebp - 0x7c]
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402670
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push ebx
push eax
lea eax, [ebp - 0xe0]
push eax
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x160]
push 0x44e1b8
push eax
call fcn.0043fe2e
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
push 0xf003f
lea eax, [ebp - 0x160]
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1f4
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push 0x44e1b4
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402634
lea eax, [ebp - 0x14]
push 0x10
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00440090
push 0x454500
mov edi, 0xba0da71d
xor esi, esi
call fcn.0043f8e0
add esp, 0x10
test eax, eax
jbe 0x402549
movsx ecx, byte [esi + 0x454500]
imul ecx, edi
imul edi, edi, 0xbc8f
mov eax, esi
push 0x454500
and eax, 3
xor dword [ebp + eax*4 - 0x54], ecx
lea eax, [ebp + eax*4 - 0x54]
inc esi
call fcn.0043f8e0
cmp esi, eax
pop ecx
jb 0x40251c
push 0x454480
mov dword [ebp - 4], ebx
call fcn.0043f8e0
test eax, eax
pop ecx
jbe 0x40258f
mov ecx, dword [ebp - 4]
mov eax, esi
and eax, 3
push 0x454480
movsx ecx, byte [ecx + 0x454480]
imul ecx, edi
imul edi, edi, 0xbc8f
xor dword [ebp + eax*4 - 0x54], ecx
lea eax, [ebp + eax*4 - 0x54]
inc esi
inc dword [ebp - 4]
call fcn.0043f8e0
cmp dword [ebp - 4], eax
pop ecx
jb 0x40255b
mov ecx, dword [ebp - 0x54]
xor eax, eax
or ecx, 1
cmp dword [ebp - 0x1c], ebx
jbe 0x4025d1
mov dl, byte [ebp + eax - 0x3ec]
mov bl, byte [ebp + eax - 0x3eb]
add dl, 0xf
sub bl, 0x21
shl dl, 4
or dl, bl
mov esi, eax
sub dl, cl
imul ecx, ecx, 0x10ff5
shr esi, 1
inc eax
inc eax
mov byte [ebp + esi - 0x1fc], dl
cmp eax, dword [ebp - 0x1c]
jb 0x40259c
xor ebx, ebx
shr eax, 1
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x30]
push eax
push 1
push ebx
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x1fc]
push ebx
push eax
mov dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x40], ecx
call dword [0x453d20]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x402670
mov ecx, dword [ebp - 0x30]
push 1
add ecx, eax
push ebx
push ecx
call fcn.004403d0
push dword [ebp - 0x2c]
lea eax, [ebp - 0xe0]
push eax
push 0x453d30
push 0x44e1b0
call fcn.004052cb
add esp, 0x1c
push dword [ebp - 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
inc dword [ebp - 0x24]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push ebx
push eax
lea eax, [ebp - 0xe0]
push eax
mov dword [ebp - 0x20], 0x64
push dword [ebp - 0x24]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x402674
jmp 0x40248d
xor eax, eax
jmp 0x40267c
push dword [ebp - 0x18]
call esi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret