Function at 0x402dd0
Capabilities:
Check os version
Copy file
Delete file
Enumerate processes
Get number of processors
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x41b37f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdb8
push ebx
push ebp
push esi
lea eax, [esp + 0x2a8]
push edi
mov esi, ecx
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2b0], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x2b0]
cmp eax, 6
jne 0x402e57
lea ecx, [esi + 0xa80]
add esi, 0x60
push ecx
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00412b61
mov eax, dword [eax]
push eax
push 0x422164
push str.upall
push str.UPINFO
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x28]
call fcn.00412922
xor eax, eax
jmp 0x4033fe
cmp eax, 5
jne 0x402ef0
mov ecx, esi
call fcn.00401b80
push 0
push 2
mov dword [esp + 0x88], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x80]
mov ebp, eax
push ecx
push ebp
call sub.KERNEL32.dll_Process32FirstW
lea edx, [esp + 0x80]
push edx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x402ee9
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esp + 0xa4]
push 0x42217c
push eax
call fcn.004054af
add esp, 8
test eax, eax
jne 0x402ed7
mov ecx, dword [esp + 0x88]
push ecx
push eax
push 0x1f0fff
call edi
push 4
push eax
call ebx
lea edx, [esp + 0x80]
push edx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x402ea9
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xa70]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x28], ecx
jle 0x4033b5
mov eax, dword [0x4224a8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xdd0], 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x54]
push ecx
push eax
lea ecx, [esi + 0xa68]
mov byte [esp + 0xdd8], 1
call fcn.00402da0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xdd4], 2
call fcn.00412a69
lea ecx, [esp + 0x54]
mov byte [esp + 0xdd0], 1
call fcn.00412922
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0041156e
inc eax
lea ecx, [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004114f6
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xdd4], 3
call fcn.00412a69
lea ecx, [esp + 0x58]
mov byte [esp + 0xdd0], 1
call fcn.00412922
lea ecx, [esp + 0x38]
call fcn.0041204f
mov edx, dword [esp + 0x10]
xor edi, edi
push edi
push edi
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0xddc], 4
call fcn.00412161
test eax, eax
jne 0x403021
inc edi
cmp edi, 0x64
jg 0x402fe6
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
lea ecx, [esp + 0x44]
call fcn.00412161
test eax, eax
je 0x402fbd
cmp edi, 0x64
jle 0x403021
lea ecx, [esp + 0x38]
mov byte [esp + 0xdd0], 1
call fcn.004120a4
lea ecx, [esp + 0x20]
mov byte [esp + 0xdd0], 0
call fcn.00412922
lea ecx, [esp + 0x10]
mov dword [esp + 0xdd0], 0xffffffff
call fcn.00412922
jmp 0x40339e
lea ecx, [esp + 0x38]
call fcn.0041237c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0041268f
lea ecx, [esp + 0x3c4]
call fcn.00401000
push ecx
lea ebp, [esi + 0x60]
mov ecx, esp
mov dword [esp + 0x38], esp
push ebp
mov byte [esp + 0xdd8], 5
call fcn.0041268f
lea ecx, [esp + 0x3c4]
call fcn.00401190
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0041156e
inc eax
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004114f6
lea ebx, [esi + 0xa80]
lea ecx, [esp + 0x18]
push ebx
push eax
push ecx
mov byte [esp + 0xddc], 6
call fcn.00412b61
lea ecx, [esp + 0x48]
mov byte [esp + 0xdd0], 8
call fcn.00412922
lea edi, [esi + 0x64]
mov ecx, 0x281
lea esi, [esp + 0x3c0]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [0x4224a8]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x3c0]
lea ecx, [esp + 0x24]
push eax
push 0x422408
push ecx
mov byte [esp + 0xddc], 9
call fcn.004118c7
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x403116
push eax
push eax
push 0x4223f8
call fcn.00418ddf
jmp 0x40332e
push 0x42217c
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.00412bc7
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor edi, edi
push edi
push ecx
push eax
call esi
lea ecx, [esp + 0x4c]
call fcn.00412922
push ebx
lea edx, [esp + 0x54]
push ebp
push edx
call fcn.00412b61
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push edi
push ecx
push eax
call esi
lea ecx, [esp + 0x50]
call fcn.00412922
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edx
push 0x422164
push str.upall
push str.UPINFO
call esi
mov eax, dword [esp + 0x18]
push eax
push 0x422164
push str.upmanual
push str.UPINFO
call esi
push str.cw_img
lea ecx, [esp + 0x60]
push ebp
push ecx
call fcn.00412bc7
push 0x425820
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0xddc], 0xa
call fcn.00412bc7
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdd0], 0xc
call fcn.00412922
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0041156e
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.004114f6
push 0x425820
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0xddc], 0xd
call fcn.00412bc7
lea ecx, [esp + 0x30]
mov byte [esp + 0xdd0], 0xf
call fcn.00412922
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
lea eax, [eax + eax + 0xa]
push eax
call fcn.00413a90
mov ecx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [ecx - 8]
lea edx, [eax + eax + 0xa]
push edx
call fcn.00413a90
mov ecx, dword [esp + 0x1c]
mov ebp, eax
add esp, 8
xor eax, eax
cmp dword [ecx - 8], edi
jle 0x403256
mov cx, word [ecx + eax*2]
mov word [esi + eax*2], cx
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, dword [ecx - 8]
jl 0x403244
mov ecx, dword [ecx - 8]
mov word [esi + ecx*2], di
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 8]
mov word [esi + eax*2 + 2], di
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp dword [ecx - 8], edi
jle 0x403287
mov cx, word [ecx + eax*2]
mov word [ebp + eax*2], cx
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, dword [ecx - 8]
jl 0x403274
mov ecx, dword [ecx - 8]
lea edx, [esp + 0x60]
push edx
mov word [ebp + ecx*2], di
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
mov ecx, 7
mov word [ebp + eax*2 + 2], di
xor eax, eax
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
mov word [esp + 0x74], 0x10
mov dword [esp + 0x64], edi
mov dword [esp + 0x7a], edi
mov dword [esp + 0x7e], edi
mov dword [esp + 0x68], 2
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebp
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x403417
push esi
call fcn.00413ab9
push ebp
call fcn.00413ab9
add esp, 4
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0041268f
mov ecx, dword [esp + 0x30]
call fcn.00401930
lea ecx, [esp + 0x1c]
cmp eax, edi
mov byte [esp + 0xdd0], 0xc
call fcn.00412922
lea ecx, [esp + 0x14]
mov byte [esp + 0xdd0], 9
call fcn.00412922
lea ecx, [esp + 0x24]
mov byte [esp + 0xdd0], 8
call fcn.00412922
lea ecx, [esp + 0x18]
mov byte [esp + 0xdd0], 5
call fcn.00412922
lea ecx, [esp + 0x3c0]
mov byte [esp + 0xdd0], 4
call fcn.00401180
lea ecx, [esp + 0x38]
mov byte [esp + 0xdd0], 1
call fcn.004120a4
lea ecx, [esp + 0x20]
mov byte [esp + 0xdd0], 0
call fcn.00412922
lea ecx, [esp + 0x10]
mov dword [esp + 0xdd0], 0xffffffff
call fcn.00412922
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0xa70]
inc ecx
cmp ecx, eax
mov dword [esp + 0x28], ecx
jl 0x402f04
lea ecx, [esi + 0xa80]
add esi, 0x60
push ecx
lea edx, [esp + 0x34]
push esi
push edx
call fcn.00412b61
mov eax, dword [eax]
push eax
push 0x422164
push str.upall
push str.UPINFO
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x30]
call fcn.00412922
push 0
push 0
push str._fTekGS
call fcn.00418ddf
mov eax, 1
mov ecx, dword [esp + 0xdc8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xdc4
ret
push edi
push edi
push str._rY6RC
call fcn.00418ddf
lea ecx, [esp + 0x1c]
mov byte [esp + 0xdd0], 0xc
call fcn.00412922
lea ecx, [esp + 0x14]
mov byte [esp + 0xdd0], 9
call fcn.00412922
lea ecx, [esp + 0x24]
mov byte [esp + 0xdd0], 8
call fcn.00412922
lea ecx, [esp + 0x18]
mov byte [esp + 0xdd0], 5
call fcn.00412922
lea ecx, [esp + 0x3c0]
mov byte [esp + 0xdd0], 4
call fcn.00401180
lea ecx, [esp + 0x38]
mov byte [esp + 0xdd0], 1
call fcn.004120a4
lea ecx, [esp + 0x20]
mov byte [esp + 0xdd0], 0
call fcn.00412922
lea ecx, [esp + 0x10]
mov dword [esp + 0xdd0], 0xffffffff
call fcn.00412922
xor eax, eax
jmp 0x4033fe