Function at 0x402560
Capabilities:
Check os version
Create process on windows
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x43391d
mov eax, dword fs:[0]
push eax
sub esp, 0xc38
mov eax, dword [0x444504]
xor eax, esp
mov dword [esp + 0xc34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x444504]
xor eax, esp
push eax
lea eax, [esp + 0xc4c]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, 0xf
xor edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc0], edi
mov byte [esp + 0xb0], 0
push 0x401b30
push 0x401b10
push 0x12
push 0x1c
lea eax, [esp + 0x250]
push eax
mov dword [esp + 0xc68], edi
call fcn.0041f596
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
lea ecx, [esp + 0xac]
push ecx
mov ecx, ebx
mov byte [esp + 0xc58], 2
call fcn.00402200
test eax, eax
jne 0x402680
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jb 0x402629
mov edx, dword [esp + 0x78]
push edx
call fcn.00403388
add esp, 4
push 0x401b30
push 0x12
push 0x1c
lea eax, [esp + 0x24c]
push eax
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], edi
mov byte [esp + 0x88], 0
mov byte [esp + 0xc64], 0
call fcn.0041f533
cmp dword [esp + 0xc4], esi
jb 0x402676
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00403388
add esp, 4
mov eax, 0x4e24
jmp 0x402f6f
mov ebp, dword [esp + 0xc4]
cmp ebp, 0x10
mov ecx, dword [esp + 0xb0]
mov edx, ecx
jae 0x40269c
lea edx, [esp + 0xb0]
lea esi, [esp + 0x438]
mov al, byte [edx]
mov byte [esi], al
add edx, 1
add esi, 1
test al, al
jne 0x4026a3
cmp ebp, 0x10
mov edx, ecx
jae 0x4026bf
lea edx, [esp + 0xb0]
lea esi, [esp + 0x53c]
mov al, byte [edx]
mov byte [esi], al
add edx, 1
add esi, 1
test al, al
jne 0x4026c6
cmp ebp, 0x10
mov edx, ecx
jae 0x4026e2
lea edx, [esp + 0xb0]
lea esi, [esp + 0x640]
lea esp, [esp]
mov al, byte [edx]
mov byte [esi], al
add edx, 1
add esi, 1
test al, al
jne 0x4026f0
lea edi, [esp + 0x640]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x402708
cmp ebp, 0x10
mov dx, word [0x4367f4]
mov word [edi], dx
jae 0x402728
lea ecx, [esp + 0xb0]
lea edx, [esp + 0x744]
nop
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x402730
lea eax, [esp + 0x744]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402748
mov ecx, dword [str.ExcuteList.txt]
mov edx, dword [0x4367e8]
mov dword [eax], ecx
mov ecx, dword [0x4367ec]
mov dword [eax + 4], edx
mov edx, dword [0x4367f0]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x438]
add eax, 0xffffffff
nop
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402780
mov ecx, dword [str.Uninstall]
mov edx, dword [0x4367dc]
mov dword [eax], ecx
mov cx, word [0x4367e0]
mov dword [eax + 4], edx
mov dl, byte [0x4367e2]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x53c]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4027c0
mov ecx, dword [str.UninstallALL]
mov edx, dword [0x4367cc]
mov dword [eax], ecx
mov ecx, dword [0x4367d0]
mov dword [eax + 4], edx
mov dx, word [0x4367d4]
mov dword [eax + 8], ecx
mov cl, byte [0x4367d6]
push str.IsWow64Process
mov word [eax + 0xc], dx
push str.kernel32
mov byte [eax + 0xe], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4028c9
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x4028c9
cmp dword [esp + 0x2c], 1
jne 0x4028c9
push 0xf
push str.devsetup64.exe
lea ecx, [esp + 0x7c]
call fcn.00401f90
mov eax, dword [esp + 0x78]
mov ebp, 0x10
cmp dword [esp + 0x8c], ebp
jae 0x402860
lea eax, [esp + 0x78]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402862
lea edi, [esp + 0x640]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x402877
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x438]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
jmp 0x4028a0
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4028a0
mov ecx, dword [str.WinVista64]
mov edx, dword [0x4367b0]
mov dword [eax], ecx
mov ecx, dword [0x4367b4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jmp 0x40298f
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, al
cmp eax, 5
lea eax, [esp + 0x438]
jne 0x402909
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4028e1
mov edx, dword [str.WinXP]
mov cx, word [0x4367a8]
mov dword [eax], edx
mov dl, byte [0x4367aa]
mov word [eax + 4], cx
mov byte [eax + 6], dl
jmp 0x402936
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402910
mov ecx, dword [str.WinVista]
mov edx, dword [0x43679c]
mov dword [eax], ecx
mov cx, word [0x4367a0]
mov dword [eax + 4], edx
mov word [eax + 8], cx
push 0xe
push str.devsetup32.exe
lea ecx, [esp + 0x7c]
call fcn.00401f90
mov eax, dword [esp + 0x78]
mov ebp, 0x10
cmp dword [esp + 0x8c], ebp
jae 0x40295c
lea eax, [esp + 0x78]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402960
lea edi, [esp + 0x640]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x402975
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x12
push str.__uninstall__debug
lea ecx, [esp + 0xec]
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x100], 0
mov byte [esp + 0xf0], 0
call fcn.00401f90
mov ecx, dword [ebx + 0x48]
mov eax, ecx
mov byte [esp + 0xc54], 3
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4029d0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xec]
call fcn.00401ea0
push 0x44
lea edx, [esp + 0x34]
push 0
push edx
call fcn.0041e7e0
xor eax, eax
add esp, 0xc
cmp dword [esp + 0xfc], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x30], 0x44
jae 0x402a2b
lea eax, [esp + 0xe8]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea eax, [esp + 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x402a66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xa4], 0x4e27
jmp 0x402aa1
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [ebx + 0xa4], ecx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov eax, dword [ebx + 0xa4]
cmp eax, 0x4e2a
je 0x402ec6
cmp eax, 0x4e2b
je 0x402ec6
lea ecx, [esp + 0x744]
push 0x436770
push ecx
call fcn.0041eb5c
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x402ec6
xor ebx, ebx
lea esi, [esp + 0x240]
jmp 0x402af0
push ebp
lea edx, [esp + 0x84c]
push 0x400
push edx
call fcn.0041f34e
mov edi, eax
lea eax, [esp + 0x854]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402b12
sub eax, edx
cmp eax, 4
jle 0x402b66
lea eax, [esp + 0x848]
push eax
call fcn.004337d4
lea eax, [esp + 0x84c]
add esp, 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402b40
sub eax, edx
push eax
lea ecx, [esp + 0x84c]
push ecx
mov ecx, esi
call fcn.00401f90
add ebx, 1
add esi, 0x1c
cmp ebx, 0x12
jge 0x402b6a
test edi, edi
jne 0x402af0
lea edx, [esp + 0x53c]
push edx
lea ecx, [esp + 0xcc]
call fcn.00402190
lea eax, [esp + 0x53c]
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xc58], 4
call fcn.00402190
push str..
lea ecx, [esp + 0x94]
mov byte [esp + 0xc58], 5
call fcn.004021d0
mov eax, dword [esp + 0x94]
mov esi, 0x10
cmp dword [esp + 0xa8], esi
jae 0x402bcf
lea eax, [esp + 0x94]
lea ecx, [esp + 0x100]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x402cd6
lea esp, [esp]
lea edx, [esp + 0x12c]
push edx
call fcn.004337d4
add esp, 4
xor edi, edi
test ebx, ebx
jbe 0x402cb2
lea esi, [esp + 0x244]
cmp dword [esi + 0x14], 0x10
jb 0x402c1b
mov eax, dword [esi]
jmp 0x402c1d
mov eax, esi
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.004011a0
cmp al, 1
je 0x402c3f
add edi, 1
add esi, 0x1c
cmp edi, ebx
jb 0x402c11
jmp 0x402cb2
cmp edi, ebx
jae 0x402cb2
push 1
push 0x4367f4
lea ecx, [esp + 0xd0]
call fcn.00401ea0
lea eax, [esp + 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402c60
sub eax, edx
push eax
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0xd0]
call fcn.00401ea0
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x402c98
lea eax, [esp + 0xcc]
push 1
lea edx, [esp + 0x540]
push edx
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esp + 0x100]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x402bf0
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 0x10
push 0x140
lea ecx, [esp + 0x104]
push 0
push ecx
call fcn.0041e7e0
lea eax, [esp + 0x444]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402cf7
sub eax, edx
push eax
lea edx, [esp + 0x43c]
push edx
lea ecx, [esp + 0xd0]
call fcn.00401f90
lea eax, [esp + 0x438]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402d21
sub eax, edx
push eax
lea eax, [esp + 0x43c]
push eax
lea ecx, [esp + 0x98]
call fcn.00401f90
push 4
push str..
lea ecx, [esp + 0x98]
call fcn.00401ea0
cmp dword [esp + 0xa8], esi
mov eax, dword [esp + 0x94]
jae 0x402d6b
lea eax, [esp + 0x94]
lea ecx, [esp + 0x100]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x402e76
jmp 0x402d90
lea edx, [esp + 0x12c]
push edx
call fcn.004337d4
add esp, 4
xor edi, edi
test ebx, ebx
jbe 0x402e52
lea esi, [esp + 0x244]
cmp dword [esi + 0x14], 0x10
jb 0x402dbb
mov eax, dword [esi]
jmp 0x402dbd
mov eax, esi
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.004011a0
cmp al, 1
je 0x402ddf
add edi, 1
add esi, 0x1c
cmp edi, ebx
jb 0x402db1
jmp 0x402e52
cmp edi, ebx
jae 0x402e52
push 1
push 0x4367f4
lea ecx, [esp + 0xd0]
call fcn.00401ea0
lea eax, [esp + 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402e00
sub eax, edx
push eax
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0xd0]
call fcn.00401ea0
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x402e38
lea eax, [esp + 0xcc]
push 1
lea edx, [esp + 0x540]
push edx
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esp + 0x100]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x402d90
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 0x10
cmp dword [esp + 0xa8], esi
jb 0x402e8f
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00403388
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
jb 0x402ec6
mov edx, dword [esp + 0xcc]
push edx
call fcn.00403388
add esp, 4
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0xa4]
mov edi, 0x10
cmp dword [esp + 0xfc], edi
jb 0x402eee
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00403388
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x8c], edi
mov ebp, 0xf
mov dword [esp + 0xfc], ebp
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
jb 0x402f20
mov edx, dword [esp + 0x78]
push edx
call fcn.00403388
add esp, 4
push 0x401b30
push 0x12
push 0x1c
lea eax, [esp + 0x24c]
push eax
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], 0
mov byte [esp + 0xc64], 0
call fcn.0041f533
cmp dword [esp + 0xc4], edi
jb 0x402f6d
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00403388
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc34]
xor ecx, esp
call fcn.0041e7cb
add esp, 0xc44
ret