Function at 0x42ad60
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x4a11b0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
call fcn.00460a7a
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42ada3
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], ebp
call fcn.00460a7a
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42add1
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x40], 1
call fcn.00460a7a
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42ae00
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x40], 2
call fcn.00460a7a
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42ae2f
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x48]
cmp edi, ebp
mov bl, 3
mov byte [esp + 0x40], bl
mov dword [esp + 0x28], ebp
jne 0x42aefe
lea eax, [esi - 0x10]
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ae76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ae9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x40], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42aec0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42aee8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 0x4cd0fc
lea ecx, [esp + 0x18]
call fcn.00402260
add edi, 4
push edi
lea ecx, [esp + 0x1c]
call fcn.00402260
lea ecx, [esp + 0x14]
call fcn.00406ac0
lea ecx, [esp + 0x18]
call fcn.00406ac0
mov ebp, dword [esp + 0x18]
xor eax, eax
test ebp, ebp
setne al
test eax, eax
jne 0x42af44
push 0x80004005
call fcn.004010e0
mov ecx, dword [esp + 0x14]
push ebp
push ecx
call fcn.00481621
add esp, 8
test eax, eax
sete al
test al, al
je 0x42afa9
lea eax, [esi - 0x10]
mov byte [esp + 0x40], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42af7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42afa1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
jmp 0x42aea2
mov ecx, dword [edi]
push ecx
lea edx, [esp + 0x18]
push str.SOFTWAREESTSOFTALUpdate_s
push edx
call fcn.00402320
add esp, 8
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4a5956
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.Reboot
mov byte [esp + 0x4c], 4
call fcn.00403080
mov esi, dword [esp + 0x1c]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x40], esp
mov ebp, esp
push esi
mov byte [esp + 0x50], 5
call fcn.004017c0
add eax, 0x10
add esp, 4
mov dword [ebp], eax
lea eax, [esp + 0x30]
push reloc.WSOCK32.dll_accept
push eax
mov byte [esp + 0x54], bl
call fcn.00430400
add esp, 0x14
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 6
call fcn.00402260
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b04f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4a5956
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.DownVersion
mov byte [esp + 0x4c], 7
call fcn.00403080
push ecx
mov dword [esp + 0x38], esp
mov ebp, esp
push esi
mov byte [esp + 0x50], 8
call fcn.004017c0
add esp, 4
add eax, 0x10
lea ecx, [esp + 0x30]
push reloc.WSOCK32.dll_accept
mov dword [ebp], eax
push ecx
mov byte [esp + 0x54], bl
call fcn.00430400
add esp, 0x14
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 9
call fcn.00402260
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x40], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b0da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push ecx
call fcn.00402320
add esp, 4
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4a5956
call fcn.00403080
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov dword [esp + 0x38], esp
mov esi, esp
push eax
mov byte [esp + 0x4c], 0xa
call fcn.004017c0
add eax, 0x10
mov dword [esi], eax
mov edi, dword [esp + 0x20]
add edi, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push edi
mov byte [esp + 0x50], 0xb
call fcn.004017c0
add esp, 4
add eax, 0x10
lea edx, [esp + 0x30]
push reloc.WSOCK32.dll_accept
mov dword [esi], eax
push edx
mov byte [esp + 0x54], bl
call fcn.00430400
add esp, 0x14
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 0xc
call fcn.00402260
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b181
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push 0x4a5c14
push ecx
call fcn.00481621
mov ebp, dword [esp + 0x28]
add esp, 8
test eax, eax
sete al
test al, al
je 0x42b1f7
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
je 0x42b1f7
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x1c]
push ecx
sub eax, 0x10
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.004017c0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x38], esp
mov esi, esp
push eax
mov byte [esp + 0x4c], 0xd
call fcn.004017c0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x48], bl
call fcn.004342c0
add esp, 8
test eax, eax
mov esi, 1
je 0x42b1fb
mov esi, dword [esp + 0x28]
add ebp, 0xfffffff0
mov byte [esp + 0x40], 2
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b21d
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b242
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b267
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b288
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret