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

Disassembly:
push 0xffffffffffffffff
push 0x468e88
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.004318b0
test eax, eax
je 0x41904f
push 0
lea eax, [esp + 0x6c]
push str.CINIFile::InstallMiscINIFiles_n
push eax
call fcn.0044cb10
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.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x26c]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov edi, dword [esp + 0x47c]
mov ecx, ebp
mov dword [esp + 0x10], 0
mov eax, dword [edi + 4]
push eax
call fcn.004296b0
mov ecx, dword [edi + 0x14]
lea esi, [edi + 0x14]
mov ebx, 1
mov eax, dword [ecx - 8]
test eax, eax
je 0x419285
call fcn.004318b0
test eax, eax
je 0x4190ae
mov edx, dword [esi]
lea eax, [esp + 0x68]
push edx
push str.DeviceINIInstallData__csHomolFileName___s
push eax
call fcn.0044cb10
add esp, 0xc
lea ecx, [esp + 0x68]
push ecx
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x4190d7
mov eax, dword [esi]
lea edx, [esp + 0x10]
push ebx
push edx
push eax
mov ecx, ebp
call fcn.0042fc70
mov ecx, dword [esi]
push ebx
push ecx
lea ecx, [esp + 0x2c]
call fcn.004117b0
jmp 0x419285
cmp eax, ebx
jne 0x419285
mov eax, dword [0x4855a4]
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.0045bd8e
inc eax
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0045bd16
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x478], 2
call fcn.0045cec5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x474], bl
call fcn.0045cdd8
push 0x47d160
lea ecx, [esp + 0x34]
call fcn.0045ce46
mov ebp, eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x474], 3
push ecx
lea ecx, [esp + 0x38]
call fcn.0045ce46
push ebp
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x480], 4
call fcn.0045cfbb
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x480], 5
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x478], 6
call fcn.0045cec5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x474], 5
call fcn.0045cdd8
lea ecx, [esp + 0x28]
mov byte [esp + 0x474], 4
call fcn.0045cdd8
lea ecx, [esp + 0x34]
mov byte [esp + 0x474], 3
call fcn.0045cdd8
lea ecx, [esp + 0x30]
mov byte [esp + 0x474], bl
call fcn.0045cdd8
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.0040f200
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.0040fd70
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.0040fd00
lea ecx, [esp + 0x38]
mov byte [esp + 0x474], bl
call fcn.0040f220
lea ecx, [esp + 0x18]
mov byte [esp + 0x474], 0
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov dword [esp + 0x474], 0xffffffff
call fcn.0045cdd8
mov ebp, dword [esp + 0x2c]
mov eax, dword [edi + 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4192ab
lea edx, [esp + 0x10]
push ebx
push edx
push eax
mov ecx, ebp
call fcn.0042fc70
mov eax, dword [edi + 0x28]
push ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.004117b0
call fcn.004318b0
test eax, eax
je 0x41934e
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x36c]
push ecx
push str.CINIFile::InstallMiscINIFiles_:_bRebootRequired___d_n
push edx
call fcn.0044cb10
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.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
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