Function at 0x1113b660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118c6fc
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x111ec774]
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 ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov eax, ecx
shr eax, 3
xor edx, edx
and eax, 1
test esi, esi
setne dl
test edx, edx
je 0x1113b6b2
shr ecx, 7
and ecx, 1
or eax, ecx
cmp eax, edx
jne 0x1113b6bd
mov eax, esi
jmp 0x1113ba5a
test eax, eax
je 0x1113b9d9
push 0x111bc560
call fcn.11147060
mov eax, dword [0x111f1a14]
mov ecx, eax
inc eax
add esp, 4
mov dword [0x111f1a14], eax
test ecx, ecx
jne 0x1113b712
mov esi, dword [sym.imp.uSEr32.dll_SystemParametersInfoA]
push ecx
push 0x111f1a18
push ecx
push 0x10
call esi
cmp dword [0x111f1a18], 0
je 0x1113b707
push 0
push 0
push 0
push 0x11
call esi
or esi, 0xffffffff
mov dword [0x111ee1d0], esi
jmp 0x1113b715
or esi, 0xffffffff
cmp dword [0x111ee1c4], 0
je 0x1113b72c
push 7
mov ecx, edi
call fcn.1103a130
jmp 0x1113ba58
mov ebx, dword [ebp + 0x10]
test bl, 4
je 0x1113b775
call fcn.11143a20
cmp eax, 0x37
jne 0x1113b747
and ebx, 0xfffffffb
or ebx, 0x4000
test bl, 4
je 0x1113b775
cmp dword [0x111ee1d0], esi
jne 0x1113b7e4
mov ecx, dword [edi + 0xc]
push 0
push 0
push 0x1119f94c
push 0x111a0f40
call fcn.1105e820
mov dword [0x111ee1d0], eax
jmp 0x1113b7e4
test bl, 8
je 0x1113b7a3
cmp dword [0x111ee1d0], esi
jne 0x1113b79d
mov ecx, dword [edi + 0xc]
push 0
push 0
push 0x1119f94c
push 0x111a0f40
call fcn.1105e820
mov dword [0x111ee1d0], eax
push 0
push 1
jmp 0x1113b7d2
test ebx, 0x4000
je 0x1113b7e4
cmp dword [0x111ee1d0], esi
jne 0x1113b7ce
mov ecx, dword [edi + 0xc]
push 0
push 0
push 0x1119f94c
push 0x111a0f40
call fcn.1105e820
mov dword [0x111ee1d0], eax
push 0
push 2
mov ecx, dword [edi + 0xc]
push 0x1119f94c
push 0x111a0f40
call fcn.1105e950
test ebx, 0x8000
je 0x1113b987
push 2
push 1
push 0x111b7050
push 0x111a1030
mov ecx, 0x111ee0d0
call fcn.11027f40
push 2
push 1
push 0x111b714c
push 0x111a1030
mov ecx, 0x111ee0d0
call fcn.11027f40
push 2
push 1
push 0x111b70b0
push 0x111a1030
mov ecx, 0x111ee0d0
call fcn.11027f40
mov ecx, dword [0x111ee100]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 0
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x111b7044
push 0x111a0fec
call edx
cmp byte [ebp - 0x114], 0
jne 0x1113b901
mov ecx, dword [0x111ee308]
mov eax, dword [ecx]
mov edx, dword [eax + 0x120]
call edx
mov ecx, dword [0x111ee308]
mov esi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
push 0
push esi
call edx
lea eax, [ebp - 0x114]
push eax
push 0
push esi
push 0x10
push 0
call dword [sym.imp.sHFOlDer.dLl_SHGetFolderPathA]
test eax, eax
je 0x1113b8e2
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KeRneL32.DLl_GetWindowsDirectoryA]
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1113b8c0
mov edx, dword [0x111bc554]
mov ecx, dword [0x111bc558]
mov dword [eax], edx
mov dl, byte [0x111bc55c]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
mov ecx, dword [0x111ee308]
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
push 0
push 0
call edx
test esi, esi
je 0x1113b901
push esi
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
push 2
lea eax, [ebp - 0x114]
push eax
push 0x111b7044
push 0x111a1030
mov ecx, 0x111ee0d0
call fcn.11027f80
push 4
call fcn.111101b0
mov esi, eax
add esp, 4
mov dword [ebp - 0x118], esi
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, eax
je 0x1113b970
push fcn.110d6c20
push 0x1112fe10
push 0x111a1030
push 0x111ee170
mov ecx, edi
call fcn.11064cf0
mov ecx, dword [0x111ee134]
mov edx, dword [0x111ee0f0]
push eax
mov eax, dword [0x111ee100]
push ecx
push edx
push eax
mov ecx, esi
call fcn.1110f2d0
mov ecx, dword [0x111ee100]
push ecx
mov ecx, dword [edi + 0x30]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.111176f0
mov ecx, dword [0x111ee308]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
push 0
call eax
mov esi, 1
cmp dword [0x111f1a14], esi
jne 0x1113b9b0
mov ecx, dword [0x111ee308]
push esi
push esi
call fcn.11104110
push 0x1c
call fcn.111101b0
add esp, 4
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x1113ba58
push ebx
push edi
mov ecx, eax
call fcn.1113ae10
jmp 0x1113ba5a
push 0x111bc544
call fcn.11147060
mov ecx, dword [0x111ee100]
add esp, 4
push ecx
mov ecx, dword [edi + 0x30]
push 0
call fcn.111176f0
test esi, esi
je 0x1113ba0b
mov ecx, esi
call fcn.11137380
push esi
call fcn.11162777
add esp, 4
mov eax, dword [0x111ee1d0]
cmp eax, 0xffffffff
je 0x1113ba2a
mov ecx, dword [edi + 0xc]
push 0
push eax
push 0x1119f94c
push 0x111a0f40
call fcn.1105e950
dec dword [0x111f1a14]
jne 0x1113ba58
cmp dword [0x111f1a18], 0
je 0x1113ba49
push 0
push 0
push 1
push 0x11
call dword [sym.imp.uSEr32.dll_SystemParametersInfoA]
mov ecx, dword [0x111ee308]
push 1
push 0
call fcn.11104110
xor eax, eax
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.11162bb7
mov esp, ebp
pop ebp
ret