Function at 0x4028b0
Capabilities:
Create process on windows
Delete file
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b4
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.004090b0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x630], dx
push 0x206
push 0
lea eax, [ebp - 0x62e]
push eax
call fcn.004090b0
add esp, 0xc
push 0x200
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.004090b0
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x414410
push 0x104
lea eax, [ebp - 0x420]
push eax
call fcn.00405767
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00402f80
mov dword [ebp - 4], eax
cmp dword [0x418638], 1
jne 0x402984
cmp dword [ebp - 4], 0
jne 0x402984
xor eax, eax
jmp 0x402f6d
call fcn.004035a0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x218], 0x504d534d
mov edx, 0x51
mov word [ebp - 0x194], dx
mov eax, 0x2b70
mov word [ebp - 0xf2], ax
mov dword [ebp - 0x634], 0x414428
lea ecx, [ebp - 0x172]
mov dword [ebp - 0x638], ecx
mov edx, dword [ebp - 0x638]
mov dword [ebp - 0x63c], edx
mov eax, dword [ebp - 0x634]
mov cx, word [eax]
mov word [ebp - 0x63e], cx
mov edx, dword [ebp - 0x638]
mov ax, word [ebp - 0x63e]
mov word [edx], ax
mov ecx, dword [ebp - 0x634]
add ecx, 2
mov dword [ebp - 0x634], ecx
mov edx, dword [ebp - 0x638]
add edx, 2
mov dword [ebp - 0x638], edx
cmp word [ebp - 0x63e], 0
jne 0x4029d0
mov dword [ebp - 0x644], 0x414444
lea eax, [ebp - 0x214]
mov dword [ebp - 0x648], eax
mov ecx, dword [ebp - 0x648]
mov dword [ebp - 0x64c], ecx
mov edx, dword [ebp - 0x644]
mov ax, word [edx]
mov word [ebp - 0x64e], ax
mov ecx, dword [ebp - 0x648]
mov dx, word [ebp - 0x64e]
mov word [ecx], dx
mov eax, dword [ebp - 0x644]
add eax, 2
mov dword [ebp - 0x644], eax
mov ecx, dword [ebp - 0x648]
add ecx, 2
mov dword [ebp - 0x648], ecx
cmp word [ebp - 0x64e], 0
jne 0x402a3a
mov dword [ebp - 0x654], 0x414460
lea edx, [ebp - 0x192]
mov dword [ebp - 0x658], edx
mov eax, dword [ebp - 0x658]
mov dword [ebp - 0x65c], eax
mov ecx, dword [ebp - 0x654]
mov dx, word [ecx]
mov word [ebp - 0x65e], dx
mov eax, dword [ebp - 0x658]
mov cx, word [ebp - 0x65e]
mov word [eax], cx
mov edx, dword [ebp - 0x654]
add edx, 2
mov dword [ebp - 0x654], edx
mov eax, dword [ebp - 0x658]
add eax, 2
mov dword [ebp - 0x658], eax
cmp word [ebp - 0x65e], 0
jne 0x402aa4
mov dword [ebp - 0x50], 5
push 0x4185f8
push 0x10
lea ecx, [ebp - 0x90]
push ecx
call fcn.004057dc
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x402b15
cmp dword [ebp - 0xc], 0
je 0x402b85
push 0x418470
lea edx, [ebp - 0x192]
push edx
call fcn.00402330
add esp, 8
push 0x4184f0
lea eax, [ebp - 0x214]
push eax
call fcn.00402310
add esp, 8
push 0x418570
lea ecx, [ebp - 0x172]
push ecx
call fcn.00402310
add esp, 8
mov dx, word [0x41846c]
mov word [ebp - 0x194], dx
mov ax, word [0x4185f0]
mov word [ebp - 0xf2], ax
mov ecx, dword [0x4185f4]
mov dword [ebp - 0x50], ecx
cmp dword [0x4185f4], 0
jne 0x402b85
mov dword [ebp - 0x50], 5
mov dword [ebp - 0x664], 0x41446c
lea edx, [ebp - 0x214]
mov dword [ebp - 0x668], edx
mov eax, dword [ebp - 0x668]
mov cx, word [eax]
mov word [ebp - 0x66a], cx
mov edx, dword [ebp - 0x664]
cmp cx, word [edx]
jne 0x402c01
cmp word [ebp - 0x66a], 0
je 0x402bf5
mov eax, dword [ebp - 0x668]
mov cx, word [eax + 2]
mov word [ebp - 0x66c], cx
mov edx, dword [ebp - 0x664]
cmp cx, word [edx + 2]
jne 0x402c01
add dword [ebp - 0x668], 4
add dword [ebp - 0x664], 4
cmp word [ebp - 0x66c], 0
jne 0x402b9b
mov dword [ebp - 0x670], 0
jmp 0x402c0c
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x670], eax
mov ecx, dword [ebp - 0x670]
mov dword [ebp - 0x674], ecx
cmp dword [ebp - 0x674], 0
jne 0x402c3f
movzx edx, word [ebp - 0x194]
cmp edx, 0x51
jne 0x402c3f
movzx eax, word [ebp - 0xf2]
cmp eax, 0x2b66
je 0x402cc8
mov ecx, 0x51
mov word [ebp - 0x194], cx
mov dword [ebp - 0x50], 5
mov edx, 0x2b66
mov word [ebp - 0xf2], dx
mov dword [ebp - 0x678], 0x414488
lea eax, [ebp - 0x214]
mov dword [ebp - 0x67c], eax
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x680], ecx
mov edx, dword [ebp - 0x678]
mov ax, word [edx]
mov word [ebp - 0x682], ax
mov ecx, dword [ebp - 0x67c]
mov dx, word [ebp - 0x682]
mov word [ecx], dx
mov eax, dword [ebp - 0x678]
add eax, 2
mov dword [ebp - 0x678], eax
mov ecx, dword [ebp - 0x67c]
add ecx, 2
mov dword [ebp - 0x67c], ecx
cmp word [ebp - 0x682], 0
jne 0x402c80
movzx edx, word [ebp - 0x214]
test edx, edx
je 0x402cde
movzx eax, word [ebp - 0x194]
test eax, eax
jg 0x402ce8
jmp 0x402f63
mov dword [ebp - 0x218], 0x504d534d
mov dword [ebp - 0x688], 0x4185f8
mov ecx, dword [ebp - 0x688]
add ecx, 2
mov dword [ebp - 0x68c], ecx
mov edx, dword [ebp - 0x688]
mov ax, word [edx]
mov word [ebp - 0x68e], ax
add dword [ebp - 0x688], 2
cmp word [ebp - 0x68e], 0
jne 0x402d0b
mov ecx, dword [ebp - 0x688]
sub ecx, dword [ebp - 0x68c]
sar ecx, 1
mov dword [ebp - 0x694], ecx
je 0x402d6e
push 0x4185f8
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x402d6e
push 0x4185f8
push 0x10
lea edx, [ebp - 0x90]
push edx
call fcn.004057dc
add esp, 0xc
movzx eax, word [ebp - 0x90]
test eax, eax
jne 0x402d8d
push 0x4144a4
lea ecx, [ebp - 0x90]
push ecx
call fcn.00402330
add esp, 8
movzx edx, word [ebp - 0x70]
test edx, edx
jne 0x402e07
push 0x4144b4
lea eax, [ebp - 0x70]
push eax
call fcn.00402330
add esp, 8
mov dword [ebp - 0x698], 0x418618
mov ecx, dword [ebp - 0x698]
add ecx, 2
mov dword [ebp - 0x69c], ecx
mov edx, dword [ebp - 0x698]
mov ax, word [edx]
mov word [ebp - 0x69e], ax
add dword [ebp - 0x698], 2
cmp word [ebp - 0x69e], 0
jne 0x402dbf
mov ecx, dword [ebp - 0x698]
sub ecx, dword [ebp - 0x69c]
sar ecx, 1
mov dword [ebp - 0x6a4], ecx
je 0x402e07
push 0x418618
lea edx, [ebp - 0x70]
push edx
call fcn.00402330
add esp, 8
mov eax, dword [0x416f34]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x50], 0
jne 0x402e1c
mov dword [ebp - 0x50], 5
lea ecx, [ebp - 0x218]
push ecx
call fcn.00402710
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x402e3e
jmp 0x402f63
lea edi, [ebp - 0x420]
lea esi, [ebp - 0x70]
call fcn.004038a0
push 0x104
lea edx, [ebp - 0x630]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor edx, edx
mov ecx, 0x64
div ecx
mov dword [ebp - 8], edx
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x630]
call fcn.00403f50
add esp, 4
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
push eax
push 3
push 0
push 0x4144d0
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402f49
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x6a8], ecx
mov edx, dword [ebp - 0x6a8]
add edx, 2
mov dword [ebp - 0x6ac], edx
mov eax, dword [ebp - 0x6a8]
mov cx, word [eax]
mov word [ebp - 0x6ae], cx
add dword [ebp - 0x6a8], 2
cmp word [ebp - 0x6ae], 0
jne 0x402edb
mov edx, dword [ebp - 0x6a8]
sub edx, dword [ebp - 0x6ac]
sar edx, 1
mov dword [ebp - 0x6b4], edx
mov eax, dword [ebp - 0x6b4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x420]
push edx
push 1
push 0
push 0x4144c4
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402f49
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push 0
push 0x4144cc
lea edx, [ebp - 0x420]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00405758
mov esp, ebp
pop ebp
ret