Function at 0x41e350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4541c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc88
mov eax, dword [0x46b3ac]
push ebx
push esi
push edi
push str.ItemImeName
mov dword [esp + 0xc90], eax
mov esi, ecx
call fcn.0041dbb0
mov edi, eax
push str.ItemCheckExe
mov ecx, esi
mov dword [esp + 0x14], edi
call fcn.0041dbb0
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x34], eax
je 0x41e644
xor eax, eax
mov word [esp + 0x878], bx
mov ecx, 0x81
lea edi, [esp + 0x87a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x468], bx
mov ecx, 0x81
lea edi, [esp + 0x46a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0xa80], bx
mov ecx, 0x81
lea edi, [esp + 0xa82]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x87c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x878]
push ecx
lea edx, [esp + 0x46c]
push edx
call fcn.00431651
lea eax, [esp + 0x470]
push 0x457080
push eax
call fcn.00431651
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x47c]
push edx
call fcn.00431651
lea eax, [esp + 0x480]
push 0x457de8
push eax
call fcn.00431651
lea ecx, [esp + 0x488]
push ecx
lea edx, [esp + 0xaa4]
push edx
call fcn.0043167b
lea eax, [esp + 0xaa8]
push 0x457de4
push eax
call fcn.00431651
lea ecx, [esp + 0x498]
push ecx
lea edx, [esp + 0x8c]
push edx
call fcn.0043167b
mov ecx, dword [0x46c488]
add esp, 0x38
call fcn.0040ca70
mov ecx, eax
call fcn.0040fe10
test eax, eax
je 0x41e5cc
mov ecx, dword [0x46c488]
lea eax, [esp + 0x38]
push eax
call fcn.0040ca70
mov ecx, eax
call fcn.0040fe70
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00403aa0
mov ecx, dword [0x46c488]
mov dword [esp + 0xca0], 0xffffffff
call fcn.0040ca40
mov ecx, eax
call fcn.0040bda0
mov edi, eax
cmp edi, ebx
je 0x41e5b3
xor eax, eax
mov word [esp + 0x670], bx
mov ecx, 0x81
lea edi, [esp + 0x672]
rep stosd dword es:[edi], eax
mov ecx, dword [0x46c488]
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x674]
push eax
call fcn.0040ca70
mov ecx, eax
call fcn.0040fe40
lea ecx, [esp + 0x670]
push 0x457080
push ecx
call fcn.00431651
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x67c]
push eax
call fcn.00431651
lea ecx, [esp + 0x680]
push 0x457de8
push ecx
call fcn.00431651
lea edx, [esp + 0x688]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.0043167b
add esp, 0x1c
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00403aa0
mov ecx, dword [0x46c488]
mov dword [esp + 0xca0], 0xffffffff
call fcn.0040ca40
mov ecx, eax
call fcn.0040bda0
mov edi, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [0x46c488]
push eax
call fcn.0040ca70
mov ecx, eax
call fcn.0040fe90
jmp 0x41e5fc
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00403aa0
mov ecx, dword [0x46c488]
mov dword [esp + 0xca0], 0xffffffff
call fcn.0040ca40
mov ecx, eax
call fcn.0040bda0
mov edi, eax
cmp edi, ebx
je 0x41e6a8
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x41e6a0
push eax
mov eax, dword [0x46c488]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x278]
push edx
lea eax, [esp + 0x60]
push 0x456ff4
push eax
call fcn.00431524
add esp, 0xc
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00403aa0
jmp 0x41e681
cmp eax, ebx
jne 0x41e64f
xor eax, eax
jmp 0x41ea7a
push eax
mov eax, dword [0x46c488]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x278]
push edx
lea eax, [esp + 0x60]
push 0x456ff4
push eax
call fcn.00431524
add esp, 0xc
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00403aa0
mov ecx, dword [0x46c488]
mov dword [esp + 0xca0], 0xffffffff
call fcn.0040ca40
mov ecx, eax
call fcn.0040bda0
mov edi, eax
cmp edi, ebx
jne 0x41e88a
mov edi, 7
push str.ItemExeUser
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.004318b6
add esp, 4
push eax
push str.ItemExeUser
lea ecx, [esp + 0x1c]
call fcn.00404f40
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xca0], 5
call dword [eax + 0x10]
cmp dword [esp + 0x2c], 8
mov dword [esp + 0xc9c], 0xffffffff
jb 0x41e70d
mov eax, dword [esp + 0x18]
push eax
call fcn.0044a9ef
add esp, 4
push str.ItemExeUser
mov ecx, esi
call fcn.0041dd40
test eax, eax
push str.true
mov ecx, esi
push str.ItemExeUser
je 0x41e730
call fcn.0041d9f0
jmp 0x41e735
call fcn.0041d910
mov ecx, dword [0x46c488]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x278]
push eax
lea ecx, [esp + 0x264]
push str._sInstTemp_
push ecx
call fcn.00431524
push str.ItemInstallPath
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.004318b6
add esp, 0x10
push eax
push str.ItemInstallPath
lea ecx, [esp + 0x1c]
call fcn.00404f40
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0xca0], 6
call dword [edx + 0x10]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x2c], 8
mov dword [esp + 0xc9c], 0xffffffff
jb 0x41e7bb
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044a9ef
add esp, 4
cmp dword [esp + 0x34], ebx
mov ecx, esi
jne 0x41e7d7
lea edx, [esp + 0x260]
push edx
push str.ItemInstallPath
call fcn.0041d910
jmp 0x41e7e9
lea eax, [esp + 0x260]
push eax
push str.ItemInstallPath
call fcn.0041d9f0
mov ecx, dword [0x46c488]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x278]
push eax
lea ecx, [esp + 0x264]
push str._sInstTempInstTemp_
push ecx
call fcn.00431524
push str.ItemTempInstallPath
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.004318b6
add esp, 0x10
push eax
push str.ItemTempInstallPath
lea ecx, [esp + 0x1c]
call fcn.00404f40
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0xca0], edi
call dword [edx + 0x10]
mov edi, eax
cmp dword [esp + 0x2c], 8
mov dword [esp + 0xc9c], 0xffffffff
jb 0x41e869
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044a9ef
add esp, 4
cmp edi, ebx
mov ecx, esi
jne 0x41ea63
lea edx, [esp + 0x260]
push edx
push str.ItemTempInstallPath
call fcn.0041d910
jmp 0x41ea75
mov edi, 7
push str.ItemExeUser
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.004318b6
add esp, 4
push eax
push str.ItemExeUser
lea ecx, [esp + 0x1c]
call fcn.00404f40
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0xca0], 8
call dword [edx + 0x10]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x2c], 8
mov dword [esp + 0xc9c], 0xffffffff
jb 0x41e8f3
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044a9ef
add esp, 4
cmp dword [esp + 0x10], ebx
push str.false
mov ecx, esi
push str.ItemExeUser
jne 0x41e90c
call fcn.0041d910
jmp 0x41e911
call fcn.0041d9f0
push str.ItemInstallPath
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.004318b6
add esp, 4
push eax
push str.ItemInstallPath
lea ecx, [esp + 0x1c]
call fcn.00404f40
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0xca0], 9
call dword [edx + 0x10]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x2c], 8
mov dword [esp + 0xc9c], 0xffffffff
jb 0x41e975
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044a9ef
add esp, 4
cmp dword [esp + 0x10], ebx
jne 0x41e999
mov edx, dword [0x46c488]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x278]
push eax
push str.ItemInstallPath
mov ecx, esi
call fcn.0041d910
jmp 0x41e9b5
mov ecx, dword [0x46c488]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x278]
push eax
push str.ItemInstallPath
mov ecx, esi
call fcn.0041d9f0
mov eax, dword [0x46c488]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x278]
push edx
lea eax, [esp + 0x264]
push str._sInstTemp_
push eax
call fcn.00431524
push str.ItemTempInstallPath
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
call fcn.004318b6
add esp, 0x10
push eax
push str.ItemTempInstallPath
lea ecx, [esp + 0x44]
call fcn.00404f40
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0xca0], 0xa
call dword [edx + 0x10]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x54], 8
mov dword [esp + 0xc9c], 0xffffffff
jb 0x41ea3a
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0044a9ef
add esp, 4
cmp dword [esp + 0x10], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov ecx, esi
jne 0x41ea63
lea edx, [esp + 0x260]
push edx
push str.ItemTempInstallPath
call fcn.0041d910
jmp 0x41ea75
lea eax, [esp + 0x260]
push eax
push str.ItemTempInstallPath
call fcn.0041d9f0
mov eax, 1
mov ecx, dword [esp + 0xc94]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc8c]
call fcn.00431018
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret