Function at 0x110f5590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11189c08
mov eax, dword fs:[0]
push eax
sub esp, 0x270
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 esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x11195fc4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x234], ebx
call dword [sym.imp.KeRneL32.DLl_LoadLibraryA]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
push 0x111a55c0
push eax
mov dword [ebp - 4], 1
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [ebp - 0x240], eax
cmp eax, ebx
je 0x110f566d
lea ecx, [ebp - 0x230]
push ecx
call eax
jmp 0x110f5675
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
mov ecx, dword [ebp - 0x21c]
call fcn.110d1930
push 0x103
lea edx, [ebp - 0x217]
push ebx
push edx
mov dword [ebp - 0x234], 1
mov byte [ebp - 0x218], bl
call fcn.11162be0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KeRneL32.DLl_GetSystemDirectoryA]
cmp dword [0x111ee0e0], 0x120003
jl 0x110f57e3
push 0x103
lea ecx, [ebp - 0x113]
push ebx
push ecx
mov byte [ebp - 0x114], bl
call fcn.11162be0
push edi
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x114]
push 0x111b3188
push eax
call dword [sym.imp.uSEr32.dll_wsprintfA]
add esp, 0x1c
lea ecx, [ebp - 0x114]
push ecx
mov ecx, esi
call fcn.110f5450
test eax, eax
je 0x110f571a
lea edx, [ebp - 0x114]
push edx
jmp 0x110f5819
lea eax, [ebp - 0x22c]
push eax
mov ecx, esi
call fcn.110f54c0
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 2
call eax
test al, al
jne 0x110f5757
push 0x252
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
cmp dword [ebp - 0x224], ebx
je 0x110f57d2
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
lea ecx, [ebp - 0x22c]
call eax
test al, al
jne 0x110f578a
push 0x250
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
mov ecx, dword [ebp - 0x220]
push edi
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x114]
push 0x111b3168
push eax
call dword [sym.imp.uSEr32.dll_wsprintfA]
add esp, 0x14
lea ecx, [ebp - 0x114]
push ecx
mov ecx, esi
call fcn.110f5450
test eax, eax
je 0x110f57d2
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x114]
push edx
call fcn.110d16d0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.110d0a10
jmp 0x110f5824
push edi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x114]
push 0x1119aa48
push ecx
call dword [sym.imp.uSEr32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x114]
push edx
mov ecx, esi
call fcn.110f5450
test eax, eax
je 0x110f5824
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x21c]
call fcn.110d16d0
mov edi, dword [ebp - 0x27c]
mov esi, dword [ebp - 0x230]
push 0x111a55e0
push edi
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [ebp - 0x23c], eax
cmp eax, ebx
je 0x110f584b
push esi
call eax
jmp 0x110f5853
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
cmp edi, ebx
je 0x110f585e
push edi
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
mov eax, dword [ebp - 0x21c]
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 8