Function at 0x1000ada0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xbcc]
sub esp, 0xc4c
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0xbc8], eax
push ebx
push esi
mov esi, dword [ebp + 0xbd4]
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp + 0x9c0], ax
xor ebx, ebx
lea eax, [ebp + 0x9c2]
push ebx
push eax
mov dword [ebp - 0x80], ecx
call fcn.1001a410
xor eax, eax
push edi
mov word [ebp + 0x7b8], ax
lea eax, [ebp + 0x7ba]
push ebx
push eax
call fcn.1001a410
xor eax, eax
push edi
mov word [ebp + 0x3a8], ax
lea eax, [ebp + 0x3aa]
push ebx
push eax
call fcn.1001a410
xor eax, eax
push edi
mov word [ebp + 0x1a0], ax
lea eax, [ebp + 0x1a2]
push ebx
push eax
call fcn.1001a410
xor eax, eax
push edi
mov word [ebp + 0x5b0], ax
lea eax, [ebp + 0x5b2]
push ebx
push eax
call fcn.1001a410
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], ebx
call fcn.10005001
add esp, 0x40
test eax, eax
jne 0x1000ae57
mov dword [ebp - 0x7c], ebx
cmp esi, ebx
je 0x1000b0f7
mov edi, dword [esi + 8]
lea eax, [edi - 0x4000]
cmp eax, 0xfff
ja 0x1000b0f7
mov eax, dword [esi + 0x874]
mov dword [ebp - 0x70], eax
cmp eax, ebx
je 0x1000b0f7
mov ebx, 0x104
push ebx
lea eax, [ebp + 0x9c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ebx
lea eax, [ebp + 0x5b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
cmp dword [0x100524f0], edi
jne 0x1000af39
push 0x10044d34
lea eax, [ebp + 0x9c0]
push eax
lea eax, [ebp + 0x7b8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0x7b8]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x1000b0e5
push 0x9d7f
lea ecx, [ebp - 0x74]
mov dword [esi + 0x864], 0x75
call fcn.10006c03
push dword [eax]
lea eax, [esi + 0x8d4]
push 0x208
push eax
call fcn.10003a5d
lea ecx, [ebp - 0x74]
call fcn.100053ef
push 0x9d7e
lea ecx, [ebp - 0x74]
call fcn.10006c03
push dword [eax]
lea eax, [esi + 0x898]
push 0x3c
push eax
call fcn.10003a5d
lea ecx, [ebp - 0x74]
jmp 0x1000b0e0
cmp dword [0x100524f4], edi
jne 0x1000b0f7
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x10044d18
lea eax, [ebp + 0x9c0]
push eax
lea eax, [ebp + 0x3a8]
push eax
call ebx
push 0x10044cc8
lea eax, [ebp + 0x5b0]
push eax
lea eax, [ebp + 0x1a0]
push eax
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
lea eax, [ebp + 0x3a8]
push eax
push dword [ebp - 0x70]
call edi
test eax, eax
je 0x1000af9f
lea eax, [ebp + 0x1a0]
push eax
push dword [ebp - 0x70]
call edi
test eax, eax
jne 0x1000b0e5
mov edi, 0x208
push edi
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.1001a410
and dword [ebp - 0x70], 0
and dword [ebp - 0x74], 0
add esp, 0xc
push 0x1004495c
push 0x1005562c
lea eax, [ebp - 0x68]
push eax
call ebx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.1001611b
mov ecx, dword [ebp - 0x80]
add esp, 0xc
mov ebx, 0xf000
push ebx
add ecx, 0x2c8
call fcn.1000233f
mov dword [ebp - 0x78], eax
test eax, eax
je 0x1000b017
mov eax, 0x70006
cmp dword [ebp - 0x70], eax
ja 0x1000b00f
jne 0x1000b017
cmp dword [ebp - 0x74], 0x415
jb 0x1000b017
mov dword [esi + 0x864], ebx
jmp 0x1000b021
mov dword [esi + 0x864], 0x75
push 0x9d81
lea ecx, [ebp - 0x6c]
call fcn.10006c03
push dword [eax]
lea ecx, [esi + 0x8d4]
push edi
push ecx
call fcn.10003a5d
lea ecx, [ebp - 0x6c]
call fcn.100053ef
push 0x9d80
lea ecx, [ebp - 0x6c]
call fcn.10006c03
push dword [eax]
lea eax, [esi + 0x898]
push 0x3c
push eax
call fcn.10003a5d
lea ecx, [ebp - 0x6c]
call fcn.100053ef
cmp dword [ebp - 0x7c], 0x3ec
jb 0x1000b0e5
cmp dword [ebp - 0x78], 0
je 0x1000b0e5
cmp dword [esi + 0x234], 2
lea ecx, [ebp - 0x6c]
jne 0x1000b0c4
push 2
mov dword [esi + 0x864], ebx
call fcn.10006c03
push dword [eax]
mov eax, dword [ebp - 0x78]
push 0x20
add eax, 0x250
push eax
call fcn.10003a5d
lea ecx, [ebp - 0x6c]
call fcn.100053ef
push 0x9d82
lea ecx, [ebp - 0x6c]
call fcn.10006c03
push dword [eax]
lea eax, [esi + 0x8d4]
push edi
jmp 0x1000b0d7
push 3
call fcn.10006c03
push dword [eax]
mov eax, dword [ebp - 0x78]
push 0x20
add eax, 0x250
push eax
call fcn.10003a5d
lea ecx, [ebp - 0x6c]
call fcn.100053ef
cmp dword [esi + 0x868], 1
jne 0x1000b0f7
mov ecx, dword [ebp - 0x80]
push esi
call fcn.10009d26
mov ecx, dword [ebp + 0xbc8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a870
add ebp, 0xbcc
leave
ret 4