Function at 0x42a640
Capabilities:
Copy file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48fef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x2c], ebp
call fcn.0044bde0
test eax, eax
je 0x42a6ff
push 0
lea eax, [esp + 0x6c]
push str.CINIFile::InstallMiscINIFiles_n
push eax
call fcn.00471c30
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x26c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x26c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x68]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x26c]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov edi, dword [esp + 0x47c]
push 0
mov ecx, ebp
mov dword [esp + 0x14], 0
mov eax, dword [edi + 4]
push eax
call fcn.004419b0
mov ecx, dword [edi + 0x14]
lea esi, [edi + 0x14]
mov ebx, 1
mov eax, dword [ecx - 8]
test eax, eax
je 0x42a93d
call fcn.0044bde0
test eax, eax
je 0x42a760
mov edx, dword [esi]
lea eax, [esp + 0x68]
push edx
push str.DeviceINIInstallData__csHomolFileName___s
push eax
call fcn.00471c30
add esp, 0xc
lea ecx, [esp + 0x68]
push ecx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x42a78f
mov eax, dword [esi]
push ebx
lea edx, [esp + 0x14]
push ebx
push edx
push str.TASKS
push eax
mov ecx, ebp
call fcn.00448170
mov ecx, dword [esi]
push ebx
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041b2f0
jmp 0x42a93d
cmp eax, ebx
jne 0x42a93d
mov eax, dword [0x4b538c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x474], 0
mov dword [esp + 0x18], eax
lea edx, [esp + 0x68]
push 0x104
push edx
mov byte [esp + 0x47c], bl
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x5c
mov ecx, esi
call fcn.0048123e
inc eax
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004811c6
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x478], 2
call fcn.00482375
lea ecx, [esp + 0x1c]
mov byte [esp + 0x474], bl
call fcn.00482288
push 0x4a919c
lea ecx, [esp + 0x34]
call fcn.004822f6
mov ebp, eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x474], 3
push ecx
lea ecx, [esp + 0x38]
call fcn.004822f6
push ebp
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x480], 4
call fcn.0048246b
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x480], 5
call fcn.0048246b
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x478], 6
call fcn.00482375
lea ecx, [esp + 0x1c]
mov byte [esp + 0x474], 5
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0x474], 4
call fcn.00482288
lea ecx, [esp + 0x34]
mov byte [esp + 0x474], 3
call fcn.00482288
lea ecx, [esp + 0x30]
mov byte [esp + 0x474], bl
call fcn.00482288
mov eax, dword [esp + 0x18]
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [edi + 4]
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.00415800
lea ecx, [esp + 0x20]
push 4
push ecx
push 3
push str.COPY_CTY
push str.Region
lea ecx, [esp + 0x4c]
mov byte [esp + 0x488], 7
mov dword [esp + 0x34], ebx
call fcn.00416600
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
push ebx
push str.CtyFileName
lea ecx, [esp + 0x48]
call fcn.00416590
lea ecx, [esp + 0x38]
mov byte [esp + 0x474], bl
call fcn.00415820
lea ecx, [esp + 0x18]
mov byte [esp + 0x474], 0
call fcn.00482288
lea ecx, [esp + 0x14]
mov dword [esp + 0x474], 0xffffffff
call fcn.00482288
mov ebp, dword [esp + 0x2c]
mov eax, dword [edi + 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x42a969
push ebx
lea edx, [esp + 0x14]
push ebx
push edx
push str.TASKS
push eax
mov ecx, ebp
call fcn.00448170
mov eax, dword [edi + 0x28]
push ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.0041b2f0
call fcn.0044bde0
test eax, eax
je 0x42aa0c
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x36c]
push ecx
push str.CINIFile::InstallMiscINIFiles_:_bRebootRequired___d_n
push edx
call fcn.00471c30
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x16c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x16c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x36c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x16c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
mov ecx, dword [esp + 0x46c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x468
ret 4