Function at 0x10011356
Capabilities:
Get common file path

Disassembly:
mov eax, 0x181c
call fcn.10035280
mov eax, dword [0x10088374]
xor eax, esp
mov dword [esp + 0x1818], eax
mov ecx, dword [esp + 0x1828]
xor eax, eax
and dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x1824]
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x18], ecx
xor esi, esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
push edi
mov edi, dword [esp + 0x1834]
test ecx, ecx
je 0x100113c2
push ebx
call sym.glib_lite.dll_Ordinal_290
pop ecx
test eax, eax
jne 0x100113c2
push eax
push ebx
push dword [esp + 0x24]
call fcn.10027c0f
mov ebp, eax
add esp, 0xc
mov ebx, ebp
push ebx
call sym.glib_lite.dll_Ordinal_290
pop ecx
test eax, eax
jne 0x100113ef
push 0x5c
push dword [esp + 0x18]
call sub.vcruntime140.dll_strchr
pop ecx
pop ecx
test eax, eax
jne 0x100113ef
push 0x2f
push dword [esp + 0x18]
call sub.vcruntime140.dll_strchr
pop ecx
pop ecx
test eax, eax
je 0x1001146b
push 8
push ebx
call sym.glib_lite.dll_Ordinal_115
pop ecx
pop ecx
test eax, eax
je 0x1001144a
push 4
push ebx
call sym.glib_lite.dll_Ordinal_115
pop ecx
pop ecx
test eax, eax
jne 0x1001144a
push ebx
call sym.glib_lite.dll_Ordinal_290
pop ecx
test eax, eax
je 0x10011421
push ebx
call sym.glib_lite.dll_Ordinal_386
pop ecx
mov edi, eax
jmp 0x1001143c
call sym.glib_lite.dll_Ordinal_123
push 0
mov esi, eax
push ebx
push esi
call fcn.10027c0f
push esi
mov edi, eax
call sym.glib_lite.dll_Ordinal_121
add esp, 0x10
push ebp
call sym.glib_lite.dll_Ordinal_121
pop ecx
mov eax, edi
jmp 0x100116ca
mov eax, ebp
test ebp, ebp
je 0x10011459
push eax
xor ebp, ebp
call sym.glib_lite.dll_Ordinal_121
pop ecx
push dword [esp + 0x14]
call sym.glib_lite.dll_Ordinal_290
pop ecx
test eax, eax
jne 0x100116c8
test edi, edi
jne 0x100115ce
push str.PATH
call sym.glib_lite.dll_Ordinal_130
mov ebx, eax
mov dword [esp], 0x400
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
dec eax
cmp eax, 0x3fe
ja 0x100114ae
push edi
push edi
push edi
lea eax, [esp + 0x34]
push 0xffffffffffffffff
push eax
call sym.glib_lite.dll_Ordinal_480
add esp, 0x14
mov esi, eax
push 0x400
lea eax, [esp + 0x82c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x3fe
ja 0x100114e2
push edi
push edi
push edi
lea eax, [esp + 0x834]
push 0xffffffffffffffff
push eax
call sym.glib_lite.dll_Ordinal_480
add esp, 0x14
mov dword [esp + 0x10], eax
push 0x400
lea eax, [esp + 0x102c]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x3fe
ja 0x10011516
push edi
push edi
push edi
lea eax, [esp + 0x1034]
push 0xffffffffffffffff
push eax
call sym.glib_lite.dll_Ordinal_480
add esp, 0x14
mov edi, eax
jmp 0x1001151a
mov edi, dword [esp + 0x20]
test esi, esi
je 0x10011530
push esi
call fcn.10027c0f
push esi
mov dword [esp + 0x20], eax
call sym.glib_lite.dll_Ordinal_121
pop ecx
pop ecx
push ebx
call sym.glib_lite.dll_Ordinal_386
mov ebx, eax
pop ecx
test edi, edi
je 0x1001155e
push 0
push ebx
push 0x10037778
push edi
mov esi, ebx
call sym.glib_lite.dll_Ordinal_384
push esi
mov ebx, eax
call sym.glib_lite.dll_Ordinal_121
push edi
call sym.glib_lite.dll_Ordinal_121
add esp, 0x18
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10011587
push 0
push ebx
push 0x10037778
push edi
mov esi, ebx
call sym.glib_lite.dll_Ordinal_384
push esi
mov ebx, eax
call sym.glib_lite.dll_Ordinal_121
push edi
call sym.glib_lite.dll_Ordinal_121
add esp, 0x18
push 0
push ebx
push 0x1003a034
call sym.glib_lite.dll_Ordinal_384
push ebx
mov edi, eax
call sym.glib_lite.dll_Ordinal_121
mov ebx, dword [esp + 0x28]
add esp, 0x10
test ebx, ebx
je 0x100115c8
push 0
push edi
push 0x10037778
push ebx
mov esi, edi
call sym.glib_lite.dll_Ordinal_384
push esi
mov edi, eax
call sym.glib_lite.dll_Ordinal_121
push ebx
call sym.glib_lite.dll_Ordinal_121
add esp, 0x18
mov dword [esp + 0x10], edi
jmp 0x100115d9
push edi
call sym.glib_lite.dll_Ordinal_386
pop ecx
mov dword [esp + 0x10], eax
push dword [esp + 0x14]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
push edi
lea esi, [eax + 1]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ebx, eax
lea ecx, [esi + 1]
add ecx, ebx
push ecx
call sym.glib_lite.dll_Ordinal_214
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x100116c8
add ebx, eax
push esi
push dword [esp + 0x18]
mov dword [esp + 0x28], ebx
lea eax, [ebx + 1]
push eax
mov dword [esp + 0x30], eax
call sub.vcruntime140.dll_memcpy
add esp, 0xc
mov byte [ebx], 0x5c
mov al, byte [edi]
xor ebx, ebx
mov esi, edi
test al, al
je 0x10011657
cmp al, 0x3b
je 0x1001163a
inc esi
mov al, byte [esi]
test al, al
jne 0x1001162f
cmp esi, edi
je 0x10011657
mov eax, esi
sub eax, edi
push eax
push edi
sub edi, esi
add edi, dword [esp + 0x28]
push edi
call sub.vcruntime140.dll_memcpy
add esp, 0xc
mov edi, eax
jmp 0x1001165b
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x1c], ebx
je 0x1001167e
push edi
call sym.glib_lite.dll_Ordinal_290
pop ecx
test eax, eax
jne 0x1001167e
push eax
push edi
push dword [esp + 0x24]
call fcn.10027c0f
mov ebx, eax
add esp, 0xc
mov edi, ebx
push 8
push edi
call sym.glib_lite.dll_Ordinal_115
pop ecx
pop ecx
test eax, eax
je 0x1001169a
push 4
push edi
call sym.glib_lite.dll_Ordinal_115
pop ecx
pop ecx
test eax, eax
je 0x100116e3
push ebx
call sym.glib_lite.dll_Ordinal_121
cmp byte [esi], 0
lea edi, [esi + 1]
pop ecx
jne 0x10011625
push ebp
call sym.glib_lite.dll_Ordinal_121
push dword [esp + 0x1c]
call sym.glib_lite.dll_Ordinal_121
push dword [esp + 0x18]
call sym.glib_lite.dll_Ordinal_121
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x1828]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10034eb7
add esp, 0x181c
ret
push edi
call sym.glib_lite.dll_Ordinal_290
pop ecx
test eax, eax
je 0x100116f9
push edi
call sym.glib_lite.dll_Ordinal_386
pop ecx
mov edi, eax
jmp 0x10011714
call sym.glib_lite.dll_Ordinal_123
push 0
mov esi, eax
push edi
push esi
call fcn.10027c0f
push esi
mov edi, eax
call sym.glib_lite.dll_Ordinal_121
add esp, 0x10
push ebp
call sym.glib_lite.dll_Ordinal_121
push ebx
call sym.glib_lite.dll_Ordinal_121
push dword [esp + 0x20]
call sym.glib_lite.dll_Ordinal_121
push dword [esp + 0x1c]
call sym.glib_lite.dll_Ordinal_121
add esp, 0x10
jmp 0x10011443