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

Disassembly:
push 0xffffffffffffffff
push 0x433b6d
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 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 0x4016e0
push 0x4016c0
push 0x12
push 0x1c
lea eax, [esp + 0x250]
push eax
mov dword [esp + 0xc68], ebp
call fcn.0041ee35
push 0x103
lea ecx, [esp + 0x43d]
push ebp
push ecx
mov byte [esp + 0x444], 0
call fcn.0041e740
push 0x103
lea edx, [esp + 0x54d]
push ebp
push edx
mov byte [esp + 0x554], 0
call fcn.0041e740
push 0x103
lea eax, [esp + 0x65d]
push ebp
push eax
mov byte [esp + 0x664], 0
call fcn.0041e740
push 0x103
lea ecx, [esp + 0x76d]
push ebp
push ecx
mov byte [esp + 0x774], 0
call fcn.0041e740
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.00401c90
test eax, eax
jne 0x40211f
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jb 0x4020c8
mov eax, dword [esp + 0x78]
push eax
call fcn.00402dd8
add esp, 4
push 0x4016e0
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.0041edd2
cmp dword [esp + 0xa8], esi
jb 0x402115
mov edx, dword [esp + 0x94]
push edx
call fcn.00402dd8
add esp, 4
mov eax, 0x4e24
jmp 0x40294a
mov esi, dword [esp + 0xa4]
cmp esi, 0x104
jge 0x4028dd
cmp dword [esp + 0xa8], 0x10
mov eax, dword [esp + 0x94]
jae 0x40214a
lea eax, [esp + 0x94]
push esi
push eax
lea eax, [esp + 0x440]
push eax
call fcn.0041ec50
mov eax, dword [esp + 0xa0]
add esp, 0xc
cmp dword [esp + 0xa8], 0x10
jae 0x402174
lea eax, [esp + 0x94]
push esi
push eax
lea ecx, [esp + 0x544]
push ecx
call fcn.0041ec50
mov eax, dword [esp + 0xa0]
add esp, 0xc
cmp dword [esp + 0xa8], 0x10
jae 0x40219e
lea eax, [esp + 0x94]
push esi
push eax
lea edx, [esp + 0x648]
push edx
call fcn.0041ec50
push 1
lea eax, [esp + 0x650]
push 0x4367f8
push eax
call fcn.0041eb10
mov eax, dword [esp + 0xac]
add esp, 0x18
cmp dword [esp + 0xa8], 0x10
jae 0x4021dc
lea eax, [esp + 0x94]
push esi
push eax
lea ecx, [esp + 0x74c]
push ecx
call fcn.0041ec50
push ebx
lea edx, [esp + 0x754]
push str.ExcuteList.txt
push edx
call fcn.0041eb10
push 0xa
lea eax, [esp + 0x454]
push str.Uninstall
push eax
call fcn.0041eb10
push 0xe
lea ecx, [esp + 0x564]
push str.UninstallALL
push ecx
call fcn.0041eb10
add esp, 0x30
mov ecx, edi
call fcn.00401140
cmp eax, 1
jne 0x402285
push ebx
push str.devsetup64.exe
lea ecx, [esp + 0x7c]
call fcn.004019e0
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x402256
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
push edx
push eax
lea eax, [esp + 0x648]
push eax
call fcn.0041eb10
push 0xb
lea ecx, [esp + 0x448]
push str.WinVista64
push ecx
call fcn.0041eb10
add esp, 0x18
jmp 0x4022f6
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, al
cmp eax, 5
jne 0x4022a4
push 6
push str.WinXP
lea edx, [esp + 0x440]
push edx
jmp 0x4022b3
push 9
push str.WinVista
lea eax, [esp + 0x440]
push eax
call fcn.0041eb10
add esp, 0xc
push 0xe
push str.devsetup32.exe
lea ecx, [esp + 0x7c]
call fcn.004019e0
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x4022dd
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x88]
push ecx
push eax
lea edx, [esp + 0x648]
push edx
call fcn.0041eb10
add esp, 0xc
push 0x12
push str.__uninstall__debug
lea ecx, [esp + 0xec]
mov dword [esp + 0x104], ebx
mov dword [esp + 0x100], ebp
mov byte [esp + 0xf0], 0
call fcn.004019e0
mov ecx, dword [edi + 0x48]
mov eax, ecx
mov byte [esp + 0xc54], 3
lea esi, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402330
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xec]
call fcn.004018f0
push 0x44
lea eax, [esp + 0x34]
push ebp
push eax
call fcn.0041e740
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 0x40238f
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 0x4023c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xa4], 0x4e27
jmp 0x4023ff
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 0x40283e
cmp eax, 0x4e2b
je 0x40283e
lea ecx, [esp + 0x744]
push 0x436774
push ecx
call fcn.0041eaf4
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x2c], ebp
je 0x40283c
xor ebx, ebx
lea esi, [esp + 0x240]
jmp 0x402450
push ebp
lea edx, [esp + 0x84c]
push 0x400
push edx
call fcn.0041e8a9
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 0x402472
sub eax, edx
cmp eax, 4
jle 0x4024c6
lea eax, [esp + 0x848]
push eax
call fcn.00433a1c
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 0x4024a0
sub eax, edx
push eax
lea ecx, [esp + 0x84c]
push ecx
mov ecx, esi
call fcn.004019e0
add ebx, 1
add esi, 0x1c
cmp ebx, 0x12
jge 0x4024ca
test edi, edi
jne 0x402450
lea edx, [esp + 0x53c]
push edx
lea ecx, [esp + 0xcc]
call fcn.00401c20
lea eax, [esp + 0x53c]
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0xc58], 4
call fcn.00401c20
push str..
lea ecx, [esp + 0xb0]
mov byte [esp + 0xc58], 5
call fcn.00401c60
cmp dword [esp + 0xc4], 0x10
mov eax, dword [esp + 0xb0]
jae 0x40252b
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 0x402631
jmp 0x402550
lea edx, [esp + 0x12c]
push edx
call fcn.00433a1c
add esp, 4
xor edi, edi
test ebx, ebx
jle 0x402612
lea esi, [esp + 0x244]
cmp dword [esi + 0x14], 0x10
jb 0x40257b
mov eax, dword [esi]
jmp 0x40257d
mov eax, esi
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.004010d0
cmp al, 1
je 0x40259f
add edi, 1
add esi, 0x1c
cmp edi, ebx
jl 0x402571
jmp 0x402612
cmp edi, ebx
jge 0x402612
push 1
push 0x4367f8
lea ecx, [esp + 0xd0]
call fcn.004018f0
lea eax, [esp + 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4025c0
sub eax, edx
push eax
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0xd0]
call fcn.004018f0
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x4025f8
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 0x402550
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x140
lea ecx, [esp + 0x104]
push 0
push ecx
call fcn.0041e740
lea eax, [esp + 0x444]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402652
sub eax, edx
push eax
lea edx, [esp + 0x43c]
push edx
lea ecx, [esp + 0xd0]
call fcn.004019e0
lea eax, [esp + 0x438]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402680
sub eax, edx
push eax
lea eax, [esp + 0x43c]
push eax
lea ecx, [esp + 0xb4]
call fcn.004019e0
push 4
push str..
lea ecx, [esp + 0xb4]
call fcn.004018f0
mov eax, dword [esp + 0xb0]
mov esi, 0x10
cmp dword [esp + 0xc4], esi
jae 0x4026cf
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 0x4027d6
lea esp, [esp]
lea edx, [esp + 0x12c]
push edx
call fcn.00433a1c
add esp, 4
xor edi, edi
test ebx, ebx
jle 0x4027b2
lea esi, [esp + 0x244]
cmp dword [esi + 0x14], 0x10
jb 0x40271b
mov eax, dword [esi]
jmp 0x40271d
mov eax, esi
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.004010d0
cmp al, 1
je 0x40273f
add edi, 1
add esi, 0x1c
cmp edi, ebx
jl 0x402711
jmp 0x4027b2
cmp edi, ebx
jge 0x4027b2
push 1
push 0x4367f8
lea ecx, [esp + 0xd0]
call fcn.004018f0
lea eax, [esp + 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402760
sub eax, edx
push eax
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0xd0]
call fcn.004018f0
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x402798
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 0x4026f0
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 0x10
cmp dword [esp + 0xc4], esi
jb 0x4027ef
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00402dd8
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], 0
mov byte [esp + 0xb0], 0
jb 0x402826
mov edx, dword [esp + 0xcc]
push edx
call fcn.00402dd8
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
call fcn.0041e82d
mov edi, dword [esp + 0x18]
add esp, 4
mov ebx, 0xf
xor ebp, ebp
cmp dword [esp + 0xfc], 0x10
mov esi, dword [edi + 0xa4]
jb 0x40285e
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00402dd8
add esp, 4
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], ebp
mov byte [esp + 0xe8], 0
jb 0x40288b
mov edx, dword [esp + 0x78]
push edx
call fcn.00402dd8
add esp, 4
push 0x4016e0
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.0041edd2
cmp dword [esp + 0xa8], 0x10
jb 0x4028d9
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00402dd8
add esp, 4
mov eax, esi
jmp 0x40294a
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jb 0x4028f8
mov edx, dword [esp + 0x78]
push edx
call fcn.00402dd8
add esp, 4
push 0x4016e0
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.0041edd2
cmp dword [esp + 0xa8], esi
jb 0x402945
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00402dd8
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.0041e6f9
add esp, 0xc44
ret