Function at 0x431ee0
Capabilities:
Copy file
Get common file path
Get number of processors

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4e53ac
push eax
mov eax, 0x1038
mov dword fs:[0], esp
call fcn.00415b80
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1054]
push edi
mov edi, ecx
lea eax, [esi + 0x20]
mov dword [esp + 0x20], edi
push eax
lea ecx, [edi + 0x20]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esi + 0x24]
push ecx
lea ecx, [edi + 0x24]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esi + 0x60]
mov dword [edi + 0x60], edx
mov ax, word [esi + 0x28]
mov word [edi + 0x28], ax
mov cx, word [esi + 0x2a]
mov word [edi + 0x2a], cx
mov dx, word [esi + 0x2c]
mov word [edi + 0x2c], dx
mov ax, word [esi + 0x2e]
mov word [edi + 0x2e], ax
mov cx, word [esi + 0x30]
mov word [edi + 0x30], cx
mov dx, word [esi + 0x32]
lea eax, [esi + 0x58]
lea ecx, [edi + 0x58]
push eax
mov word [edi + 0x32], dx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esi + 0x34]
lea ebx, [edi + 0x34]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
mov dx, word [esi + 0x38]
mov word [edi + 0x38], dx
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov ecx, dword [esi + 0x50]
mov dword [edi + 0x50], ecx
mov edx, dword [esi + 0x54]
lea ecx, [esi + 0x5c]
mov dword [edi + 0x54], edx
mov eax, dword [esi + 0x48]
push ecx
lea ecx, [edi + 0x5c]
mov dword [edi + 0x48], eax
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esi + 0x4c]
lea eax, [esi + 0x6c]
push eax
lea ecx, [edi + 0x6c]
mov dword [edi + 0x4c], edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esi + 0x44]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov dword [edi + 0x44], ecx
mov edx, dword [esi + 0x74]
mov dword [edi + 0x74], edx
mov eax, dword [esi + 0x64]
push 0x556570
push eax
call ebp
add esp, 8
test eax, eax
je 0x4320c1
mov eax, dword [edi + 0x64]
push 0x556570
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4320c1
lea eax, [esp + 0x48]
mov ecx, ebx
push eax
push 0
call fcn.00404c10
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x556570
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
push ecx
call fcn.00435040
add esp, 8
mov ecx, eax
mov dword [esp + 0x105c], 0
call fcn.00404c10
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1050], 0xffffffff
sete byte [esp + 0x17]
call fcn.00415612
mov al, byte [esp + 0x17]
test al, al
je 0x4320b4
lea edx, [esp + 0x48]
push edx
push 0
push 0x556570
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x556570
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x20]
push eax
call fcn.00435040
add esp, 8
mov ecx, eax
mov dword [esp + 0x105c], 1
call fcn.00404c10
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1050], 0xffffffff
call fcn.00415612
lea ecx, [esp + 0x48]
push ecx
lea ecx, [edi + 0x64]
call sub.MFC42.DLL_CString::operator
mov eax, dword [edi + 0x64]
mov ecx, dword [esi + 0x64]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
je 0x4320e2
mov eax, dword [edi + 0x64]
mov ecx, dword [esi + 0x64]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esi + 0x68]
push 0x556570
push eax
call ebp
add esp, 8
test eax, eax
je 0x4321d4
mov eax, dword [edi + 0x68]
push 0x556570
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4321d4
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push eax
call fcn.00404c10
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x556570
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x20]
push eax
call fcn.00435040
add esp, 8
mov ecx, eax
mov dword [esp + 0x105c], 2
call fcn.00404c10
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1050], 0xffffffff
sete bl
call fcn.00415612
test bl, bl
je 0x4321c7
lea ecx, [esp + 0x48]
push ecx
push 0
push 0x556570
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x556570
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x20]
push edx
call fcn.00435040
add esp, 8
mov ecx, eax
mov dword [esp + 0x105c], 3
call fcn.00404c10
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1050], 0xffffffff
call fcn.00415612
lea eax, [esp + 0x48]
lea ecx, [edi + 0x68]
push eax
call sub.MFC42.DLL_CString::operator
mov eax, dword [edi + 0x68]
mov ecx, dword [esi + 0x68]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
je 0x4321f5
mov eax, dword [edi + 0x68]
mov ecx, dword [esi + 0x68]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, dword [edi + 0x10]
test ebx, ebx
jle 0x432236
lea ebp, [edi + 4]
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.00435630
lea ecx, [esp + 0x44]
mov dword [esp + 0x1050], 4
call fcn.00415612
lea ecx, [esp + 0x40]
mov dword [esp + 0x1050], 0xffffffff
call fcn.00415612
dec ebx
jne 0x4321ff
mov eax, dword [esi + 0x10]
mov ebp, dword [esi + 8]
test eax, eax
jle 0x43244a
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x14]
mov ebx, dword [edi + 0xc]
test eax, eax
jne 0x43227f
mov edx, dword [edi + 0x1c]
push 0x28
lea eax, [edi + 0x18]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [edi + 0x1c]
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x24]
jl 0x43227f
inc ecx
mov edx, dword [edi + 0x14]
mov dword [eax], edx
mov dword [edi + 0x14], eax
sub eax, 0x28
dec ecx
jne 0x432271
mov esi, dword [edi + 0x14]
mov ecx, 8
mov dword [esp + 0x1c], esi
mov eax, dword [esi]
add esi, 8
mov dword [edi + 0x14], eax
mov dword [esi - 4], ebx
mov dword [esi - 8], 0
mov eax, dword [edi + 0x10]
inc eax
mov ebx, esi
mov dword [edi + 0x10], eax
xor eax, eax
mov edi, ebx
mov dword [esp + 0x18], ebx
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [esp + 0x24], ebx
test ebx, ebx
mov dword [esp + 0x1050], 5
je 0x4322eb
lea ecx, [ebx + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebx + 0x1c]
mov byte [esp + 0x1050], 6
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0x51
and al, 0x7b
mov dword [ebx + 0x14], eax
add ebx, 0x20
mov ecx, edi
dec edi
mov dword [esp + 0x1050], 0xffffffff
test ecx, ecx
mov dword [esp + 0x18], ebx
jne 0x4322b2
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
mov dword [esi], edx
lea ecx, [esi + 4]
mov edx, eax
mov edi, ecx
mov ebx, dword [edx]
mov dword [edi], ebx
mov dx, word [edx + 4]
mov word [edi + 4], dx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, eax
mov ebx, dword [edx]
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov ebx, dword [edx + 8]
mov dword [edi + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [edi + 0xc], edx
mov edx, eax
mov ebx, dword [edx]
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esi + 0x14]
shl eax, 0x1f
sar eax, 0x1f
xor eax, ecx
and eax, 1
xor eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [ebp + 0x1c]
shl ecx, 0x1e
sar ecx, 0x1e
xor ecx, eax
and ecx, 2
xor ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [ebp + 0x1c]
shl eax, 0x1d
sar eax, 0x1d
xor eax, ecx
and eax, 4
xor eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [ebp + 0x1c]
shl ecx, 0x1c
sar ecx, 0x1c
xor ecx, eax
and ecx, 8
xor ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [ebp + 0x1c]
shl eax, 0x1b
sar eax, 0x1b
xor eax, ecx
and eax, 0x10
xor eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [ebp + 0x1c]
shl ecx, 0x1a
sar ecx, 0x1a
xor ecx, eax
and ecx, 0x20
xor ecx, eax
lea edx, [ebp + 0x20]
mov dword [esi + 0x14], ecx
mov eax, dword [ebp + 0x1c]
shl eax, 0x19
sar eax, 0x19
xor eax, ecx
push edx
and eax, 0x40
xor eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [ebp + 0x1c]
shl ecx, 0x18
sar ecx, 0x18
xor ecx, eax
and ecx, 0x80
xor ecx, eax
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp + 0x24]
lea ecx, [esi + 0x1c]
push eax
call sub.MFC42.DLL_CString::operator_1
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x432432
mov dword [eax], ecx
jmp 0x432435
mov dword [edi + 8], ecx
mov eax, dword [esp + 0x10]
mov dword [edi + 0xc], ecx
mov ebp, dword [ebp]
dec eax
mov dword [esp + 0x10], eax
jne 0x432248
mov ecx, dword [esp + 0x1048]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1044
ret 4