Function at 0x461150
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567a0b
mov eax, dword fs:[0]
push eax
mov eax, 0x10dc
call fcn.00528110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5c971c]
and eax, 1
jne 0x4611a2
mov ecx, dword [0x5c971c]
or ecx, 1
mov dword [0x5c971c], ecx
mov ecx, 0x5c9714
call fcn.0043a3f0
lea ecx, [ebp - 0x3c]
call fcn.00415d60
mov dword [ebp - 4], 0
mov edx, 0x43
mov word [ebp - 0x868], dx
mov eax, 0x43
mov word [ebp - 0x866], ax
mov ecx, 0x50
mov word [ebp - 0x864], cx
mov edx, 0x72
mov word [ebp - 0x862], dx
mov eax, 0x6f
mov word [ebp - 0x860], ax
mov ecx, 0x78
mov word [ebp - 0x85e], cx
mov edx, 0x79
mov word [ebp - 0x85c], dx
xor eax, eax
mov word [ebp - 0x85a], ax
mov ecx, 0x2e
mov word [ebp - 0x4c], cx
mov edx, 0x64
mov word [ebp - 0x4a], dx
mov eax, 0x6c
mov word [ebp - 0x48], ax
mov ecx, 0x6c
mov word [ebp - 0x46], cx
xor edx, edx
mov word [ebp - 0x44], dx
lea eax, [ebp - 0x868]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00415e60
cmp dword [0x5c9710], 0
jne 0x461386
lea ecx, [ebp - 0x8a4]
call fcn.004f7d2d
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 0x580220
push 0x5fa82c
lea eax, [ebp - 0x10b4]
push eax
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x10d4], eax
mov ecx, dword [ebp - 0x10d4]
mov dword [ebp - 0x10d8], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10d8]
push edx
lea eax, [ebp - 0x10b8]
push eax
call fcn.0043b320
add esp, 0xc
mov dword [ebp - 0x10dc], eax
mov ecx, dword [ebp - 0x10dc]
mov dword [ebp - 0x10e0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10e0]
push edx
lea eax, [ebp - 0x10bc]
push eax
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x10e4], eax
mov ecx, dword [ebp - 0x10e4]
mov dword [ebp - 0x10e8], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10e8]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x8a4]
call fcn.004f7dc5
mov dword [ebp - 0x10b0], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10bc]
call fcn.00415e20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10b8]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10b4]
call fcn.00415e20
cmp dword [ebp - 0x10b0], 0
je 0x461362
lea ecx, [ebp - 0x8a4]
call fcn.004f7af4
push 0x5c9714
lea ecx, [ebp - 0x8a4]
call fcn.004f7c9a
lea ecx, [ebp - 0x8a4]
call fcn.004f7a0e
mov dword [0x5c9710], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8a4]
call fcn.004f7d56
mov edx, dword [0x5c9718]
push edx
mov eax, dword [0x5c9714]
push eax
lea ecx, [ebp - 0x858]
push ecx
lea edx, [ebp - 0x10c4]
push edx
call fcn.00424380
mov ecx, eax
call fcn.00455cc0
lea ecx, [ebp - 0x858]
call fcn.0046b690
mov dword [ebp - 0x88c], eax
mov dword [ebp - 0x888], edx
mov eax, dword [ebp - 0x88c]
push eax
call fcn.004561a0
add esp, 4
cmp eax, 5
jge 0x4613fc
mov dword [ebp - 0x10c8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00415e20
mov eax, dword [ebp - 0x10c8]
jmp 0x46169b
push 0x400
lea ecx, [ebp - 0x84c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x84c]
push edx
lea ecx, [ebp - 0x850]
call fcn.00415da0
mov byte [ebp - 4], 5
mov eax, 0x5c
mov word [ebp - 0x38], ax
mov ecx, 0x64
mov word [ebp - 0x36], cx
mov edx, 0x72
mov word [ebp - 0x34], dx
mov eax, 0x69
mov word [ebp - 0x32], ax
mov ecx, 0x76
mov word [ebp - 0x30], cx
mov edx, 0x65
mov word [ebp - 0x2e], dx
mov eax, 0x72
mov word [ebp - 0x2c], ax
mov ecx, 0x73
mov word [ebp - 0x2a], cx
mov edx, 0x5c
mov word [ebp - 0x28], dx
mov eax, 0x65
mov word [ebp - 0x26], ax
mov ecx, 0x74
mov word [ebp - 0x24], cx
mov edx, 0x63
mov word [ebp - 0x22], dx
mov eax, 0x5c
mov word [ebp - 0x20], ax
mov ecx, 0x68
mov word [ebp - 0x1e], cx
mov edx, 0x6f
mov word [ebp - 0x1c], dx
mov eax, 0x73
mov word [ebp - 0x1a], ax
mov ecx, 0x74
mov word [ebp - 0x18], cx
mov edx, 0x73
mov word [ebp - 0x16], dx
xor eax, eax
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x850]
call fcn.00424520
mov edx, 0x79
mov word [ebp - 0x880], dx
mov eax, 0x6f
mov word [ebp - 0x87e], ax
mov ecx, 0x75
mov word [ebp - 0x87c], cx
mov edx, 0x6e
mov word [ebp - 0x87a], dx
mov eax, 0x67
mov word [ebp - 0x878], ax
mov ecx, 0x7a
mov word [ebp - 0x876], cx
mov edx, 0x73
mov word [ebp - 0x874], dx
mov eax, 0x6f
mov word [ebp - 0x872], ax
mov ecx, 0x66
mov word [ebp - 0x870], cx
mov edx, 0x74
mov word [ebp - 0x86e], dx
xor eax, eax
mov word [ebp - 0x86c], ax
lea ecx, [ebp - 0x3c]
call fcn.0043b2a0
push 0x580224
lea ecx, [ebp - 0x850]
call fcn.00415f60
push eax
call fcn.0052a29d
add esp, 8
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x46166d
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0052a65f
add esp, 4
test eax, eax
jne 0x461661
xor edx, edx
mov word [ebp - 0x10ac], dx
push 0x7fe
push 0
lea eax, [ebp - 0x10aa]
push eax
call fcn.005281f0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
push ecx
push 0x400
lea edx, [ebp - 0x10ac]
push edx
call fcn.0052f43d
add esp, 0xc
lea eax, [ebp - 0x10ac]
push eax
lea ecx, [ebp - 0x8a8]
call fcn.00415da0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8a8]
call fcn.0043b2a0
push 0
lea ecx, [ebp - 0x880]
push ecx
lea ecx, [ebp - 0x8a8]
call fcn.00411820
test eax, eax
jl 0x46164d
mov dword [ebp - 0x10cc], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8a8]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x850]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00415e20
mov eax, dword [ebp - 0x10cc]
jmp 0x46169b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8a8]
call fcn.00415e20
jmp 0x46158a
mov edx, dword [ebp - 0x40]
push edx
call fcn.00529b67
add esp, 4
mov dword [ebp - 0x10d0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x850]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00415e20
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret