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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x477fdc
push eax
mov eax, 0x1038
mov dword fs:[0], esp
call fcn.0041fb60
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1058]
mov esi, ecx
lea eax, [edi + 0x20]
lea ecx, [esi + 0x20]
push eax
call fcn.0041f1d2
lea ecx, [edi + 0x24]
push ecx
lea ecx, [esi + 0x24]
call fcn.0041f1d2
mov edx, dword [edi + 0x60]
mov dword [esi + 0x60], edx
mov ax, word [edi + 0x28]
mov word [esi + 0x28], ax
mov cx, word [edi + 0x2a]
mov word [esi + 0x2a], cx
mov dx, word [edi + 0x2c]
mov word [esi + 0x2c], dx
mov ax, word [edi + 0x2e]
mov word [esi + 0x2e], ax
mov cx, word [edi + 0x30]
mov word [esi + 0x30], cx
mov dx, word [edi + 0x32]
lea eax, [edi + 0x58]
lea ecx, [esi + 0x58]
push eax
mov word [esi + 0x32], dx
call fcn.0041f1d2
lea ecx, [edi + 0x34]
lea ebx, [esi + 0x34]
push ecx
mov ecx, ebx
call fcn.0041f1d2
mov dx, word [edi + 0x38]
mov word [esi + 0x38], dx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x50]
mov dword [esi + 0x50], ecx
mov edx, dword [edi + 0x54]
lea ecx, [edi + 0x5c]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x48]
push ecx
lea ecx, [esi + 0x5c]
mov dword [esi + 0x48], eax
call fcn.0041f1d2
mov edx, dword [edi + 0x4c]
lea eax, [edi + 0x6c]
push eax
lea ecx, [esi + 0x6c]
mov dword [esi + 0x4c], edx
call fcn.0041f1d2
mov ecx, dword [edi + 0x44]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov dword [esi + 0x44], ecx
mov eax, dword [edi + 0x64]
push 0x4eaa80
push eax
call ebp
add esp, 8
test eax, eax
je 0x42f156
mov eax, dword [esi + 0x64]
push 0x4eaa80
push eax
call ebp
add esp, 8
test eax, eax
jne 0x42f156
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push eax
call fcn.0042f6a0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4eaa80
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x20]
push eax
call fcn.00431ae0
add esp, 8
mov ecx, eax
mov dword [esp + 0x105c], 0
call fcn.0042f6a0
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 sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x17]
test al, al
je 0x42f149
lea ecx, [esp + 0x48]
push ecx
push 0
push 0x4eaa80
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4eaa80
call sub.MFC42.DLL_CString::CString_4
lea edx, [esp + 0x20]
push edx
call fcn.00431ae0
add esp, 8
mov ecx, eax
mov dword [esp + 0x105c], 1
call fcn.0042f6a0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1050], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x48]
lea ecx, [esi + 0x64]
push eax
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esi + 0x64]
mov ecx, dword [edi + 0x64]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
je 0x42f177
mov eax, dword [esi + 0x64]
mov ecx, dword [edi + 0x64]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [edi + 0x68]
push 0x4eaa80
push eax
call ebp
add esp, 8
test eax, eax
je 0x42f269
mov eax, dword [esi + 0x68]
push 0x4eaa80
push eax
call ebp
add esp, 8
test eax, eax
jne 0x42f269
lea ecx, [esp + 0x48]
push ecx
push eax
mov ecx, ebx
call fcn.0042f6a0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4eaa80
call sub.MFC42.DLL_CString::CString_4
lea edx, [esp + 0x20]
push edx
call fcn.00431ae0
add esp, 8
mov ecx, eax
mov dword [esp + 0x105c], 2
call fcn.0042f6a0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1050], 0xffffffff
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x42f25c
lea eax, [esp + 0x48]
push eax
push 0
push 0x4eaa80
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4eaa80
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x20]
push ecx
call fcn.00431ae0
add esp, 8
mov ecx, eax
mov dword [esp + 0x105c], 3
call fcn.0042f6a0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1050], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x48]
lea ecx, [esi + 0x68]
push edx
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esi + 0x68]
mov ecx, dword [edi + 0x68]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
je 0x42f28a
mov eax, dword [esi + 0x68]
mov ecx, dword [edi + 0x68]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, dword [esi + 0x10]
test ebx, ebx
jle 0x42f2cb
lea ebp, [esi + 4]
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
call fcn.00432000
lea ecx, [esp + 0x44]
mov dword [esp + 0x1050], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x1050], 0xffffffff
call sub.MFC42.DLL_CString::CString
dec ebx
jne 0x42f294
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
test eax, eax
mov dword [esp + 0x1c], ecx
jle 0x42f473
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
test eax, eax
jne 0x42f318
mov edx, dword [esi + 0x1c]
push 0x28
lea eax, [esi + 0x18]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x24]
jl 0x42f318
inc ecx
mov edx, dword [esi + 0x14]
mov dword [eax], edx
mov dword [esi + 0x14], eax
sub eax, 0x28
dec ecx
jne 0x42f30a
mov ebp, dword [esi + 0x14]
mov ecx, 8
mov dword [esp + 0x20], ebp
mov eax, dword [ebp]
add ebp, 8
mov dword [esi + 0x14], eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0
mov eax, dword [esi + 0x10]
inc eax
mov ebx, ebp
mov dword [esi + 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 0x42f385
lea ecx, [ebx + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebx + 0x1c]
mov byte [esp + 0x1050], 6
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0x51
and al, 0xfc
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 0x42f34c
mov eax, dword [esp + 0x1c]
lea ecx, [ebp + 4]
mov edi, ecx
mov edx, dword [eax + 8]
add eax, 0xc
mov dword [ebp], 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]
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 edi, dword [esp + 0x1c]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [edi + 0x1c]
lea edx, [edi + 0x20]
shl eax, 0x1f
sar eax, 0x1f
xor eax, ecx
push edx
and eax, 1
xor eax, ecx
mov dword [ebp + 0x14], eax
mov ecx, dword [edi + 0x1c]
shl ecx, 0x1e
sar ecx, 0x1e
xor ecx, eax
and ecx, 2
xor ecx, eax
mov dword [ebp + 0x14], ecx
lea ecx, [ebp + 0x18]
call fcn.0041f1d2
lea eax, [edi + 0x24]
lea ecx, [ebp + 0x1c]
push eax
call fcn.0041f1d2
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x42f458
mov dword [eax], ecx
jmp 0x42f45b
mov dword [esi + 8], ecx
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], ecx
mov ecx, dword [edi]
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
jne 0x42f2e1
mov ecx, dword [esp + 0x1048]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1044
ret 4