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

Disassembly:
push 0xffffffffffffffff
push 0x434a8d
mov eax, dword fs:[0]
push eax
sub esp, 0xc38
mov eax, dword [0x445504]
xor eax, esp
mov dword [esp + 0xc34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x445504]
xor eax, esp
push eax
lea eax, [esp + 0xc4c]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, 0xf
xor ebp, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], ebp
mov byte [esp + 0x94], 0
push 0x401c40
push 0x401c20
push 0x12
push 0x1c
lea eax, [esp + 0x250]
push eax
mov dword [esp + 0xc68], ebp
call fcn.00420915
push 0x103
lea ecx, [esp + 0x43d]
push ebp
push ecx
mov byte [esp + 0x444], 0
call fcn.0041f780
push 0x103
lea edx, [esp + 0x54d]
push ebp
push edx
mov byte [esp + 0x554], 0
call fcn.0041f780
push 0x103
lea eax, [esp + 0x65d]
push ebp
push eax
mov byte [esp + 0x664], 0
call fcn.0041f780
push 0x103
lea ecx, [esp + 0x76d]
push ebp
push ecx
mov byte [esp + 0x774], 0
call fcn.0041f780
add esp, 0x30
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebp
mov byte [esp + 0x78], 0
lea edx, [esp + 0x90]
push edx
mov ecx, edi
mov byte [esp + 0xc58], 2
call fcn.004024f0
test eax, eax
jne 0x402ddf
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jb 0x402d88
mov eax, dword [esp + 0x78]
push eax
call fcn.00403eb8
add esp, 4
push 0x401c40
push 0x12
push 0x1c
lea ecx, [esp + 0x24c]
push ecx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
mov byte [esp + 0xc64], 0
call fcn.004208b2
cmp dword [esp + 0xa8], esi
jb 0x402dd5
mov edx, dword [esp + 0x94]
push edx
call fcn.00403eb8
add esp, 4
mov eax, 0x4e24
jmp 0x403625
mov esi, dword [esp + 0xa4]
cmp esi, 0x104
jge 0x4035b8
cmp dword [esp + 0xa8], 0x10
mov eax, dword [esp + 0x94]
jae 0x402e0a
lea eax, [esp + 0x94]
push esi
push eax
lea eax, [esp + 0x440]
push eax
call fcn.00420730
mov eax, dword [esp + 0xa0]
add esp, 0xc
cmp dword [esp + 0xa8], 0x10
jae 0x402e34
lea eax, [esp + 0x94]
push esi
push eax
lea ecx, [esp + 0x544]
push ecx
call fcn.00420730
mov eax, dword [esp + 0xa0]
add esp, 0xc
cmp dword [esp + 0xa8], 0x10
jae 0x402e5e
lea eax, [esp + 0x94]
push esi
push eax
lea edx, [esp + 0x648]
push edx
call fcn.00420730
push 1
lea eax, [esp + 0x650]
push 0x43786c
push eax
call fcn.004205f0
mov eax, dword [esp + 0xac]
add esp, 0x18
cmp dword [esp + 0xa8], 0x10
jae 0x402e9c
lea eax, [esp + 0x94]
push esi
push eax
lea ecx, [esp + 0x74c]
push ecx
call fcn.00420730
push ebx
lea edx, [esp + 0x754]
push str.ExcuteList.txt
push edx
call fcn.004205f0
push 8
lea eax, [esp + 0x454]
push str.Install
push eax
call fcn.004205f0
push 0xc
lea ecx, [esp + 0x564]
push str.InstallAll
push ecx
call fcn.004205f0
add esp, 0x30
mov ecx, edi
call fcn.00401250
cmp eax, 1
jne 0x402f46
push 0xe
push str.devsetup64.exe
lea ecx, [esp + 0x7c]
call fcn.00402220
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x402f17
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
push edx
push eax
lea eax, [esp + 0x648]
push eax
call fcn.004205f0
push 0xb
lea ecx, [esp + 0x448]
push str.WinVista64
push ecx
call fcn.004205f0
add esp, 0x18
jmp 0x402fb7
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, al
cmp eax, 5
jne 0x402f65
push 6
push str.WinXP
lea edx, [esp + 0x440]
push edx
jmp 0x402f74
push 9
push str.WinVista
lea eax, [esp + 0x440]
push eax
call fcn.004205f0
add esp, 0xc
push 0xe
push str.devsetup32.exe
lea ecx, [esp + 0x7c]
call fcn.00402220
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x402f9e
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x88]
push ecx
push eax
lea edx, [esp + 0x648]
push edx
call fcn.004205f0
add esp, 0xc
push 0x10
push str.__install__debug
lea ecx, [esp + 0xec]
mov dword [esp + 0x104], ebx
mov dword [esp + 0x100], ebp
mov byte [esp + 0xf0], 0
call fcn.00402220
mov ecx, dword [edi + 0x48]
mov eax, ecx
mov byte [esp + 0xc54], 3
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402ff0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xec]
call fcn.00402130
push 0x44
lea eax, [esp + 0x34]
push ebp
push eax
call fcn.0041f780
xor eax, eax
add esp, 0xc
cmp dword [esp + 0xfc], 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x18], ebp
jae 0x40304f
lea eax, [esp + 0xe8]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push edx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
lea eax, [esp + 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x403084
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xa4], 0x4e27
jmp 0x4030bf
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [edi + 0xa4], ecx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov eax, dword [edi + 0xa4]
cmp eax, 0x4e2a
je 0x403506
cmp eax, 0x4e2b
je 0x403506
lea ecx, [esp + 0x744]
push 0x4377e8
push ecx
call fcn.0041fafc
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x2c], ebp
je 0x403504
xor ebx, ebx
lea esi, [esp + 0x240]
jmp 0x403110
push ebp
lea edx, [esp + 0x84c]
push 0x400
push edx
call fcn.00420460
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 0x403132
sub eax, edx
cmp eax, 4
jle 0x403186
lea eax, [esp + 0x848]
push eax
call fcn.004348e4
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 0x403160
sub eax, edx
push eax
lea ecx, [esp + 0x84c]
push ecx
mov ecx, esi
call fcn.00402220
add ebx, 1
add esi, 0x1c
cmp ebx, 0x12
jge 0x40318a
test edi, edi
jne 0x403110
lea edx, [esp + 0x53c]
push edx
lea ecx, [esp + 0xcc]
call fcn.00402480
lea eax, [esp + 0x53c]
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0xc58], 4
call fcn.00402480
push str..
lea ecx, [esp + 0xb0]
mov byte [esp + 0xc58], 5
call fcn.004024c0
cmp dword [esp + 0xc4], 0x10
mov eax, dword [esp + 0xb0]
jae 0x4031eb
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x100]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4032f1
jmp 0x403210
lea edx, [esp + 0x12c]
push edx
call fcn.004348e4
add esp, 4
xor edi, edi
test ebx, ebx
jle 0x4032d2
lea esi, [esp + 0x244]
cmp dword [esi + 0x14], 0x10
jb 0x40323b
mov eax, dword [esi]
jmp 0x40323d
mov eax, esi
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.004011a0
cmp al, 1
je 0x40325f
add edi, 1
add esi, 0x1c
cmp edi, ebx
jl 0x403231
jmp 0x4032d2
cmp edi, ebx
jge 0x4032d2
push 1
push 0x43786c
lea ecx, [esp + 0xd0]
call fcn.00402130
lea eax, [esp + 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403280
sub eax, edx
push eax
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0xd0]
call fcn.00402130
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x4032b8
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 0x403210
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x140
lea ecx, [esp + 0x104]
push 0
push ecx
call fcn.0041f780
lea eax, [esp + 0x444]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403312
sub eax, edx
push eax
lea edx, [esp + 0x43c]
push edx
lea ecx, [esp + 0xd0]
call fcn.00402220
lea eax, [esp + 0x438]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403340
sub eax, edx
push eax
lea eax, [esp + 0x43c]
push eax
lea ecx, [esp + 0xb4]
call fcn.00402220
push 4
push str..
lea ecx, [esp + 0xb4]
call fcn.00402130
mov eax, dword [esp + 0xb0]
mov esi, 0x10
cmp dword [esp + 0xc4], esi
jae 0x40338f
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x100]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x403496
lea esp, [esp]
lea edx, [esp + 0x12c]
push edx
call fcn.004348e4
add esp, 4
xor edi, edi
test ebx, ebx
jle 0x403472
lea esi, [esp + 0x244]
cmp dword [esi + 0x14], 0x10
jb 0x4033db
mov eax, dword [esi]
jmp 0x4033dd
mov eax, esi
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.004011a0
cmp al, 1
je 0x4033ff
add edi, 1
add esi, 0x1c
cmp edi, ebx
jl 0x4033d1
jmp 0x403472
cmp edi, ebx
jge 0x403472
push 1
push 0x43786c
lea ecx, [esp + 0xd0]
call fcn.00402130
lea eax, [esp + 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403420
sub eax, edx
push eax
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0xd0]
call fcn.00402130
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x403458
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 0x4033b0
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 0x10
cmp dword [esp + 0xc4], esi
jb 0x4034af
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00403eb8
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], 0
mov byte [esp + 0xb0], 0
mov byte [esp + 0xc54], 3
jb 0x4034ee
mov edx, dword [esp + 0xcc]
push edx
call fcn.00403eb8
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
call fcn.0041f86d
mov edi, dword [esp + 0x18]
add esp, 4
mov ebx, 0xf
xor ebp, ebp
cmp dword [edi + 0xa4], 0x4e27
je 0x403519
mov ecx, edi
call fcn.00401210
cmp dword [esp + 0xfc], 0x10
mov esi, dword [edi + 0xa4]
jb 0x403539
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00403eb8
add esp, 4
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], ebp
mov byte [esp + 0xe8], 0
jb 0x403566
mov edx, dword [esp + 0x78]
push edx
call fcn.00403eb8
add esp, 4
push 0x401c40
push 0x12
push 0x1c
lea eax, [esp + 0x24c]
push eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
mov byte [esp + 0xc64], 0
call fcn.004208b2
cmp dword [esp + 0xa8], 0x10
jb 0x4035b4
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00403eb8
add esp, 4
mov eax, esi
jmp 0x403625
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jb 0x4035d3
mov edx, dword [esp + 0x78]
push edx
call fcn.00403eb8
add esp, 4
push 0x401c40
push 0x12
push 0x1c
lea eax, [esp + 0x24c]
push eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
mov byte [esp + 0xc64], 0
call fcn.004208b2
cmp dword [esp + 0xa8], esi
jb 0x403620
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00403eb8
add esp, 4
mov eax, 0x4e2c
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.0041f76e
add esp, 0xc44
ret