Function at 0x100b9320
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xc64]
sub esp, 0xc64
push 0xffffffffffffffff
push 0x1019d0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x101ef110]
xor eax, ebp
mov dword [ebp + 0xc60], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc6c]
mov esi, dword [ebp + 0xc70]
mov dword [ebp + 0x1c], eax
cmp dword [eax + 0x10], 0
je 0x100b99f3
cmp dword [esi + 0x40], 0
je 0x100b99f3
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x100b99f3
cmp dword [esi + 0x28], 0
je 0x100b99f3
cmp dword [esi + 0x58], 0
je 0x100b99f3
cmp dword [esi + 0x70], 0
je 0x100b99f3
lea edi, [esi + 0x48]
push 0x101c8f84
push edi
call fcn.10057b80
add esp, 8
test al, al
je 0x100b93d3
push 0x101c1198
push edi
call fcn.10057b80
add esp, 8
test al, al
jne 0x100b99f3
mov edi, dword [ebp - 0x10]
mov edi, dword [edi]
add edi, 4
cmp edi, esi
je 0x100b93f2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100b93e9
mov eax, dword [esi]
push ebx
push eax
mov ecx, edi
call fcn.100054b0
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
cmp ecx, eax
je 0x100b940f
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x100b9406
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.100054b0
lea edx, [esi + 0x30]
lea ecx, [edi + 0x30]
mov dword [ebp - 0x14], edx
cmp ecx, edx
je 0x100b942f
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x100b9426
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.100054b0
lea ecx, [edi + 0x48]
lea ebx, [esi + 0x48]
cmp ecx, ebx
je 0x100b944c
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100b9443
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.100054b0
lea eax, [esi + 0x60]
lea ecx, [edi + 0x60]
cmp ecx, eax
je 0x100b9469
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x100b9460
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.100054b0
lea eax, [esi + 0x78]
lea ecx, [edi + 0x78]
cmp ecx, eax
je 0x100b9486
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x100b947d
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.100054b0
add esi, 0x90
lea ecx, [edi + 0x90]
cmp ecx, esi
je 0x100b94a3
push dword [ebp - 0x14]
push dword [esi + 4]
push dword [esi]
call fcn.100b9b70
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc74]
mov dword [ecx + 0xc4], eax
lea ecx, [ebp]
call fcn.10005340
mov dword [ebp - 4], 0
lea eax, [ebp]
push eax
call fcn.1000e920
add esp, 4
test al, al
jne 0x100b94e2
lea eax, [ebp]
push eax
call fcn.1000f200
add esp, 4
lea eax, [ebp]
push eax
call fcn.1000e920
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test al, al
jne 0x100b9636
mov eax, dword [0x101f3f98]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x18], 0x101f3f98
test eax, eax
je 0x100b951c
push eax
call edi
mov byte [ebp - 4], 1
mov ecx, dword [0x101f02e8]
test ecx, ecx
je 0x100b9542
cmp dword [0x101f02ec], 8
mov eax, 0x101f02d8
cmovae eax, dword [0x101f02d8]
jmp 0x100b9615
push 0x20c
lea eax, [ebp + 0xa54]
push 0
push eax
call fcn.101652e0
add esp, 0xc
lea eax, [ebp + 0xa54]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x100b961f
xor eax, eax
push 0x412
push eax
mov word [ebp + 0xc5e], ax
lea eax, [ebp + 0x434]
push eax
call fcn.101652e0
add esp, 0xc
lea eax, [ebp + 0x434]
push 0x208
push eax
lea eax, [ebp + 0xa54]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x100b95f3
test eax, eax
je 0x100b95f3
add eax, eax
cmp eax, 0x412
jae 0x100b9a18
xor ecx, ecx
mov word [ebp + eax + 0x434], cx
lea ecx, [ebp + 0x434]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100b95e0
lea eax, [ebp + 0x434]
jmp 0x100b9611
lea ecx, [ebp + 0xa54]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100b9600
lea eax, [ebp + 0xa54]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp]
call fcn.100054b0
mov byte [ebp - 4], 0
mov eax, dword [0x101f3f98]
test eax, eax
je 0x100b962f
push eax
call esi
mov dword [ebp + 0x18], 0
lea eax, [ebp]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
add ecx, 0xcc
call fcn.10005200
push str.download
lea ecx, [ebp - 0x2c]
call fcn.100052e0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10011740
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp]
push eax
call fcn.10005270
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x100b96ba
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100b96b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b9a1d
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x100b970b
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100b9701
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b9a22
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp]
push ebx
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x18], 7
push eax
call fcn.10011740
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp]
push eax
call fcn.10005270
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x100b977b
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100b9771
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b9a27
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
lea eax, [ebp]
push eax
mov dword [ebp - 0x48], 7
call fcn.1000e920
add esp, 4
test al, al
jne 0x100b97ab
lea eax, [ebp]
push eax
call fcn.1000f200
add esp, 4
lea eax, [ebp]
push eax
call fcn.1000e920
add esp, 4
test al, al
jne 0x100b98e6
mov eax, dword [0x101f3f98]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x1c], 0x101f3f98
test eax, eax
je 0x100b97d9
push eax
call edi
mov byte [ebp - 4], 5
mov ecx, dword [0x101f02e8]
test ecx, ecx
je 0x100b97ff
cmp dword [0x101f02ec], 8
mov eax, 0x101f02d8
cmovae eax, dword [0x101f02d8]
jmp 0x100b98c5
push 0x20c
lea eax, [ebp + 0x848]
push 0
push eax
call fcn.101652e0
add esp, 0xc
lea eax, [ebp + 0x848]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x100b98cf
xor eax, eax
push 0x412
push eax
mov word [ebp + 0xa52], ax
lea eax, [ebp + 0x20]
push eax
call fcn.101652e0
add esp, 0xc
lea eax, [ebp + 0x20]
push 0x208
push eax
lea eax, [ebp + 0x848]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x100b98a0
test eax, eax
je 0x100b98a0
add eax, eax
cmp eax, 0x412
jae 0x100b9a18
xor ecx, ecx
mov word [ebp + eax + 0x20], cx
lea ecx, [ebp + 0x20]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100b9890
lea eax, [ebp + 0x20]
jmp 0x100b98c1
lea ecx, [ebp + 0x848]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100b98b0
lea eax, [ebp + 0x848]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp]
call fcn.100054b0
mov byte [ebp - 4], 0
mov eax, dword [0x101f3f98]
test eax, eax
je 0x100b98df
push eax
call esi
mov dword [ebp + 0x1c], 0
mov ebx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
mov ecx, dword [ebx]
add ecx, 0xe4
call fcn.10005200
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10011740
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp]
push eax
call fcn.10005270
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x100b9958
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100b994e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b9a2c
push edx
push ecx
call fcn.101614ae
add esp, 8
push 0x10
xor eax, eax
mov dword [ebp - 0x64], 0
push str..NewVersion.data
lea ecx, [ebp]
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.10008550
mov ecx, dword [ebx]
lea eax, [ebp]
push 1
push eax
add ecx, 0xb0
call fcn.1009fb80
mov ecx, dword [ebx]
mov byte [ecx], al
mov eax, dword [ebx]
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x100b99a2
mov byte [eax + 4], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x14]
cmp edx, 8
jb 0x100b99df
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100b99d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b9a31
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc60]
xor ecx, ebp
call fcn.1016100c
lea esp, [ebp + 0xc64]
pop ebp
ret 0xc
call fcn.1016195b
call fcn.10168a09
call fcn.10168a09
call fcn.10168a09
call fcn.10168a09
call fcn.10168a09
int3