Function at 0x5085b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509ee4
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x55b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x668], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0042ce60
add esp, 0xc
push str.WanNengZip
lea edx, [ebp - 0x218]
push edx
call fcn.0042f955
add esp, 8
push 0x555a14
lea eax, [ebp - 0x218]
push eax
call fcn.00432c14
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x650]
call fcn.0042503c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x650]
call fcn.00482d00
test eax, eax
jne 0x508677
mov dword [ebp - 0x654], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.0042506b
mov eax, dword [ebp - 0x654]
jmp 0x508869
push 0x555a38
call fcn.00417c70
mov ecx, eax
call fcn.00508070
xor edx, edx
mov word [ebp - 0x628], dx
push 0x206
push 0
lea eax, [ebp - 0x626]
push eax
call fcn.0042ce60
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call fcn.0042ce60
add esp, 0xc
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x628]
push ecx
push str.__s__RunStart
lea edx, [ebp - 0x420]
push edx
call fcn.004180f0
add esp, 0xc
lea eax, [ebp - 0x648]
push eax
push 0xf003f
push 0
push 0x555a88
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x50873e
mov dword [ebp - 0x658], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.0042506b
mov eax, dword [ebp - 0x658]
jmp 0x508869
lea ecx, [ebp - 0x644]
push ecx
push 0xf003f
push 0
push 0x555adc
mov edx, dword [ebp - 0x648]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x508792
push 0
lea eax, [ebp - 0x644]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x555a84
mov ecx, dword [ebp - 0x648]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x508847
push str.WnZip
lea ecx, [ebp - 0x640]
call fcn.00418720
mov byte [ebp - 4], 1
push str.Moniter
lea ecx, [ebp - 0x640]
call fcn.00418690
lea edx, [ebp - 0x420]
push edx
call fcn.00432c45
add esp, 4
lea eax, [eax + eax + 2]
mov dword [ebp - 0x65c], eax
mov ecx, dword [ebp - 0x65c]
push ecx
lea edx, [ebp - 0x420]
push edx
push 1
push 0
lea ecx, [ebp - 0x640]
call fcn.00417f00
push eax
mov eax, dword [ebp - 0x644]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x644]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x648]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x660], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x640]
call fcn.004186d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.0042506b
mov eax, dword [ebp - 0x660]
jmp 0x508869
mov dword [ebp - 0x664], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.0042506b
mov eax, dword [ebp - 0x664]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e191
mov esp, ebp
pop ebp
ret