Function at 0x42aa60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fed7f
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x52a51c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x154], esi
call fcn.004c7d67
add esp, 4
test eax, eax
je 0x42aab2
push eax
call fcn.004c6c6e
add esp, 4
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
cmp ecx, eax
je 0x42aaca
push 0xffffffffffffffff
push 0
push eax
call fcn.00404a50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
push 0xf
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.ServerAgentMode
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.Config
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x56]
mov byte [ebp - 4], 1
push edi
mov ecx, esi
call fcn.0042c5d0
test al, al
jne 0x42ab2d
mov byte [edi], al
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 7
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.NewMode
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.Config
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x1c]
mov byte [ebp - 4], 1
push edi
mov ecx, esi
call fcn.0042c5d0
test al, al
jne 0x42ab90
mov byte [edi], al
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 8
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.TestMode
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.Config
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x1d]
mov byte [ebp - 4], 1
push edi
mov ecx, esi
call fcn.0042c5d0
test al, al
jne 0x42abf3
mov byte [edi], al
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x10
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.EnableQueryPkgId
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.Config
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x22]
mov byte [ebp - 4], 1
push edi
mov ecx, esi
call fcn.0042c5d0
test al, al
jne 0x42ac57
mov byte [edi], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x16
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.EnableDiskWriteMonitor
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.Config
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x1e]
mov byte [ebp - 4], 1
push edi
mov ecx, esi
call fcn.0042c5d0
test al, al
jne 0x42acbb
mov byte [edi], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x11
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.EnableNumaSupport
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.Config
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x1f]
mov byte [ebp - 4], 1
push edi
mov ecx, esi
call fcn.0042c5d0
test al, al
jne 0x42ad1e
mov byte [edi], al
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec eax
cmp eax, 0x102
ja 0x42ad4a
movsx eax, byte [ebp - 0x118]
push eax
call fcn.004cb2dc
mov byte [esi + 0x20], al
jmp 0x42adbe
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 8
call fcn.00449570
test al, al
je 0x42ada6
cmp dword [ebp - 0x138], 1
jbe 0x42ada6
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
movsx eax, byte [eax]
push eax
call fcn.004cb2dc
add esp, 4
mov byte [esi + 0x20], al
jmp 0x42adaa
mov byte [esi + 0x20], 0x43
cmp dword [ebp - 0x134], 0x10
jb 0x42adc1
push dword [ebp - 0x148]
call fcn.0044bc50
add esp, 4
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 9
call fcn.00449570
test al, al
je 0x42ae1d
cmp dword [ebp - 0x120], 1
jbe 0x42ae1d
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
movsx eax, byte [eax]
push eax
call fcn.004cb2dc
add esp, 4
mov byte [esi + 0x21], al
jmp 0x42ae21
mov byte [esi + 0x21], 0x43
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0xa
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.BufferDisk
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.Config
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x23]
mov byte [ebp - 4], 9
push edi
mov ecx, esi
call fcn.0042c750
test al, al
jne 0x42ae85
mov byte [edi], 0x30
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0xc
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.ServerMemory
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
push 9
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.AWEMemory
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x24]
mov byte [ebp - 4], 9
push edi
mov ecx, esi
call fcn.0042c450
test al, al
jne 0x42aeec
mov dword [edi], 0x400
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0xc
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.MaxWorkQueue
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
push 9
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.TaskQueue
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x28]
mov byte [ebp - 4], 9
push edi
mov ecx, esi
call fcn.0042c450
test al, al
jne 0x42af53
mov dword [edi], 0x2710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x12
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.MaxPerSessionQueue
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push 9
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.TaskQueue
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x2c]
mov byte [ebp - 4], 9
push edi
mov ecx, esi
call fcn.0042c450
test al, al
jne 0x42afba
mov dword [edi], 0x64
sub esp, 0x18
mov ecx, esp
push 0xc
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.GSMgrAddrSet
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x30]
mov ecx, esi
push edi
call fcn.0042bc40
test al, al
jne 0x42aff2
mov ecx, edi
call fcn.00434a50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 4
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.Port
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov ecx, esp
push 5
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.GSMgr
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x38]
mov byte [ebp - 4], 9
push edi
mov ecx, esi
call fcn.0042c2d0
test al, al
jne 0x42b05b
mov eax, 0x26fb
mov word [edi], ax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.CheckTimeoutTimeLong
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov ecx, esp
push 5
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.GSMgr
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x3c]
mov byte [ebp - 4], 9
push edi
mov ecx, esi
call fcn.0042c450
test al, al
jne 0x42b0c4
mov dword [edi], 0x7530
jmp 0x42b0d2
cmp dword [edi], 0x2710
jae 0x42b0d2
mov dword [edi], 0x2710
sub esp, 0x18
mov ecx, esp
push 0x13
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.ClientServerAddrSet
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x40]
mov ecx, esi
push edi
call fcn.0042bc40
test al, al
jne 0x42b10a
mov ecx, edi
call fcn.00434a50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 4
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.Port
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov ecx, esp
push 0xc
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.ClientServer
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x48]
mov byte [ebp - 4], 9
push edi
mov ecx, esi
call fcn.0042c2d0
test al, al
jne 0x42b173
mov eax, 0x26fc
mov word [edi], ax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.CheckTimeoutTimeLong
mov byte [ecx], 0
call fcn.00404ce0
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov ecx, esp
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.Config
mov byte [ecx], 0
call fcn.00404ce0
lea edi, [esi + 0x4c]
mov byte [ebp - 4], 9
push edi
mov ecx, esi
call fcn.0042c450
test al, al
jne 0x42b1dc
mov dword [edi], 0x4e20
jmp 0x42b1ea
cmp dword [edi], 0x2710
jae 0x42b1ea
mov dword [edi], 0x2710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push str.Port
call fcn.00404500
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
push str.CtrlView
call fcn.00404500
lea edi, [esi + 0x50]
mov byte [ebp - 4], 9
push edi
mov ecx, esi
call fcn.0042c2d0
test al, al
jne 0x42b22d
mov eax, 0x26ae
mov word [edi], ax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push str.LocalPort
call fcn.00404500
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
push str.BarSvr
call fcn.00404500
lea edi, [esi + 0x52]
mov byte [ebp - 4], 9
push edi
mov ecx, esi
call fcn.0042c2d0
test al, al
jne 0x42b270
mov eax, 0x26de
mov word [edi], ax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push str.RemotePort
call fcn.00404500
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov ecx, esp
push str.BarSvr
call fcn.00404500
lea edi, [esi + 0x54]
mov byte [ebp - 4], 9
push edi
mov ecx, esi
call fcn.0042c2d0
test al, al
jne 0x42b2b3
mov eax, 0x26bf
mov word [edi], ax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push str.RemotePort
call fcn.00404500
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
push str.ServerAgent
call fcn.00404500
lea edi, [esi + 0x58]
mov byte [ebp - 4], 9
push edi
mov ecx, esi
call fcn.0042c2d0
test al, al
jne 0x42b2f6
mov eax, 0x336
mov word [edi], ax
sub esp, 0x18
mov ecx, esp
push str.ServerAgentDiskInUse
call fcn.00404500
lea eax, [esi + 0x64]
mov ecx, esi
push eax
call fcn.0042bdf0
sub esp, 0x18
mov ecx, esp
push str.ServerAgentSSDInUse
call fcn.00404500
lea eax, [esi + 0x6c]
mov ecx, esi
push eax
call fcn.0042bdf0
sub esp, 0x18
mov ecx, esp
push str.ServerAgentConfigAddrSet
call fcn.00404500
lea eax, [esi + 0x5c]
mov ecx, esi
push eax
call fcn.0042bc40
cmp dword [ebp - 0x11c], 0x10
jb 0x42b35b
push dword [ebp - 0x130]
call fcn.0044bc50
add esp, 4
push esi
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
mov byte [ebp - 4], 0
call fcn.004c7d90
add esp, 4
test eax, eax
je 0x42b390
push eax
call fcn.004c6c6e
add esp, 4
cmp dword [ebp + 0x1c], 0x10
jb 0x42b3a1
push dword [ebp + 8]
call fcn.0044bc50
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8a23
mov esp, ebp
pop ebp
ret 0x18