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

Disassembly:
push 0xffffffffffffffff
push 0x4335ed
mov eax, dword fs:[0]
push eax
sub esp, 0xc38
mov eax, dword [0x443504]
xor eax, esp
mov dword [esp + 0xc34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x443504]
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 0x401610
push 0x4015f0
push 0x12
push 0x1c
lea eax, [esp + 0x250]
push eax
mov dword [esp + 0xc68], edi
call fcn.0041e809
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.00401a50
test eax, eax
jne 0x401e10
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jb 0x401db9
mov edx, dword [esp + 0x78]
push edx
call fcn.00402b38
add esp, 4
push 0x401610
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.0041e7a6
cmp dword [esp + 0xc4], esi
jb 0x401e06
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00402b38
add esp, 4
mov eax, 0x4e24
jmp 0x4026ff
mov ebp, dword [esp + 0xc4]
cmp ebp, 0x10
mov ecx, dword [esp + 0xb0]
mov edx, ecx
jae 0x401e2c
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 0x401e33
cmp ebp, 0x10
mov edx, ecx
jae 0x401e4f
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 0x401e56
cmp ebp, 0x10
mov edx, ecx
jae 0x401e72
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 0x401e80
lea edi, [esp + 0x640]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x401e98
cmp ebp, 0x10
mov dx, word [0x4357f0]
mov word [edi], dx
jae 0x401eb8
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 0x401ec0
lea eax, [esp + 0x744]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401ed8
mov ecx, dword [str.ExcuteList.txt]
mov edx, dword [0x4357e4]
mov dword [eax], ecx
mov ecx, dword [0x4357e8]
mov dword [eax + 4], edx
mov edx, dword [0x4357ec]
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 0x401f10
mov ecx, dword [str.Uninstall]
mov edx, dword [0x4357d8]
mov dword [eax], ecx
mov cx, word [0x4357dc]
mov dword [eax + 4], edx
mov dl, byte [0x4357de]
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 0x401f50
mov ecx, dword [str.UninstallALL]
mov edx, dword [0x4357c8]
mov dword [eax], ecx
mov ecx, dword [0x4357cc]
mov dword [eax + 4], edx
mov dx, word [0x4357d0]
mov dword [eax + 8], ecx
mov cl, byte [0x4357d2]
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 0x402059
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x402059
cmp dword [esp + 0x2c], 1
jne 0x402059
push 0xf
push str.devsetup64.exe
lea ecx, [esp + 0x7c]
call fcn.00401910
mov eax, dword [esp + 0x78]
mov ebp, 0x10
cmp dword [esp + 0x8c], ebp
jae 0x401ff0
lea eax, [esp + 0x78]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401ff2
lea edi, [esp + 0x640]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x402007
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 0x402030
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402030
mov ecx, dword [str.WinVista64]
mov edx, dword [0x4357ac]
mov dword [eax], ecx
mov ecx, dword [0x4357b0]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jmp 0x40211f
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, al
cmp eax, 5
lea eax, [esp + 0x438]
jne 0x402099
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402071
mov edx, dword [str.WinXP]
mov cx, word [0x4357a4]
mov dword [eax], edx
mov dl, byte [0x4357a6]
mov word [eax + 4], cx
mov byte [eax + 6], dl
jmp 0x4020c6
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4020a0
mov ecx, dword [str.WinVista]
mov edx, dword [0x435798]
mov dword [eax], ecx
mov cx, word [0x43579c]
mov dword [eax + 4], edx
mov word [eax + 8], cx
push 0xe
push str.devsetup32.exe
lea ecx, [esp + 0x7c]
call fcn.00401910
mov eax, dword [esp + 0x78]
mov ebp, 0x10
cmp dword [esp + 0x8c], ebp
jae 0x4020ec
lea eax, [esp + 0x78]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4020f0
lea edi, [esp + 0x640]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x402105
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.00401910
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 0x402160
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xec]
call fcn.00401820
push 0x44
lea edx, [esp + 0x34]
push 0
push edx
call fcn.0041e470
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 0x4021bb
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 0x4021f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xa4], 0x4e27
jmp 0x402231
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 0x402656
cmp eax, 0x4e2b
je 0x402656
lea ecx, [esp + 0x744]
push 0x43576c
push ecx
call fcn.0041e735
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x402656
xor ebx, ebx
lea esi, [esp + 0x240]
jmp 0x402280
push ebp
lea edx, [esp + 0x84c]
push 0x400
push edx
call fcn.0041e4ea
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 0x4022a2
sub eax, edx
cmp eax, 4
jle 0x4022f6
lea eax, [esp + 0x848]
push eax
call fcn.004334da
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 0x4022d0
sub eax, edx
push eax
lea ecx, [esp + 0x84c]
push ecx
mov ecx, esi
call fcn.00401910
add ebx, 1
add esi, 0x1c
cmp ebx, 0x12
jge 0x4022fa
test edi, edi
jne 0x402280
lea edx, [esp + 0x53c]
push edx
lea ecx, [esp + 0xcc]
call fcn.004019e0
lea eax, [esp + 0x53c]
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xc58], 4
call fcn.004019e0
push str..
lea ecx, [esp + 0x94]
mov byte [esp + 0xc58], 5
call fcn.00401a20
mov eax, dword [esp + 0x94]
mov esi, 0x10
cmp dword [esp + 0xa8], esi
jae 0x40235f
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 0x402466
lea esp, [esp]
lea edx, [esp + 0x12c]
push edx
call fcn.004334da
add esp, 4
xor edi, edi
test ebx, ebx
jbe 0x402442
lea esi, [esp + 0x244]
cmp dword [esi + 0x14], 0x10
jb 0x4023ab
mov eax, dword [esi]
jmp 0x4023ad
mov eax, esi
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.004010d0
cmp al, 1
je 0x4023cf
add edi, 1
add esi, 0x1c
cmp edi, ebx
jb 0x4023a1
jmp 0x402442
cmp edi, ebx
jae 0x402442
push 1
push 0x4357f0
lea ecx, [esp + 0xd0]
call fcn.00401820
lea eax, [esp + 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4023f0
sub eax, edx
push eax
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0xd0]
call fcn.00401820
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x402428
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 0x402380
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 0x10
push 0x140
lea ecx, [esp + 0x104]
push 0
push ecx
call fcn.0041e470
lea eax, [esp + 0x444]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402487
sub eax, edx
push eax
lea edx, [esp + 0x43c]
push edx
lea ecx, [esp + 0xd0]
call fcn.00401910
lea eax, [esp + 0x438]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4024b1
sub eax, edx
push eax
lea eax, [esp + 0x43c]
push eax
lea ecx, [esp + 0x98]
call fcn.00401910
push 4
push str..
lea ecx, [esp + 0x98]
call fcn.00401820
cmp dword [esp + 0xa8], esi
mov eax, dword [esp + 0x94]
jae 0x4024fb
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 0x402606
jmp 0x402520
lea edx, [esp + 0x12c]
push edx
call fcn.004334da
add esp, 4
xor edi, edi
test ebx, ebx
jbe 0x4025e2
lea esi, [esp + 0x244]
cmp dword [esi + 0x14], 0x10
jb 0x40254b
mov eax, dword [esi]
jmp 0x40254d
mov eax, esi
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.004010d0
cmp al, 1
je 0x40256f
add edi, 1
add esi, 0x1c
cmp edi, ebx
jb 0x402541
jmp 0x4025e2
cmp edi, ebx
jae 0x4025e2
push 1
push 0x4357f0
lea ecx, [esp + 0xd0]
call fcn.00401820
lea eax, [esp + 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402590
sub eax, edx
push eax
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0xd0]
call fcn.00401820
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x4025c8
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 0x402520
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 0x10
cmp dword [esp + 0xa8], esi
jb 0x40261f
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00402b38
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
jb 0x402656
mov edx, dword [esp + 0xcc]
push edx
call fcn.00402b38
add esp, 4
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0xa4]
mov edi, 0x10
cmp dword [esp + 0xfc], edi
jb 0x40267e
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00402b38
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 0x4026b0
mov edx, dword [esp + 0x78]
push edx
call fcn.00402b38
add esp, 4
push 0x401610
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.0041e7a6
cmp dword [esp + 0xc4], edi
jb 0x4026fd
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00402b38
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.0041e459
add esp, 0xc44
ret