Function at 0x4d1bc0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5fc
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5ec], eax
mov dword [ebp - 0x5e4], 0
call fcn.004bc7d0
test eax, eax
je 0x4d1bfd
lea ecx, [ebp - 0x5e4]
push ecx
push 0x20119
jmp 0x4d1c09
lea edx, [ebp - 0x5e4]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4d1c2f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e3946
mov esp, ebp
pop ebp
ret
push esi
push edi
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x5de]
mov edi, 0x200
push ecx
mov dword [ebp - 0x5e8], 1
mov dword [ebp - 0x5f4], edi
mov word [ebp - 0x5e0], ax
call fcn.004e7d90
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea edx, [ebp - 0x5f4]
push edx
mov edx, dword [ebp - 0x5e4]
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x5e8]
push ecx
push 0
push 0x52a18c
push edx
call esi
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x3de]
push ecx
mov dword [ebp - 0x5fc], edi
mov word [ebp - 0x3e0], ax
call fcn.004e7d90
add esp, 0xc
lea edx, [ebp - 0x5fc]
push edx
mov edx, dword [ebp - 0x5e4]
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x5e8]
push ecx
push 0
push str.CSDVersion
push edx
call esi
push 0xff
lea eax, [ebp - 0x1df]
push 0
push eax
mov dword [ebp - 0x5e8], 3
mov dword [ebp - 0x5f8], pe_nt_image_headers32
mov byte [ebp - 0x1e0], 0
call fcn.004e7d90
add esp, 0xc
lea ecx, [ebp - 0x5f8]
push ecx
mov ecx, dword [ebp - 0x5e4]
lea edx, [ebp - 0x1e0]
push edx
lea eax, [ebp - 0x5e8]
push eax
push 0
push 0x52a1a4
push ecx
call esi
test eax, eax
je 0x4d1d51
mov edx, dword [ebp - 0x5e4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e3946
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x5e4]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1ac]
mov edx, dword [ebp - 0x1a8]
xor eax, eax
mov dword [ebp - 0x3f], eax
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
xor eax, eax
mov ecx, 0x1d
lea edx, [ebp - 0x44]
sub ecx, edx
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x5f], eax
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov dword [ebp - 0x4f], eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov byte [ebp - 0x43], al
mov dword [ebp - 0x20], 0x46444342
mov dword [ebp - 0x1c], 0x4b4a4847
mov dword [ebp - 0x18], 0x5251504d
mov dword [ebp - 0x14], 0x58575654
mov dword [ebp - 0x10], 0x34333259
mov dword [ebp - 0xc], 0x39383736
mov byte [ebp - 8], al
lea ebx, [eax + 0x1c]
mov dword [ebp - 0x5f0], ecx
lea edi, [ebp + ebx - 0x60]
lea eax, [ecx + edi]
cdq
mov esi, 6
idiv esi
test edx, edx
jne 0x4d1e1b
mov byte [edi], 0x2d
jmp 0x4d1e5b
xor ecx, ecx
mov esi, 0xe
movzx eax, byte [ebp + esi - 0x40]
shl ecx, 8
or ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
add edx, edx
add edx, edx
add edx, edx
mov byte [ebp + esi - 0x40], al
sub ecx, edx
dec esi
mov al, byte [ebp + ecx - 0x20]
jns 0x4d1e22
mov ecx, dword [ebp - 0x5f0]
mov byte [edi], al
dec ebx
jns 0x4d1e03
xor eax, eax
push 0x7e
push eax
lea ecx, [ebp - 0xde]
push ecx
mov word [ebp - 0xe0], ax
call fcn.004e7d90
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x60]
push edx
push 0
push 0
call esi
push eax
lea eax, [ebp - 0xe0]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
call esi
call fcn.004bc7d0
pop ebx
test eax, eax
je 0x4d1ed0
lea edx, [ebp - 0xe0]
push edx
mov edx, dword [ebp - 0x5ec]
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x5e0]
push ecx
push str._s_x64_t_s_t_s_t_t
push edx
jmp 0x4d1ef1
lea eax, [ebp - 0xe0]
push eax
mov eax, dword [ebp - 0x5ec]
lea ecx, [ebp - 0x3e0]
push ecx
lea edx, [ebp - 0x5e0]
push edx
push str._s_t_s_t_s_t_t
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
add esp, 0x14
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004e3946
mov esp, ebp
pop ebp
ret