Function at 0x406223
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c64db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x40659e
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], 0x42f4
mov dword [ebp - 0x88], str.etetj_ceyqdo_dwoex_mjfo_ocbicp_nin_mgbdebnd_lyggzvc_zgq_pqltp_yjzvmu_qxcwcimc
cmp dword [ebp - 0x38], 0x46d5
jle 0x40633f
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
and dword [ebp - 0x28], 0
jmp 0x406291
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3a6d
jge 0x40633f
and dword [ebp - 0x30], 0
jmp 0x4062ab
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x5220
jge 0x40633a
and dword [ebp - 0x34], 0
jmp 0x4062c5
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x7fd0
jge 0x406335
and dword [ebp - 0x20], 0
jmp 0x4062db
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2e15
jge 0x406333
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
sar eax, cl
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
lea ecx, [ebp - 0xc8]
call fcn.00401993
pop ecx
pop ecx
mov ecx, eax
call fcn.0045211e
push eax
call fcn.004b0bf7
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.00452114
jmp 0x4062d4
jmp 0x4062be
jmp 0x4062a4
jmp 0x40628a
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x80], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0x3f8a
jge 0x40635e
push dword [ebp - 0x88]
call fcn.004b0bf7
pop ecx
jmp 0x40637a
or dword [ebp - 4], 0xffffffff
jmp 0x406384
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x406545
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x3c], 0x16f9
mov dword [ebp - 0x58], str.hylwmblte_escdy_vbj
cmp dword [ebp - 0x3c], 0x179b
jle 0x40649a
and dword [ebp - 0x18], 0
jmp 0x4063f9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1e3a
jge 0x406488
and dword [ebp - 0x1c], 0
jmp 0x406413
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3e18
jge 0x406483
and dword [ebp - 0x24], 0
jmp 0x406429
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3c3d
jge 0x406481
and dword [ebp - 0x2c], 0
jmp 0x40643f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6482
jge 0x40647f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
mov ecx, dword [ebp - 0x24]
sar eax, cl
mov ecx, dword [ebp - 0x2c]
sar eax, cl
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
mov ecx, 0xab95b8
call fcn.00452129
jmp 0x406438
jmp 0x406422
jmp 0x40640c
jmp 0x4063f2
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x1548
jge 0x4064bd
mov edx, dword [ebp - 0x58]
mov ecx, 0xab95b8
call fcn.00453acf
jmp 0x4064d9
or dword [ebp - 4], 0xffffffff
jmp 0x4064e3
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x406520
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x406543
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x406543
push 0x3e3
push 0x160d
push 0
push 0xc62
call dword [sym.imp.USER32.dll_DrawEdge]
jmp 0x40659c
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
push dword [ebp - 0x6c]
push 0x33bd
push 0
push dword [ebp - 0x74]
push dword [ebp - 0x7c]
push dword [ebp - 0x84]
push dword [ebp - 0x8c]
push dword [ebp - 0x94]
call fcn.0044f0d9
add esp, 0x20
jmp 0x4065a6
push 0
call fcn.00406164
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret