Function at 0x100b7169
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10045d63
mov eax, dword fs:[0]
push eax
mov eax, 0x1030
call fcn.10042560
mov eax, dword [0x100e4a78]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1034], eax
xor eax, eax
mov dword [ebp - 0x1020], ecx
mov dword [ebp - 0x1038], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1030], eax
mov dword [ebp - 0x101c], eax
mov dword [ebp - 0x1024], eax
mov byte [ebp - 0x1015], al
mov dword [ebp - 0x1028], eax
test ecx, ecx
je 0x100b71e2
mov edi, ecx
jmp 0x100b7204
lea edi, [ebx + 0x294]
push eax
mov ecx, edi
call fcn.1005b2b2
test eax, eax
je 0x100b730d
test byte [edi + 4], 4
je 0x100b7202
mov edi, dword [edi]
jmp 0x100b7204
xor edi, edi
test edi, edi
je 0x100b730d
push 7
push 0x10026b74
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x100b7242
push 8
push 0x10026b84
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x100b7242
mov dword [ebp - 0x102c], 1
jmp 0x100b7249
and dword [ebp - 0x102c], 0
lea eax, [ebx + 0x78]
mov esi, dword [eax]
lea ecx, [ebp - 0x1028]
push ecx
push 0x10008600
push eax
mov ecx, dword [esi + 0x10]
call dword [0x100e6364]
call dword [esi + 0x10]
test byte [ebx + 0x8c], 3
je 0x100b7279
cmp dword [ebx + 0x88], 0
je 0x100b72ae
mov edx, dword [ebx + 0x88]
test edx, edx
je 0x100b730d
mov ecx, edi
call fcn.100db0b3
test eax, eax
jns 0x100b730d
push dword [ebp - 0x102c]
mov edx, dword [ebx + 0x88]
mov ecx, dword [ebp - 0x1028]
call fcn.100db212
pop ecx
test eax, eax
je 0x100b730d
test byte [0x100e5114], 2
mov edi, 0x800a0e84
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x5b9
cmp eax, 0xffffffff
je 0x100b72f0
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026b98
push 0x16e409
jmp 0x100b7985
push 0x10026bf8
push 0x16e409
push dword [0x100e8114]
call fcn.100d5b23
add esp, 0x10
jmp 0x100b7993
lea ecx, [ebp - 0x101c]
call fcn.100a04d7
mov edi, eax
test edi, edi
jns 0x100b7379
test byte [0x100e5114], 2
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x5be
push edi
cmp eax, 0xffffffff
je 0x100b736a
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x16f809
push dword [0x100e8114]
call fcn.100d5b23
add esp, 0x18
jmp 0x100b7993
push 0x10026cd0
push 0x16f809
jmp 0x100b7985
mov ecx, dword [ebp - 0x101c]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100e6364]
call esi
lea edi, [ebx + 0x294]
xor esi, esi
mov ecx, edi
push esi
call fcn.1005b2b2
cmp dword [ebp - 0x1020], esi
je 0x100b752e
test eax, eax
je 0x100b746b
test byte [edi + 4], 4
je 0x100b73bd
mov eax, dword [edi]
jmp 0x100b73bf
mov eax, esi
push eax
push dword [ebp - 0x1020]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100b746b
test byte [edi + 4], 4
je 0x100b73e0
mov eax, dword [edi]
jmp 0x100b73e2
mov eax, esi
lea ecx, [ebp - 0x1024]
push ecx
push eax
call fcn.100deca0
mov edi, eax
test edi, edi
jns 0x100b7442
test byte [0x100e5114], 2
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x5d4
push edi
cmp eax, 0xffffffff
je 0x100b7433
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x175009
jmp 0x100b7357
push 0x10026cd0
push 0x175009
jmp 0x100b7985
lea eax, [ebx + 0x294]
cmp dword [ebp - 0x1024], esi
je 0x100b7610
test byte [eax + 4], 4
je 0x100b7467
mov eax, dword [eax]
mov dword [ebp - 0x1020], eax
jmp 0x100b75ac
mov eax, esi
jmp 0x100b745c
lea eax, [ebp - 0x1024]
push eax
push dword [ebp - 0x1020]
call fcn.100deca0
mov edi, eax
test edi, edi
jns 0x100b74d0
test byte [0x100e5114], 2
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x5cb
push edi
cmp eax, 0xffffffff
je 0x100b74c1
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x172c09
jmp 0x100b7357
push 0x10026cd0
push 0x172c09
jmp 0x100b7985
cmp dword [ebp - 0x1024], esi
jne 0x100b75a6
test byte [0x100e5114], 2
mov edi, 0x80030050
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x5cf
push edi
cmp eax, 0xffffffff
je 0x100b751f
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x173c09
jmp 0x100b7357
push 0x10026cd0
push 0x173c09
jmp 0x100b7985
test eax, eax
je 0x100b793c
test byte [edi + 4], 4
je 0x100b7540
mov eax, dword [edi]
jmp 0x100b7542
mov eax, esi
lea ecx, [ebp - 0x1024]
push ecx
push eax
call fcn.100deca0
mov edi, eax
test edi, edi
jns 0x100b7442
test byte [0x100e5114], 2
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x5e5
push edi
cmp eax, 0xffffffff
je 0x100b7597
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x179409
jmp 0x100b7357
push 0x10026cd0
push 0x179409
jmp 0x100b7985
mov eax, dword [ebp - 0x1020]
push ecx
mov ecx, dword [ebp - 0x101c]
push eax
call fcn.100defdd
mov edi, eax
test edi, edi
jns 0x100b77f2
test byte [0x100e5114], 2
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x60c
push edi
cmp eax, 0xffffffff
je 0x100b7601
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x183009
jmp 0x100b7357
push 0x10026cd0
push 0x183009
jmp 0x100b7985
test byte [eax + 4], 4
je 0x100b761a
mov eax, dword [eax]
jmp 0x100b761c
mov eax, esi
lea ecx, [ebp - 0x1030]
mov edi, 0x3f4
push ecx
lea ecx, [ebp - 0x814]
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp eax, edi
jb 0x100b768f
test byte [0x100e5114], 2
mov esi, 0x800a0bba
mov edi, esi
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x5fc
push esi
cmp eax, 0xffffffff
je 0x100b7680
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x17f009
jmp 0x100b7357
push 0x10026cd0
push 0x17f009
jmp 0x100b7985
test eax, eax
jne 0x100b76e7
test byte [0x100e5114], 2
mov esi, 0x800a0bba
mov edi, esi
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x5fe
push esi
cmp eax, 0xffffffff
je 0x100b76d8
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x17f809
jmp 0x100b7357
push 0x10026cd0
push 0x17f809
jmp 0x100b7985
mov eax, dword [ebp - 0x1030]
lea ecx, [ebp - 0x814]
cmp eax, ecx
jbe 0x100b78eb
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x100b78e6
xor ecx, ecx
mov word [ebp + eax - 0x814], cx
lea eax, [ebp - 0x1014]
push eax
push esi
push 0x10026d44
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x100b7785
test byte [0x100e5114], 2
mov edi, 0x80030103
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x607
push edi
cmp eax, 0xffffffff
je 0x100b7776
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x181c09
jmp 0x100b7357
push 0x10026cd0
push 0x181c09
jmp 0x100b7985
push ecx
mov ecx, dword [ebp - 0x101c]
lea eax, [ebp - 0x1014]
push eax
call fcn.100defdd
mov edi, eax
test edi, edi
jns 0x100b77eb
test byte [0x100e5114], 2
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x609
push edi
cmp eax, 0xffffffff
je 0x100b77dc
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x182409
jmp 0x100b7357
push 0x10026cd0
push 0x182409
jmp 0x100b7985
mov byte [ebp - 0x1015], 1
mov ecx, dword [ebp - 0x101c]
call fcn.100ded54
test al, al
jne 0x100b7853
test byte [0x100e5114], 2
mov edi, 0x800a0c93
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x611
push edi
cmp eax, 0xffffffff
je 0x100b7844
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x184409
jmp 0x100b7357
push 0x10026cd0
push 0x184409
jmp 0x100b7985
push 3
push dword [ebp - 0x1034]
mov ecx, ebx
push dword [ebp - 0x101c]
call fcn.100b79f0
mov edi, eax
test edi, edi
js 0x100b78af
cmp byte [ebp - 0x1015], 0
je 0x100b7993
mov ecx, dword [ebp - 0x101c]
call fcn.100deaad
test byte [ebx + 0x298], 4
je 0x100b7895
mov esi, dword [ebx + 0x294]
mov ecx, dword [ebp - 0x101c]
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.100ded7e
mov edi, eax
jmp 0x100b7993
mov ebx, dword [ebp - 0x101c]
mov ecx, ebx
call fcn.100deaad
cmp byte [ebp - 0x1015], 0
je 0x100b78d8
lea eax, [ebp - 0x1014]
mov ecx, ebx
push eax
call fcn.100dec37
jmp 0x100b7993
push dword [ebp - 0x1020]
mov ecx, dword [ebp - 0x101c]
jmp 0x100b78ce
call fcn.10041949
test byte [0x100e5114], 2
mov esi, 0x800a0bba
mov edi, esi
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x602
push esi
cmp eax, 0xffffffff
je 0x100b7930
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x180809
jmp 0x100b7357
push 0x10026cd0
push 0x180809
jmp 0x100b7985
test byte [0x100e5114], 2
mov edi, 0x800300fc
je 0x100b7993
lea ecx, [ebx + 0x338]
call fcn.1005a518
push 0x5ea
push edi
cmp eax, 0xffffffff
je 0x100b797b
lea ecx, [ebx + 0x338]
call fcn.1005a518
push eax
push 0x10026c50
push 0x17a809
jmp 0x100b7357
push 0x10026cd0
push 0x17a809
push dword [0x100e8114]
call fcn.100d5b23
add esp, 0x14
mov ecx, dword [ebp - 0x1028]
test ecx, ecx
je 0x100b79ad
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
mov ecx, dword [ebp - 0x101c]
test ecx, ecx
je 0x100b79c7
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
lea ecx, [ebp - 0x1038]
call fcn.1005028e
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10041550
leave
ret 0xc