Function at 0x1000e650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025ced
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x100365e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x420]
push eax
xor ebx, ebx
push 0x104
mov edi, ecx
mov dword [ebp - 0x42c], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x434]
call fcn.10002700
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 4], ebx
cmp dword [ecx - 0xc], ebx
jl 0x1000e6f2
lea eax, [ebp - 0x420]
push eax
push ecx
call fcn.10013877
add esp, 8
cmp eax, ebx
je 0x1000e6f2
sub eax, dword [ebp - 0x434]
sar eax, 1
cmp eax, 0xffffffff
jne 0x1000e88c
push 0x621d
lea ecx, [edi + 4]
call fcn.1000df60
push eax
lea ecx, [ebp - 0x424]
call fcn.10002700
mov ecx, dword [ebp - 0x424]
mov esi, dword [edi]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1000e76f
mov eax, dword [esi + 0xa8]
cmp dword [eax - 0xc], ebx
jl 0x1000e76f
push ecx
push eax
call fcn.10013877
add esp, 8
cmp eax, ebx
je 0x1000e76f
sub eax, dword [esi + 0xa8]
sar eax, 1
cmp eax, 0xffffffff
je 0x1000e76f
mov eax, dword [edi]
mov eax, dword [eax + 0xa8]
sub eax, 0x10
push eax
call fcn.10001280
add esp, 4
add eax, 0x10
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
mov ebx, 1
jmp 0x1000e79a
mov edx, dword [edi]
lea ecx, [ebp - 0x424]
push ecx
add edx, 0xa8
push edx
lea eax, [ebp - 0x428]
push eax
call fcn.10001c40
add esp, 0xc
mov dword [ebp - 4], 3
mov ebx, 2
mov eax, dword [eax]
sub eax, 0x10
push eax
mov dword [ebp - 0x42c], ebx
call fcn.10001280
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], 5
test bl, 2
je 0x1000e7ee
mov eax, dword [ebp - 0x428]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x42c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e7ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
test bl, 1
je 0x1000e819
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e819
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x1000e83b
push 0
lea ecx, [ebp - 0x430]
call fcn.10001470
mov esi, dword [ebp - 0x430]
push 1
push esi
call fcn.10010dd0
add esi, 0xfffffff0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e866
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e88c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [edi + 4]
push 0x62db
mov ecx, ebx
call fcn.1000df00
mov edx, dword [0x10036554]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x10036554
call eax
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 7
test esi, esi
je 0x1000e8e7
test esi, 0xffff0000
jne 0x1000e8e7
movzx esi, si
push 0
push esi
call fcn.10001090
add esp, 8
test eax, eax
je 0x1000e8f3
push esi
push eax
lea ecx, [ebp - 0x424]
call fcn.10001a30
jmp 0x1000e8f3
push esi
lea ecx, [ebp - 0x424]
call fcn.100017c0
mov eax, dword [edi]
push ecx
mov ecx, esp
mov dword [ebp - 0x428], esp
lea edx, [ebp - 0x424]
push edx
add eax, 0x2c
push eax
push ecx
mov byte [ebp - 4], 8
call fcn.10001c40
add esp, 0xc
call fcn.1000cf50
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e944
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
push ecx
sub eax, 0x10
mov dword [ebp - 0x428], esp
mov esi, esp
push eax
call fcn.10001280
add eax, 0x10
add esp, 4
mov dword [esi], eax
push 0x62dc
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.1000df60
push ecx
mov ecx, esp
mov dword [ebp - 0x430], esp
push eax
call fcn.10002700
push 0x80000002
lea ecx, [edi + 8]
mov byte [ebp - 4], 0
call fcn.1000ba80
test al, al
jne 0x1000e9d7
lea ecx, [ebp - 0x428]
push ecx
mov ecx, dword [edi]
call fcn.10008fb0
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.1000e190
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000e9d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x428], esp
push ecx
mov ecx, dword [edi]
call fcn.10008fb0
call fcn.10011220
add esp, 4
test al, al
je 0x1000eba8
mov edx, dword [edi]
push edx
lea ecx, [ebp - 0x450]
call fcn.10007520
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0xb
call fcn.10006700
lea ecx, [ebp - 0x450]
call fcn.100053d0
dec eax
mov dword [ebp - 0x42c], eax
js 0x1000eb99
jmp 0x1000ea36
mov eax, dword [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x450]
call fcn.10006380
push 0xa
push 3
lea ecx, [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 0xc
call fcn.1000e0d0
mov esi, eax
mov ecx, dword [edi]
push 0xa
lea edx, [ebp - 0x428]
push edx
add ecx, 0x48
mov byte [ebp - 4], 0xd
call fcn.100055b0
mov ecx, dword [esi]
xor edx, edx
test ecx, ecx
setne dl
mov byte [ebp - 4], 0xe
test edx, edx
je 0x1000eb47
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000eab9
test dx, dx
je 0x1000eab5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000eab9
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000ea93
xor eax, eax
jmp 0x1000eabe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [ebp - 0x428]
sete bl
add eax, 0xfffffff0
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000eae9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000eb0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
test bl, bl
jne 0x1000eb51
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000eb39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
dec dword [ebp - 0x42c]
jns 0x1000ea30
jmp 0x1000eb99
push 0x80004005
call fcn.10001000
push ecx
mov dword [ebp - 0x438], esp
mov esi, esp
push eax
call fcn.10001280
add eax, 0x10
add esp, 4
lea ecx, [ebp - 0x450]
mov dword [esi], eax
call fcn.10007030
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000eb99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0
call fcn.10006570
mov eax, dword [ebp - 0x434]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ebd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012e4f
mov esp, ebp
pop ebp
ret 4