Function at 0x1018260
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x101870b
mov eax, dword fs:[0]
push eax
sub esp, 0xb90
mov eax, dword [0x101d094]
xor eax, esp
mov dword [esp + 0xb8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101d094]
xor eax, esp
push eax
lea eax, [esp + 0xba4]
mov dword fs:[0], eax
movzx eax, byte [0x101e4a4]
mov ecx, dword [0x101e4a0]
push 4
sub ecx, eax
push 1
add ecx, 7
push 0x101b60c
mov dword [0x101e44c], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov edx, dword [0x101e4a8]
sub eax, edx
add eax, 0x12068
mov ecx, 1
mov dword [0x101e448], eax
movzx eax, byte [0x101e453]
mov dword [0x1079ebc], ecx
cmp edx, eax
je 0x10182f2
add ecx, 1
cmp ecx, 7
jl 0x10182e6
lea edx, [esp + 0x34]
push edx
push 0x5b5
mov dword [0x1079ebc], ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [0x101e4a8]
sub esi, eax
add esi, 7
push 0x5b5
mov dword [0x101e448], eax
mov dword [0x101e44c], esi
call fcn.01002f3b
push 0x5b5
mov edi, eax
call fcn.01002f3b
push esi
mov ebx, eax
call fcn.01013570
mov ecx, dword [0x101e4a0]
add esp, 0xc
push 0x5b5
mov dword [0x101e444], eax
mov eax, dword [0x101e44c]
push ebx
xor ebp, ebp
lea edx, [ecx + eax + 0x5d]
push ebp
mov dword [0x101e4a8], edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [0x101e44c], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x1018385
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x38]
push eax
lea esi, [esp + 0x20]
call fcn.01002270
mov dword [esp + 0xbac], ebp
mov edx, dword [0x101e448]
mov ecx, dword [0x101e44c]
lea eax, [edx + ecx + 0x60]
mov dword [0x101e4a8], eax
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x10183c4
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x20]
call fcn.010021a0
push 0x5b5
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, dword [0x101e44c]
mov edx, dword [0x101e448]
mov byte [0x101e4a4], al
lea eax, [edx + ecx + 2]
mov dword [0x101e4a8], eax
mov eax, edi
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x1018410
sub eax, ecx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.010021a0
mov ecx, dword [0x101e448]
mov edx, dword [0x101e4a8]
mov eax, dword [0x101e44c]
add edx, ecx
lea eax, [eax + edx + 0x56]
push eax
mov dword [0x101e44c], eax
call fcn.01013600
mov ecx, dword [0x101e448]
lea edx, [eax + ecx + 0x60]
mov bl, byte [0x101e4a4]
mov dword [0x101e4a0], edx
mov edx, dword [0x101e4a8]
mov al, dl
mov cl, 0xc
imul cl
sub al, byte [0x101e44c]
mov ecx, dword [esp + 0x18]
add bl, al
mov eax, dword [esp + 0x30]
lea ecx, [eax + ecx + 0x5d]
lea edx, [eax + edx - 0x6d48]
movzx eax, dx
movzx eax, ax
lea edx, [eax + ecx*2 + 0xbd]
sub eax, ecx
add eax, 7
mov ecx, eax
imul ecx, ecx, 0xd
lea edx, [ecx + edx + 0x56]
mov cl, byte [0x101e455]
add esp, 4
cmp cl, 9
mov byte [0x101e4a4], bl
mov dword [0x101e4a8], eax
mov dword [0x101e444], edx
je 0x10184fd
cmp cl, 0x2d
je 0x10184f4
cmp cl, 0xae
je 0x10184df
mov ecx, dword [0x101e44c]
lea edx, [eax + ecx*2 + 0x62]
mov dword [0x101e4a8], edx
jmp 0x101850a
movzx ecx, bl
add ecx, dword [0x101e44c]
lea edx, [eax + ecx + 0x56]
mov dword [0x101e4a8], edx
jmp 0x101850a
movzx ecx, bl
lea edx, [ecx + eax + 0x5d]
jmp 0x1018504
movzx ecx, bl
lea edx, [ecx + eax + 0x60]
mov dword [0x101e44c], edx
call fcn.01001040
movzx ecx, word [0x101e4ac]
mov edx, dword [0x101e4a8]
mov esi, dword [0x101e4a0]
add ecx, edx
lea ebp, [esi + ecx + 0x56]
movzx esi, byte [0x101e461]
mov ecx, dword [0x101e444]
cmp esi, ecx
mov dword [0x101e44c], eax
mov dword [0x101e4a0], ebp
ja 0x101854a
mov byte [0x101e452], dl
movzx edi, byte [0x101e453]
sub ecx, edx
mov esi, 1
add ecx, 0x12068
mov edi, edi
cmp edx, edi
je 0x101856c
add esi, 1
cmp esi, 7
jl 0x1018560
movzx esi, byte [0x101e464]
movzx ebx, byte [0x101e452]
add esi, ebx
cmp esi, 0xec
jne 0x101858a
lea ecx, [edx + edx + 0x60]
jmp 0x101859f
mov bl, byte [0x101e4a4]
sub bl, dl
add bl, 0x68
mov byte [0x101e45e], bl
lea ecx, [ecx + edx*2 + 0x56]
mov dl, cl
add dl, al
add dl, 2
mov dword [0x101e448], ecx
sub ecx, ebp
mov byte [0x101e4a4], dl
mov edx, 1
add ecx, 0x12068
mov dword [0x1079ebc], edx
mov dword [0x101e4a8], ecx
jmp 0x10185d0
cmp ebp, edi
je 0x10185dc
add edx, 1
cmp edx, 7
jl 0x10185d0
push eax
mov dword [0x1079ebc], edx
call fcn.01013570
mov dword [0x101e444], eax
mov eax, dword [0x101e4a8]
imul eax, ebp
sub eax, dword [0x101e44c]
add esp, 4
cmp dword [esp + 0x30], 8
mov dword [0x101e4a8], eax
jb 0x1018617
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.010033b8
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xba4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8c]
xor ecx, esp
call fcn.01002b86
add esp, 0xb9c
ret 0xc