Function at 0x401b10
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x6b8
mov eax, dword [0x41d004]
xor eax, esp
mov dword [esp + 0x6b4], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x4ac]
push edi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x4b0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [esp + 0x4b0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0x41a848
lea eax, [esp + 0x4b4]
push 0x104
push eax
call fcn.00408001
mov ecx, esi
add esp, 0xc
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401b81
sub ecx, edx
sar ecx, 1
je 0x40205f
sub esp, 0xc
lea ecx, [esp + 0x34]
push esi
call fcn.00401270
push str.UPDATE
lea ecx, [esp + 0x2c]
call fcn.00401640
push str.SOURCE
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], eax
call fcn.00401640
cmp dword [esp + 0x18], 0
mov edi, eax
mov dword [esp + 0x20], edi
je 0x401ef5
test edi, edi
je 0x401ef5
push edi
lea eax, [esp + 0xa4]
push 0x104
push eax
call fcn.00406827
mov esi, dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [esp + 0xac]
add esp, 0xc
push eax
call esi
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.00402d30
mov ecx, 0x41a8ac
lea eax, [esp + 0xa0]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401c46
test dx, dx
je 0x401c42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401c46
add eax, 4
add ecx, 4
test dx, dx
jne 0x401c20
xor eax, eax
jmp 0x401c4b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401c59
push 0x84
jmp 0x401d6b
push 0x104
lea eax, [esp + 0x2ac]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call eax
lea eax, [esp + 0x2a8]
push eax
call esi
lea eax, [esp + 0x2a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0x41a848
lea eax, [esp + 0x2ac]
push 0x104
push eax
call fcn.00408001
add esp, 0xc
lea ecx, [esp + 0x2a8]
lea eax, [esp + 0xa0]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401cd6
test dx, dx
je 0x401cd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401cd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x401cb0
xor eax, eax
jmp 0x401cdb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401ce9
push 0x81
jmp 0x401d6b
mov ecx, str.Users.csv
lea eax, [esp + 0xa0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401d1b
test dx, dx
je 0x401d17
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401d1b
add eax, 4
add ecx, 4
test dx, dx
jne 0x401cf5
xor eax, eax
jmp 0x401d20
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401d2b
push 0x89
jmp 0x401d6b
mov ecx, str.Computers.csv
lea eax, [esp + 0xa0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401d5d
test dx, dx
je 0x401d59
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401d5d
add eax, 4
add ecx, 4
test dx, dx
jne 0x401d37
xor eax, eax
jmp 0x401d62
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401d81
push 0x8a
push ecx
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.00402990
add esp, 8
mov edi, eax
jmp 0x401e69
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x401ea1
push 0x22
push eax
mov byte [esp + 0x1f], 0
call fcn.004041bf
mov edi, eax
add esp, 8
test edi, edi
je 0x401df7
add edi, 2
push 0x22
lea ecx, [edi + 2]
push ecx
call fcn.004041bf
mov esi, eax
add esp, 8
test esi, esi
je 0x401df7
sub esi, edi
sar esi, 1
lea ecx, [esi*2 + 2]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x24], eax
test eax, eax
je 0x401df7
push esi
push edi
lea ecx, [esi + 1]
push ecx
push eax
call fcn.00406992
mov esi, dword [esp + 0x34]
add esp, 0x10
mov byte [esp + 0x17], 1
jmp 0x401dfb
mov esi, dword [esp + 0x1c]
mov ecx, esi
lea eax, [esp + 0xa0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401e2a
test dx, dx
je 0x401e26
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401e2a
add eax, 4
add ecx, 4
test dx, dx
jne 0x401e04
xor eax, eax
jmp 0x401e2f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401e4d
mov edx, dword [esp + 0x20]
push 0x88
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00402990
add esp, 8
mov edi, eax
jmp 0x401e52
mov edi, 2
cmp byte [esp + 0x17], 0
je 0x401e69
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
jne 0x401ea6
push 0x40
push str.User_Profile_Wizard_Deployment_Kit
push str.The_Deployment_file_has_been_successfully_updated.
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x28]
call fcn.004015b0
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x6b4]
xor ecx, esp
call fcn.004031c6
mov esp, ebp
pop ebp
ret 0x10
mov edi, 2
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov ecx, edi
call fcn.00401a30
mov esi, dword [esp + 0x1c]
push 0x30
push str.User_Profile_Wizard_Deployment_Kit
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x28]
call fcn.004015b0
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x6b4]
xor ecx, esp
call fcn.004031c6
mov esp, ebp
pop ebp
ret 0x10
push esi
lea eax, [esp + 0x2ac]
push 0x104
push eax
call fcn.00406827
add esp, 0xc
lea eax, [esp + 0x2a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea eax, [esp + 0x2a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402039
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.00402b40
mov edi, eax
test edi, edi
jne 0x40203e
push 0x800
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, dword [esp + 0x1c]
push esi
push 0x400
push eax
mov dword [esp + 0x24], eax
call fcn.00406827
add esp, 0xc
lea eax, [esp + 0xa0]
push 0x104
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call eax
lea eax, [esp + 0x2a8]
push eax
lea eax, [esp + 0xa4]
push eax
push esi
push str._ws__UPDATE__ws__SOURCE__ws
push 0x400
push dword [esp + 0x2c]
call fcn.004016c0
add esp, 0x18
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x44
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.00405540
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x58], 0x44
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
push eax
lea eax, [esp + 0x5c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x402008
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0x28]
call fcn.004015b0
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x6b4]
xor ecx, esp
call fcn.004031c6
mov esp, ebp
pop ebp
ret 0x10
mov edi, 0x57
lea ecx, [esp + 0x28]
call fcn.004015b0
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x6b4]
xor ecx, esp
call fcn.004031c6
mov esp, ebp
pop ebp
ret 0x10
call fcn.00402080
mov ecx, dword [esp + 0x6bc]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004031c6
mov esp, ebp
pop ebp
ret 0x10