Function at 0x413592
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bef07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x413740
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], 0x1b78
mov dword [ebp - 0x2c], str.ptqfxsl_cfgsrkdev_ikf_opnzjxoyy_nejviyltk_nham_lrugbspmc_amcfobne_hhvwofq
cmp dword [ebp - 0x28], 0x1dc3
jle 0x413664
and dword [ebp - 0x24], 0
jmp 0x4135ee
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3f6d
jge 0x413664
and dword [ebp - 0x18], 0
jmp 0x413604
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1ef3
jge 0x413662
and dword [ebp - 0x1c], 0
jmp 0x41361a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xc9f
jge 0x413660
and dword [ebp - 0x20], 0
jmp 0x413630
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x198e
jge 0x41365e
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
push dword [ebp - 0x68]
mov ecx, 0xab56b8
call fcn.00435439
jmp 0x413629
jmp 0x413613
jmp 0x4135fd
jmp 0x4135e7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x181e
jge 0x413684
mov edx, dword [ebp - 0x2c]
mov ecx, 0xab56b8
call fcn.004371ef
jmp 0x4136a0
or dword [ebp - 4], 0xffffffff
jmp 0x4136aa
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x4136ca
push 1
call fcn.004137ae
pop ecx
jmp 0x41373e
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x4136f3
push 0x255e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x41373e
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x413721
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x41373e
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x54]
call fcn.0043566b
mov dword [eax], 0xdf99ff60
jmp 0x413716
jmp 0x41379d
lea eax, [ebp + 0x20]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x413771
push 0x5ad4
push 1
push 0x7875
push 0x582
call fcn.00405d96
add esp, 0x10
jmp 0x41379d
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x413795
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x41379d
push 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret