Function at 0x404ca0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4712e0
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x48d030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x160]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movaps xmm0, xmmword [0x484120]
lea eax, [ebp - 0x188]
add esp, 0xc
mov dword [ebp - 0x168], 0x104
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x16c], 1
movaps xmm0, xmmword [0x4840f0]
push eax
push 1
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x3c], 0x69445c73
push eax
push reloc.WS2_32.dll_bind
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0x455c6b73
mov dword [ebp - 0x34], 0x6d756e
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4051e7
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x16c]
push eax
push 0
push 0x48062c
push dword [ebp - 0x188]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4051db
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0x61776d76
lea ecx, [ebp - 0x160]
mov word [ebp - 0x24], 0x6572
mov byte [ebp - 0x22], al
lea edx, [ecx + 1]
mov dword [ebp - 0x30], 0x74726976
mov dword [ebp - 0x2c], 0x6c6175
mov dword [ebp - 0x18], 0x786f6276
mov byte [ebp - 0x14], al
mov dword [ebp - 0x20], 0x756d6571
mov byte [ebp - 0x1c], al
mov dword [ebp - 0x164], 0x6e6578
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404dd0
sub ecx, edx
lea eax, [ebp - 0x160]
push ecx
push eax
lea ecx, [ebp - 0x184]
call fcn.00417640
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
sub esp, 0x18
lea eax, [ebp - 0x184]
mov ecx, esp
push eax
call fcn.00412b90
lea ecx, [ebp - 0x1a4]
call fcn.00404bc0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x404e1e
mov eax, dword [eax]
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov ecx, dword [ebp - 0x190]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x404e66
mov edx, dword [ebp - 0x1a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404e5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404e5c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
test esi, esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
je 0x404eb0
push 0
push str.Erorr
push str.Error_cant_run_in_vmware__0x2_
push dword [0x491b34]
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
lea eax, [ebp - 0x30]
push eax
sub esp, 0x18
lea eax, [ebp - 0x184]
mov ecx, esp
push eax
call fcn.00412b90
lea ecx, [ebp - 0x1a4]
call fcn.00404bc0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x404edb
mov eax, dword [eax]
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov ecx, dword [ebp - 0x190]
add esp, 8
mov dword [ebp - 0x18c], eax
cmp ecx, 0x10
jb 0x404f2d
mov edx, dword [ebp - 0x1a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404f1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404f1d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
mov eax, dword [ebp - 0x18c]
add esp, 8
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
test eax, eax
je 0x404f6b
push 0
push str.Erorr
push str.Error_cant_run_in_vmware__0x2_
push dword [0x491b34]
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
lea eax, [ebp - 0x18]
push eax
sub esp, 0x18
lea eax, [ebp - 0x184]
mov ecx, esp
push eax
call fcn.00412b90
lea ecx, [ebp - 0x1a4]
call fcn.00404bc0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x404f96
mov eax, dword [eax]
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov ecx, dword [ebp - 0x190]
add esp, 8
mov dword [ebp - 0x18c], eax
cmp ecx, 0x10
jb 0x404fe8
mov edx, dword [ebp - 0x1a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404fd8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404fd8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
mov eax, dword [ebp - 0x18c]
add esp, 8
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
test eax, eax
je 0x405026
push 0
push str.Erorr
push str.Error_cant_run_in_vmware__0x2_
push dword [0x491b34]
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
sub esp, 0x18
lea eax, [ebp - 0x184]
mov ecx, esp
push eax
call fcn.00412b90
lea ecx, [ebp - 0x1a4]
call fcn.00404bc0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x405051
mov eax, dword [eax]
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov ecx, dword [ebp - 0x190]
add esp, 8
mov dword [ebp - 0x18c], eax
cmp ecx, 0x10
jb 0x4050a3
mov edx, dword [ebp - 0x1a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405093
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405093
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
mov eax, dword [ebp - 0x18c]
add esp, 8
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
test eax, eax
je 0x4050e1
push 0
push str.Erorr
push str.Error_cant_run_in_vmware__0x6_
push dword [0x491b34]
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
lea eax, [ebp - 0x164]
push eax
sub esp, 0x18
lea eax, [ebp - 0x184]
mov ecx, esp
push eax
call fcn.00412b90
lea ecx, [ebp - 0x1a4]
call fcn.00404bc0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40510f
mov eax, dword [eax]
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov ecx, dword [ebp - 0x190]
add esp, 8
mov dword [ebp - 0x18c], eax
cmp ecx, 0x10
jb 0x405161
mov edx, dword [ebp - 0x1a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405151
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405151
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
mov eax, dword [ebp - 0x18c]
add esp, 8
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
test eax, eax
je 0x40519f
push 0
push str.Erorr
push str.Error_cant_run_in_Virtual_Machine__0x7_
push dword [0x491b34]
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov ecx, dword [ebp - 0x170]
cmp ecx, 0x10
jb 0x4051db
mov edx, dword [ebp - 0x184]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4051d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4051d1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
push dword [ebp - 0x188]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046fb30
mov esp, ebp
pop ebp
ret