Function at 0x414840
Capabilities:
Get common file path

Disassembly:
sub esp, 0xd2c
mov eax, dword [0x44b754]
xor eax, esp
mov dword [esp + 0xd28], eax
xor eax, eax
jmp 0x414860
mov cl, byte [eax + 0x44d784]
mov byte [esp + eax + 0x108], cl
inc eax
test cl, cl
jne 0x414860
push esi
lea eax, [esp + 0x10c]
push edi
push eax
call fcn.004166d0
lea ecx, [esp + 0x924]
push ecx
lea edx, [esp + 0x118]
push str.Mabinogi.exe
push edx
call fcn.00416710
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
add esp, 0x10
lea eax, [esp + 8]
push eax
push 2
push 0
call esi
mov edx, dword [esp + 8]
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea ecx, [esp + 0x718]
push ecx
push edx
call edi
lea eax, [esp + 0x614]
push eax
lea ecx, [esp + 0x71c]
push 0x44e0a8
push ecx
call fcn.00416710
lea edx, [esp + 0x620]
push edx
call fcn.00416bb0
lea eax, [esp + 0x624]
push 0
push eax
call fcn.004145e0
add esp, 0x18
push 0x104
lea ecx, [esp + 0x820]
push ecx
mov ecx, 0x44c660
call fcn.00401cd0
lea edx, [esp + 0x81c]
push edx
call fcn.00416bb0
lea eax, [esp + 0x820]
push 0
push eax
call fcn.004145e0
add esp, 0xc
push 0x400
lea ecx, [esp + 0x218]
push ecx
push 0x24
mov ecx, 0x44c660
call fcn.004014d0
lea edx, [esp + 0xb28]
push edx
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x824]
push ecx
call fcn.00416710
lea edx, [esp + 0xb34]
push edx
call fcn.00416bb0
add esp, 0x10
push 0x400
lea eax, [esp + 0x218]
push eax
push 0x27
mov ecx, 0x44c660
call fcn.004014d0
lea ecx, [esp + 0xc2c]
push ecx
lea edx, [esp + 0x218]
push edx
lea eax, [esp + 0x824]
push eax
call fcn.00416710
lea ecx, [esp + 0xc38]
push ecx
call fcn.00416bb0
push str.Mabinogi.exe
lea edx, [esp + 0x124]
push edx
lea eax, [esp + 0xa3c]
push 0x43db0c
push eax
call fcn.0042ba1b
push str.Uninstall.lnk
lea ecx, [esp + 0x134]
push ecx
lea edx, [esp + 0x34]
push 0x43db0c
push edx
call fcn.0042ba1b
add esp, 0x30
push 0x400
lea eax, [esp + 0x218]
push eax
push 0x2b
mov ecx, 0x44c660
call fcn.004014d0
push 0
push 1
push str._uninstall
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xa3c]
push ecx
call fcn.00417010
add esp, 0x1c
lea edx, [esp + 0xc]
push edx
mov ecx, 0x44c660
call fcn.004016b0
lea eax, [esp + 8]
push eax
push 0
push 0
call esi
mov edx, dword [esp + 8]
lea ecx, [esp + 0x718]
push ecx
push edx
call edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x71c]
push 0x44e0a8
push ecx
call fcn.00416710
lea edi, [esp + 0x18]
add esp, 0xc
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414a90
mov edx, dword [0x43f3bc]
mov al, byte [0x43f3c0]
push 0x400
lea ecx, [esp + 0x218]
push ecx
mov dword [edi], edx
push 0x2c
mov ecx, 0x44c660
mov byte [edi + 4], al
call fcn.004014d0
push 0
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x938]
push edx
call fcn.00417010
add esp, 0x1c
lea eax, [esp + 0xc]
push eax
mov ecx, 0x44c660
call fcn.004016b0
push 0x400
lea ecx, [esp + 0x218]
push ecx
push 0x3a
mov ecx, 0x44c660
call fcn.004014d0
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x720]
push ecx
call fcn.00416710
add esp, 0xc
push 0x400
lea edx, [esp + 0x218]
push edx
push 0x35
mov ecx, 0x44c660
call fcn.004014d0
lea eax, [esp + 0x920]
push eax
push 2
push 0
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x20]
push eax
push str.http:__www.luoqi.com.cn_
call fcn.00417010
add esp, 0x1c
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x44c660
call fcn.004016b0
push 0x400
lea edx, [esp + 0x218]
push edx
push 0x33
mov ecx, 0x44c660
call fcn.004014d0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x218]
push ecx
lea edx, [esp + 0x61c]
push edx
call fcn.00416710
add esp, 0xc
push 0x400
lea eax, [esp + 0x218]
push eax
push 0x36
mov ecx, 0x44c660
call fcn.004014d0
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xb40]
push ecx
call fcn.00417010
add esp, 0x1c
lea edx, [esp + 0xc]
push edx
mov ecx, 0x44c660
call fcn.004016b0
push 0x400
lea eax, [esp + 0x218]
push eax
push 0x34
mov ecx, 0x44c660
call fcn.004014d0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x218]
push edx
lea eax, [esp + 0x61c]
push eax
call fcn.00416710
add esp, 0xc
push 0x400
lea ecx, [esp + 0x218]
push ecx
push 0x37
mov ecx, 0x44c660
call fcn.004014d0
push 0
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xc44]
push edx
call fcn.00417010
add esp, 0x1c
lea eax, [esp + 0xc]
push eax
mov ecx, 0x44c660
call fcn.004016b0
lea ecx, [esp + 0xa24]
push ecx
lea edx, [esp + 0x114]
push str.default.reg
push edx
call fcn.00416710
add esp, 0xc
push 0x400
lea eax, [esp + 0x218]
push eax
push 0x38
mov ecx, 0x44c660
call fcn.004014d0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x218]
push edx
lea eax, [esp + 0x61c]
push eax
call fcn.00416710
add esp, 0xc
push 0x400
lea ecx, [esp + 0x218]
push ecx
push 0x39
mov ecx, 0x44c660
call fcn.004014d0
push 0
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xa3c]
push edx
call fcn.00417010
add esp, 0x1c
lea eax, [esp + 0xc]
push eax
mov ecx, 0x44c660
call fcn.004016b0
push 0x400
lea ecx, [esp + 0x218]
push ecx
push 0x3b
mov ecx, 0x44c660
call fcn.004014d0
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x61c]
push ecx
call fcn.00416710
add esp, 0xc
push 0x400
lea edx, [esp + 0x218]
push edx
push 0x2b
mov ecx, 0x44c660
call fcn.004014d0
push 0
push 1
push str._uninstall
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x938]
push eax
call fcn.00417010
add esp, 0x1c
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x44c660
call fcn.004016b0
mov ecx, dword [esp + 0xd30]
pop edi
pop esi
xor ecx, esp
call fcn.0042baa4
add esp, 0xd2c
ret