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

Disassembly:
push 0x11c
mov eax, 0x47720d
call fcn.00451855
mov dword [ebp - 0x128], ecx
xor esi, esi
mov dword [ebp - 0x30], 7
xor eax, eax
mov dword [ebp - 0x44], esi
mov ebx, esi
mov dword [ebp - 0x34], esi
mov word [ebp - 0x44], ax
mov dword [ebp - 4], esi
call fcn.0042d6eb
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax + 0x1f0]
mov ecx, esi
call dword [0x481514]
mov ecx, edi
call esi
test al, al
jne 0x403522
lea edx, [ebp - 0x44]
mov cl, 1
call fcn.00403623
test al, al
jne 0x403361
lea edx, [ebp - 0x44]
xor cl, cl
call fcn.00403623
test al, al
je 0x403522
xor eax, eax
mov dword [ebp - 0xbc], 0x44
lea edi, [ebp - 0x114]
xor esi, esi
stosd dword es:[edi], eax
mov ebx, 0xc02500f3
push 0x40
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004546e0
add esp, 0xc
lea ecx, [ebp - 0x5c]
push 0x49a1f0
call fcn.00403736
push dword [ebp - 0x128]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.004038b3
cmp dword [ebp - 0x48], 8
lea edx, [ebp - 0x114]
push edx
lea edx, [ebp - 0xbc]
push edx
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push esi
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4033fd
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042081e
mov edi, str.OneDriveSetup.exe
lea ecx, [ebp - 0x2c]
push edi
mov esi, eax
call fcn.004038b3
test esi, esi
js 0x403452
cmp dword [ebp - 0x1c], 0
je 0x403452
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x403473
lea eax, [ebp - 0x2c]
push eax
push SysReAllocString
call fcn.0042081e
push edi
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.004038b3
test esi, esi
js 0x403512
cmp dword [ebp - 0x1c], 0
je 0x403512
xor eax, eax
mov dword [ebp - 0x104], 0x44
lea edi, [ebp - 0x124]
xor esi, esi
stosd dword es:[edi], eax
push 0x40
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x100]
push eax
call fcn.004546e0
add esp, 0xc
lea ecx, [ebp - 0x74]
push str.OneDriveSetup.exe__cleanupSingleUser
call fcn.00403736
cmp dword [ebp - 0x60], 8
lea edx, [ebp - 0x124]
push edx
lea edx, [ebp - 0x104]
push edx
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x74]
cmovae ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push esi
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403504
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x124]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40350a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x74]
call fcn.0040443d
lea ecx, [ebp - 0x2c]
call fcn.0040443d
lea ecx, [ebp - 0x5c]
call fcn.0040443d
lea ecx, [ebp - 0x44]
call fcn.0040443d
mov eax, ebx
call fcn.00451804
ret