Function at 0x41e6d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x454439
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.0041df30
mov edi, eax
push str.ItemCheckExe
mov ecx, esi
mov dword [esp + 0x14], edi
call fcn.0041df30
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x34], eax
je 0x41e9c4
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.004318c1
lea eax, [esp + 0x470]
push 0x457080
push eax
call fcn.004318c1
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x47c]
push edx
call fcn.004318c1
lea eax, [esp + 0x480]
push 0x457df0
push eax
call fcn.004318c1
lea ecx, [esp + 0x488]
push ecx
lea edx, [esp + 0xaa4]
push edx
call fcn.004318eb
lea eax, [esp + 0xaa8]
push 0x457dec
push eax
call fcn.004318c1
lea ecx, [esp + 0x498]
push ecx
lea edx, [esp + 0x8c]
push edx
call fcn.004318eb
mov ecx, dword [0x46c488]
add esp, 0x38
call fcn.0040cae0
mov ecx, eax
call fcn.004100f0
test eax, eax
je 0x41e94c
mov ecx, dword [0x46c488]
lea eax, [esp + 0x38]
push eax
call fcn.0040cae0
mov ecx, eax
call fcn.00410150
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00403a40
mov ecx, dword [0x46c488]
mov dword [esp + 0xca0], 0xffffffff
call fcn.0040cab0
mov ecx, eax
call fcn.0040be10
mov edi, eax
cmp edi, ebx
je 0x41e933
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.0040cae0
mov ecx, eax
call fcn.00410120
lea ecx, [esp + 0x670]
push 0x457080
push ecx
call fcn.004318c1
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x67c]
push eax
call fcn.004318c1
lea ecx, [esp + 0x680]
push 0x457df0
push ecx
call fcn.004318c1
lea edx, [esp + 0x688]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.004318eb
add esp, 0x1c
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00403a40
mov ecx, dword [0x46c488]
mov dword [esp + 0xca0], 0xffffffff
call fcn.0040cab0
mov ecx, eax
call fcn.0040be10
mov edi, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [0x46c488]
push eax
call fcn.0040cae0
mov ecx, eax
call fcn.00410170
jmp 0x41e97c
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00403a40
mov ecx, dword [0x46c488]
mov dword [esp + 0xca0], 0xffffffff
call fcn.0040cab0
mov ecx, eax
call fcn.0040be10
mov edi, eax
cmp edi, ebx
je 0x41ea28
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x41ea20
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.00431794
add esp, 0xc
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00403a40
jmp 0x41ea01
cmp eax, ebx
jne 0x41e9cf
xor eax, eax
jmp 0x41edfa
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.00431794
add esp, 0xc
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00403a40
mov ecx, dword [0x46c488]
mov dword [esp + 0xca0], 0xffffffff
call fcn.0040cab0
mov ecx, eax
call fcn.0040be10
mov edi, eax
cmp edi, ebx
jne 0x41ec0a
mov edi, 7
push str.ItemExeUser
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.00431b26
add esp, 4
push eax
push str.ItemExeUser
lea ecx, [esp + 0x1c]
call fcn.00404ec0
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 0x41ea8d
mov eax, dword [esp + 0x18]
push eax
call fcn.0044ac5f
add esp, 4
push str.ItemExeUser
mov ecx, esi
call fcn.0041e0c0
test eax, eax
push str.true
mov ecx, esi
push str.ItemExeUser
je 0x41eab0
call fcn.0041dd70
jmp 0x41eab5
call fcn.0041dc90
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.00431794
push str.ItemInstallPath
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00431b26
add esp, 0x10
push eax
push str.ItemInstallPath
lea ecx, [esp + 0x1c]
call fcn.00404ec0
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 0x41eb3b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044ac5f
add esp, 4
cmp dword [esp + 0x34], ebx
mov ecx, esi
jne 0x41eb57
lea edx, [esp + 0x260]
push edx
push str.ItemInstallPath
call fcn.0041dc90
jmp 0x41eb69
lea eax, [esp + 0x260]
push eax
push str.ItemInstallPath
call fcn.0041dd70
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.00431794
push str.ItemTempInstallPath
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00431b26
add esp, 0x10
push eax
push str.ItemTempInstallPath
lea ecx, [esp + 0x1c]
call fcn.00404ec0
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 0x41ebe9
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044ac5f
add esp, 4
cmp edi, ebx
mov ecx, esi
jne 0x41ede3
lea edx, [esp + 0x260]
push edx
push str.ItemTempInstallPath
call fcn.0041dc90
jmp 0x41edf5
mov edi, 7
push str.ItemExeUser
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.00431b26
add esp, 4
push eax
push str.ItemExeUser
lea ecx, [esp + 0x1c]
call fcn.00404ec0
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 0x41ec73
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044ac5f
add esp, 4
cmp dword [esp + 0x10], ebx
push str.false
mov ecx, esi
push str.ItemExeUser
jne 0x41ec8c
call fcn.0041dc90
jmp 0x41ec91
call fcn.0041dd70
push str.ItemInstallPath
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.00431b26
add esp, 4
push eax
push str.ItemInstallPath
lea ecx, [esp + 0x1c]
call fcn.00404ec0
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 0x41ecf5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044ac5f
add esp, 4
cmp dword [esp + 0x10], ebx
jne 0x41ed19
mov edx, dword [0x46c488]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x278]
push eax
push str.ItemInstallPath
mov ecx, esi
call fcn.0041dc90
jmp 0x41ed35
mov ecx, dword [0x46c488]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x278]
push eax
push str.ItemInstallPath
mov ecx, esi
call fcn.0041dd70
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.00431794
push str.ItemTempInstallPath
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
call fcn.00431b26
add esp, 0x10
push eax
push str.ItemTempInstallPath
lea ecx, [esp + 0x44]
call fcn.00404ec0
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 0x41edba
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0044ac5f
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 0x41ede3
lea edx, [esp + 0x260]
push edx
push str.ItemTempInstallPath
call fcn.0041dc90
jmp 0x41edf5
lea eax, [esp + 0x260]
push eax
push str.ItemTempInstallPath
call fcn.0041dd70
mov eax, 1
mov ecx, dword [esp + 0xc94]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc8c]
call fcn.00431288
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret