Function at 0x442a20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d106
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x62c], edi
mov dword [ebp - 0x634], edi
lea esi, [edi + 8]
mov dword [edi + 4], 0
mov ecx, esi
mov dword [edi], vtable.CConfigure.0
mov dword [ebp - 0x62c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00449890
mov dword [esi], eax
mov dword [ebp - 4], 2
lea ebx, [edi + 0x10]
mov dword [ebp - 0x62c], ebx
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x442e04
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 4
lea esi, [edi + 0x14]
mov dword [ebp - 0x62c], esi
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x442e0e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
lea esi, [edi + 0x18]
mov dword [ebp - 0x62c], esi
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x442e18
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x30]
mov dword [edi + 0x1c], 0
mov ecx, esi
mov dword [edi + 0x2c], 1
mov dword [ebp - 0x62c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00449810
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x62d]
push eax
lea eax, [ebp - 0x62c]
mov dword [ebp - 0x62c], 0xffffffff
push eax
push 5
lea ecx, [edi + 0x38]
call fcn.00442920
mov byte [ebp - 4], 0xc
lea esi, [edi + 0x68]
mov dword [edi + 0x44], 1
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0x80
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [ebp - 0x62c], esi
mov dword [edi + 0x5c], 5
mov dword [edi + 0x60], 0x64
mov dword [edi + 0x64], 0
mov dword [ebp - 0x638], esi
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x442e22
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x442cd6
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ComputerZ.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x218]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x442c21
sub edx, ecx
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.00429710
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x442e2c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x62c], eax
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x62c]
call fcn.0042d870
test al, al
jne 0x442ca2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442c80
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.00429710
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x62c]
push eax
mov ecx, esi
call fcn.00427b10
mov byte [ebp - 4], 0xf
or eax, 0xffffffff
mov edx, dword [ebp - 0x62c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442cd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x14]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [eax - 0xc], 0
jne 0x442d6f
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0x1a
push eax
push 0
call ebx
push str.Ludashi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.ComputerZ.set
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x420]
lea ecx, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x442d50
sub edx, ecx
lea eax, [ebp - 0x420]
sar edx, 1
lea ecx, [edi + 0x14]
push edx
push eax
call fcn.00429710
mov eax, dword [edi + 0x18]
cmp dword [eax - 0xc], 0
jne 0x442ddf
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x628]
push 0
push 0x1a
push eax
push 0
call ebx
push str.LudashimobileMobileMgr.ini
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x628]
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x442dc0
sub edx, esi
lea eax, [ebp - 0x628]
sar edx, 1
lea ecx, [edi + 0x18]
push edx
push eax
call fcn.00429710
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
int3