Function at 0x4f6060
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571b30
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0045adc0
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4f60a6
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.assetLost
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0045a3a0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x34]
call fcn.004ecca0
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4f60fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0x11
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x48], 0x3f400000
mov dword [ebp - 0x44], 0x3e800000
mov dword [ebp - 0x40], 0x40100000
mov dword [ebp - 0x3c], 0x26
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
push 0
lea ecx, [edi + 0x34]
call fcn.004ecd00
test eax, eax
je 0x4f6434
cmp dword [ebp - 0x50], 0
je 0x4f6434
cmp dword [edi + 0x1a8], 0
je 0x4f6429
push str.ie_hpr
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004f1c10
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f61c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x58c734
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004f1c10
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f6209
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.cr_hb
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004f1c10
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f624d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x58c938
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004f1c10
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f6291
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x58c980
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004f1c10
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f62d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x58c990
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004f1c10
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f6319
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.ie_nt
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004f1c10
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f635d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.ff_nt
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004f1c10
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f63a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.cr_nt
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004f1c10
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f63e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.cr_start
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004f1c10
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f6429
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call fcn.004f0f30
push str.assetLost
lea ecx, [ebp - 0x18]
call fcn.0045a3a0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x34]
call fcn.004ed030
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f6475
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push 2
push dword [edi + 0x204]
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.0045b220
mov ebx, dword [ebp - 0x24]
test eax, eax
jne 0x4f64cb
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push dword [ebp - 0x18]
push 1
push 0
push str.assetLost
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test ebx, ebx
je 0x4f64d6
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4f64f2
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.comp
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.0045a3a0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x34]
call fcn.004ecca0
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 0xe
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f6544
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push 2
push dword [edi + 0x204]
mov dword [ebp - 0x24], 0
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.0045b220
mov edi, dword [ebp - 0x24]
test eax, eax
jne 0x4f6593
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push ebx
push 1
push 0
push str.comp
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x4f659e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f65be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.005211f0
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4f65e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret