Function at 0x100b9c89
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100456b2
mov eax, dword fs:[0]
push eax
mov eax, 0x1030
call fcn.10041b70
mov eax, dword [0x100e3998]
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 0x100b9d02
mov edi, ecx
jmp 0x100b9d27
lea edi, [ebx + 0x294]
push eax
mov ecx, edi
call fcn.10050839
test eax, eax
je 0x100b9e30
test byte [ebx + 0x298], 4
je 0x100b9d25
mov edi, dword [edi]
jmp 0x100b9d27
xor edi, edi
test edi, edi
je 0x100b9e30
push 7
push 0x100267ac
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x100b9d65
push 8
push 0x100267bc
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x100b9d65
mov dword [ebp - 0x102c], 1
jmp 0x100b9d6c
and dword [ebp - 0x102c], 0
lea eax, [ebx + 0x78]
mov esi, dword [eax]
lea ecx, [ebp - 0x1028]
push ecx
push 0x10008490
push eax
mov ecx, dword [esi + 0x10]
call dword [0x100e52dc]
call dword [esi + 0x10]
test byte [ebx + 0x8c], 3
je 0x100b9d9c
cmp dword [ebx + 0x88], 0
je 0x100b9dd1
mov edx, dword [ebx + 0x88]
test edx, edx
je 0x100b9e30
mov ecx, edi
call fcn.100db981
test eax, eax
jns 0x100b9e30
push dword [ebp - 0x102c]
mov edx, dword [ebx + 0x88]
mov ecx, dword [ebp - 0x1028]
call fcn.100dbae2
pop ecx
test eax, eax
je 0x100b9e30
test byte [0x100e4068], 2
mov edi, 0x800a0e84
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x5bb
cmp eax, 0xffffffff
je 0x100b9e13
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x100267d0
push 0x16ec09
jmp 0x100ba4a7
push 0x10026830
push 0x16ec09
push dword [0x100e7114]
call fcn.100d931d
add esp, 0x10
jmp 0x100ba4b5
lea ecx, [ebp - 0x101c]
call fcn.100a2b77
mov edi, eax
test edi, edi
jns 0x100b9e9c
test byte [0x100e4068], 2
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x5c0
push edi
cmp eax, 0xffffffff
je 0x100b9e8d
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x170009
push dword [0x100e7114]
call fcn.100d931d
add esp, 0x18
jmp 0x100ba4b5
push 0x10026908
push 0x170009
jmp 0x100ba4a7
mov ecx, dword [ebp - 0x101c]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100e52dc]
call esi
lea edi, [ebx + 0x294]
xor esi, esi
push esi
mov ecx, edi
call fcn.10050839
mov ecx, eax
mov eax, dword [ebp - 0x1020]
test eax, eax
je 0x100ba051
test ecx, ecx
je 0x100b9f93
test byte [edi + 4], 4
je 0x100b9ee4
mov ecx, dword [edi]
jmp 0x100b9ee6
mov ecx, esi
push ecx
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100b9f8d
test byte [edi + 4], 4
je 0x100b9f02
mov eax, dword [edi]
jmp 0x100b9f04
mov eax, esi
lea ecx, [ebp - 0x1024]
push ecx
push eax
call fcn.100dd9b8
mov edi, eax
test edi, edi
jns 0x100b9f64
test byte [0x100e4068], 2
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x5d6
push edi
cmp eax, 0xffffffff
je 0x100b9f55
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x175809
jmp 0x100b9e7a
push 0x10026908
push 0x175809
jmp 0x100ba4a7
lea eax, [ebx + 0x294]
cmp dword [ebp - 0x1024], esi
je 0x100ba133
test byte [eax + 4], 4
je 0x100b9f89
mov eax, dword [eax]
mov dword [ebp - 0x1020], eax
jmp 0x100ba0cf
mov eax, esi
jmp 0x100b9f7e
mov eax, dword [ebp - 0x1020]
lea ecx, [ebp - 0x1024]
push ecx
push eax
call fcn.100dd9b8
mov edi, eax
test edi, edi
jns 0x100b9ff3
test byte [0x100e4068], 2
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x5cd
push edi
cmp eax, 0xffffffff
je 0x100b9fe4
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x173409
jmp 0x100b9e7a
push 0x10026908
push 0x173409
jmp 0x100ba4a7
cmp dword [ebp - 0x1024], esi
jne 0x100ba0c9
test byte [0x100e4068], 2
mov edi, 0x80030050
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x5d1
push edi
cmp eax, 0xffffffff
je 0x100ba042
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x174409
jmp 0x100b9e7a
push 0x10026908
push 0x174409
jmp 0x100ba4a7
test ecx, ecx
je 0x100ba45e
test byte [edi + 4], 4
je 0x100ba063
mov eax, dword [edi]
jmp 0x100ba065
mov eax, esi
lea ecx, [ebp - 0x1024]
push ecx
push eax
call fcn.100dd9b8
mov edi, eax
test edi, edi
jns 0x100b9f64
test byte [0x100e4068], 2
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x5e7
push edi
cmp eax, 0xffffffff
je 0x100ba0ba
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x179c09
jmp 0x100b9e7a
push 0x10026908
push 0x179c09
jmp 0x100ba4a7
mov eax, dword [ebp - 0x1020]
push ecx
mov ecx, dword [ebp - 0x101c]
push eax
call fcn.100ddced
mov edi, eax
test edi, edi
jns 0x100ba315
test byte [0x100e4068], 2
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x60e
push edi
cmp eax, 0xffffffff
je 0x100ba124
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x183809
jmp 0x100b9e7a
push 0x10026908
push 0x183809
jmp 0x100ba4a7
test byte [eax + 4], 4
je 0x100ba13d
mov eax, dword [eax]
jmp 0x100ba13f
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 0x100ba1b2
test byte [0x100e4068], 2
mov esi, 0x800a0bba
mov edi, esi
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x5fe
push esi
cmp eax, 0xffffffff
je 0x100ba1a3
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x17f809
jmp 0x100b9e7a
push 0x10026908
push 0x17f809
jmp 0x100ba4a7
test eax, eax
jne 0x100ba20a
test byte [0x100e4068], 2
mov esi, 0x800a0bba
mov edi, esi
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x600
push esi
cmp eax, 0xffffffff
je 0x100ba1fb
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x180009
jmp 0x100b9e7a
push 0x10026908
push 0x180009
jmp 0x100ba4a7
mov eax, dword [ebp - 0x1030]
lea ecx, [ebp - 0x814]
cmp eax, ecx
jbe 0x100ba40d
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x100ba408
xor ecx, ecx
mov word [ebp + eax - 0x814], cx
lea eax, [ebp - 0x1014]
push eax
push esi
push 0x1002697c
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x100ba2a8
test byte [0x100e4068], 2
mov edi, 0x80030103
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x609
push edi
cmp eax, 0xffffffff
je 0x100ba299
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x182409
jmp 0x100b9e7a
push 0x10026908
push 0x182409
jmp 0x100ba4a7
push ecx
mov ecx, dword [ebp - 0x101c]
lea eax, [ebp - 0x1014]
push eax
call fcn.100ddced
mov edi, eax
test edi, edi
jns 0x100ba30e
test byte [0x100e4068], 2
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x60b
push edi
cmp eax, 0xffffffff
je 0x100ba2ff
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x182c09
jmp 0x100b9e7a
push 0x10026908
push 0x182c09
jmp 0x100ba4a7
mov byte [ebp - 0x1015], 1
mov ecx, dword [ebp - 0x101c]
call fcn.100dda64
test al, al
jne 0x100ba376
test byte [0x100e4068], 2
mov edi, 0x800a0c93
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x613
push edi
cmp eax, 0xffffffff
je 0x100ba367
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x184c09
jmp 0x100b9e7a
push 0x10026908
push 0x184c09
jmp 0x100ba4a7
push ecx
push dword [ebp - 0x1034]
mov ecx, ebx
push dword [ebp - 0x101c]
call fcn.100ba514
mov edi, eax
test edi, edi
js 0x100ba3d1
cmp byte [ebp - 0x1015], 0
je 0x100ba4b5
mov ecx, dword [ebp - 0x101c]
call fcn.100dd7ae
test byte [ebx + 0x298], 4
je 0x100ba3b7
mov esi, dword [ebx + 0x294]
mov ecx, dword [ebp - 0x101c]
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.100dda8e
mov edi, eax
jmp 0x100ba4b5
mov ebx, dword [ebp - 0x101c]
mov ecx, ebx
call fcn.100dd7ae
cmp byte [ebp - 0x1015], 0
je 0x100ba3fa
lea eax, [ebp - 0x1014]
mov ecx, ebx
push eax
call fcn.100dd94d
jmp 0x100ba4b5
push dword [ebp - 0x1020]
mov ecx, dword [ebp - 0x101c]
jmp 0x100ba3f0
call fcn.10041317
test byte [0x100e4068], 2
mov esi, 0x800a0bba
mov edi, esi
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x604
push esi
cmp eax, 0xffffffff
je 0x100ba452
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x181009
jmp 0x100b9e7a
push 0x10026908
push 0x181009
jmp 0x100ba4a7
test byte [0x100e4068], 2
mov edi, 0x800300fc
je 0x100ba4b5
lea ecx, [ebx + 0x338]
call fcn.10050714
push 0x5ec
push edi
cmp eax, 0xffffffff
je 0x100ba49d
lea ecx, [ebx + 0x338]
call fcn.10050714
push eax
push 0x10026888
push 0x17b009
jmp 0x100b9e7a
push 0x10026908
push 0x17b009
push dword [0x100e7114]
call fcn.100d931d
add esp, 0x14
mov ecx, dword [ebp - 0x1028]
test ecx, ecx
je 0x100ba4cf
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov ecx, dword [ebp - 0x101c]
test ecx, ecx
je 0x100ba4e9
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
lea ecx, [ebp - 0x1038]
call fcn.10051527
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.10040f40
mov esp, ebp
pop ebp
ret 0xc