Function at 0x4163c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a24e
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5f0a00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x80], edi
call fcn.00437240
add esp, 4
mov dword [ebp - 4], 1
cmp dword [ebp - 0x60], edi
jne 0x4164d5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00562918
add esp, 4
xor esi, esi
nop dword [eax]
call fcn.005628f7
cdq
mov ecx, 0xa
idiv ecx
lea eax, [ebp - 0x13]
test edx, edx
jns 0x416457
neg edx
push edx
push eax
call fcn.004157b0
add esp, 8
mov byte [eax - 1], 0x2d
dec eax
jmp 0x416461
push edx
push eax
call fcn.004157b0
add esp, 8
lea ecx, [ebp - 0x71]
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00415370
or edi, 6
mov dword [ebp - 0x80], edi
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmova eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
push eax
mov byte [ebp - 4], 2
call fcn.00418bb0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x4164cb
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4164c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416636
push ecx
push edx
call fcn.0055241f
add esp, 8
inc esi
cmp esi, 0x20
jl 0x416430
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call fcn.00436dd0
add esp, 8
xor esi, esi
or edi, 1
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push 9
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push 0x59a6e8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], esi
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], esi
call fcn.0040b6c0
mov byte [ebp - 4], 4
call fcn.0040d9d0
mov ecx, dword [eax + 0x60]
add eax, 0x50
cmp dword [eax + 0x14], 7
jbe 0x41652c
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00410b40
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x7c], 0
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [ebp - 0x78]
test eax, eax
jne 0x416594
cmp dword [edi + 0x14], 7
mov eax, edi
mov esi, dword [ebp - 0x7c]
jbe 0x416580
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
push 1
push 0
push str.hcode
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4165ca
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4165c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416636
push ecx
push edx
call fcn.0055241f
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test esi, esi
je 0x4165e9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x416619
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41660f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416636
push ecx
push edx
call fcn.0055241f
add esp, 8
mov eax, edi
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.00551e44
mov esp, ebp
pop ebp
ret
call fcn.0055bf8b
int3