Function at 0x425160
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46a2f7
push eax
mov dword fs:[0], esp
sub esp, 0x51c
push ebx
push esi
push edi
call fcn.004318b0
test eax, eax
je 0x425218
push 0
lea eax, [esp + 0x28]
push str.CInstall98WA2_::_DoWA_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 + 0x124]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x124]
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 + 0x24]
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 + 0x124]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov ecx, dword [0x4855a4]
push ebp
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x428]
xor ebx, ebx
push 0x104
push edx
mov dword [esp + 0x53c], ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebp, dword [esp + 0x53c]
cmp dword [ebp], ebx
je 0x42524e
lea ebx, [ebp + 4]
test ebx, ebx
je 0x4253e9
jmp 0x42525f
mov ebp, dword [esp + 0x53c]
test ebx, ebx
je 0x425295
sub ebx, ebp
sub ebx, 3
mov eax, ebx
je 0x425295
cmp eax, 0x1f4
ja 0x425295
mov ecx, dword [ebp]
cmp eax, ecx
jae 0x425280
lea ebx, [eax + ebp + 4]
jmp 0x425282
xor ebx, ebx
dec eax
cmp eax, ecx
jae 0x425297
cmp eax, 0xffffffff
je 0x425297
mov ebp, dword [ebp + eax*4 + 0x1f8]
jmp 0x42529d
xor ebx, ebx
add ebp, 0x9c8
mov eax, dword [ebp]
push eax
call fcn.0044d7e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push str..CAT
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
push eax
call fcn.0044d1c0
add esp, 0xc
test eax, eax
je 0x4253e1
mov edi, dword [ebp]
sub eax, edi
cmp eax, 0xffffffff
je 0x4253e1
push 0x47d160
lea ecx, [esp + 0x24]
call fcn.0045ce46
mov esi, eax
lea ecx, [esp + 0x428]
mov byte [esp + 0x534], 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045ce46
push esi
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x540], 2
call fcn.0045cfbb
push edi
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x53c], 3
push eax
call fcn.0045d021
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x538], 4
call fcn.0045cec5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], 3
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov byte [esp + 0x534], 2
call fcn.0045cdd8
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 1
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x534], 0
call fcn.0045cdd8
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00411a60
test eax, eax
jne 0x4253e1
call fcn.004318b0
test eax, eax
je 0x4253e1
mov edx, dword [esp + 0x10]
mov ebp, dword [ebp + 0xc]
push edx
push ebp
lea eax, [esp + 0x30]
push str.FAILED_CopyAFile_:_Source___s__Destination___s_n
push eax
call fcn.0044cb10
add esp, 0x10
lea ecx, [esp + 0x28]
push ecx
call fcn.00431840
mov ecx, eax
call fcn.00431c70
test ebx, ebx
jne 0x425258
call fcn.004318b0
test eax, eax
pop ebp
je 0x42548a
push 0
lea edx, [esp + 0x328]
push str.CInstall98WA2_::_DoWA_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 + 0x224]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x224]
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 + 0x324]
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 + 0x224]
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
lea ecx, [esp + 0xc]
mov dword [esp + 0x530], 0xffffffff
call fcn.0045cdd8
mov ecx, dword [esp + 0x528]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x528
ret 4