Function at 0x40c750
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x484
mov eax, dword [0x46aa78]
push ebx
mov dword [esp + 0x484], eax
mov al, byte [ecx + 0xa0]
xor ebx, ebx
cmp al, bl
push esi
push edi
jne 0x40c9ab
xor eax, eax
mov byte [esp + 0x170], bl
mov ecx, 0x40
lea edi, [esp + 0x171]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x170]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov byte [esp + 0x68], bl
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x69]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00411c90
test al, al
jne 0x40c9ab
mov byte [esp + 0x278], bl
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x279]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea ecx, [esp + 0x27c]
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x4568bc
lea edx, [esp + 0x27c]
push edx
call esi
lea eax, [esp + 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jne 0x40c88e
push 0x104
lea ecx, [esp + 0x174]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.00430cf0
add esp, 0xc
push str.msvcp60.zip
lea eax, [esp + 0x6c]
push eax
call esi
lea ecx, [esp + 0x68]
push ecx
push 0x4568ac
push 0x91
push ebx
call edi
push eax
call fcn.00412070
add esp, 0x10
test al, al
je 0x40c973
lea edx, [esp + 0x278]
push edx
lea eax, [esp + 0x6c]
push 0x4568bc
push eax
call fcn.00411ab0
add esp, 0xc
test al, al
je 0x40c973
push 0x104
lea ecx, [esp + 0x174]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.00430cf0
add esp, 0xc
push str.sogou_p4p.exe
lea eax, [esp + 0x6c]
push eax
call esi
lea ecx, [esp + 0x68]
push ecx
push 0x456898
push 0x8c
push ebx
call edi
push eax
call fcn.00412070
add esp, 0x10
test al, al
je 0x40c973
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov eax, 1
mov dword [esp + 0x4c], eax
mov word [esp + 0x50], ax
xor eax, eax
mov byte [esp + 0x380], bl
mov ecx, 0x40
lea edi, [esp + 0x381]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edx, edx
stosb byte es:[edi], al
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x14], edx
push str._s__S
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x388]
mov dword [esp + 0x20], edx
push 0x104
push ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0x44
call fcn.00430c51
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x178]
push ecx
push ebx
push 0x4000010
push ebx
push ebx
push ebx
lea edx, [esp + 0x3a0]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40c988
xor al, al
mov ecx, dword [esp + 0x48c]
call fcn.00430cd9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x48c]
mov al, 1
call fcn.00430cd9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret