Function at 0x1000fb70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026688
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x100370a0]
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
mov esi, ecx
xor ebx, ebx
push 0x104
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x438], 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]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x430], edi
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], ebx
test ecx, 0xffff0000
jne 0x1000fc1f
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.10003db0
add esp, 4
test eax, eax
je 0x1000fc5a
push eax
mov eax, ebx
lea edi, [ebp - 0x430]
call fcn.10003970
jmp 0x1000fc54
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
jmp 0x1000fc30
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000fc30
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x430]
push edx
mov ebx, eax
call fcn.10003680
mov edi, dword [ebp - 0x430]
mov ebx, 1
mov dword [ebp - 4], ebx
mov eax, dword [edi - 0xc]
test eax, eax
js 0x1000fc8a
lea eax, [ebp - 0x420]
push eax
push edi
call fcn.10014266
add esp, 8
test eax, eax
je 0x1000fc8a
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x1000fe14
push 0x5311
call fcn.1000eac0
lea ecx, [ebp - 0x424]
push ecx
mov ecx, eax
call fcn.10003060
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x424]
mov edi, dword [esi]
test ecx, ecx
je 0x1000fcfe
mov eax, dword [edi + 0xa8]
cmp dword [eax - 0xc], 0
jl 0x1000fcfe
push ecx
push eax
call fcn.10014266
add esp, 8
test eax, eax
je 0x1000fcfe
sub eax, dword [edi + 0xa8]
sar eax, 1
cmp eax, 0xffffffff
je 0x1000fcfe
mov eax, dword [esi]
mov eax, dword [eax + 0xa8]
sub eax, 0x10
call fcn.10003730
add eax, 0x10
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 3
jmp 0x1000fd28
mov ebx, dword [esi]
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0x42c]
add ebx, 0xa8
push eax
call fcn.100032a0
add esp, 8
mov dword [ebp - 4], 4
mov ebx, 2
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp - 0x438], ebx
call fcn.10003730
lea edi, [eax + 0x10]
mov dword [ebp - 0x428], edi
mov dword [ebp - 4], 6
test bl, 2
je 0x1000fd78
mov eax, dword [ebp - 0x42c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x438], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000fd78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
test bl, 1
je 0x1000fda3
mov eax, dword [ebp - 0x43c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000fda3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
or ecx, eax
jge 0x1000fdc5
xor eax, eax
lea ecx, [ebp - 0x428]
call fcn.10004100
mov edi, dword [ebp - 0x428]
push edi
call fcn.10012830
add edi, 0xfffffff0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000fdee
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000fe14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x400
push 0
push 0x10039e20
mov dword [ebp - 0x428], 0x53cd
call fcn.100157f0
add esp, 0xc
lea eax, [ebp - 0x428]
call fcn.1000eb80
mov edi, dword [eax + 4]
lea eax, [ebp - 0x428]
call fcn.1000eb80
mov eax, dword [eax]
push 0x10039e20
push edi
push eax
call fcn.10005710
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x424], eax
mov ecx, 0x10039e20
mov byte [ebp - 4], 8
test ecx, 0xffff0000
jne 0x1000fea5
mov edx, ecx
movzx edi, dx
push edi
call fcn.10003db0
add esp, 4
test eax, eax
je 0x1000feb5
push eax
mov eax, edi
lea edi, [ebp - 0x424]
call fcn.10003970
jmp 0x1000feb5
mov ebx, 0x10039e20
lea eax, [ebp - 0x424]
call fcn.10003450
push ecx
mov byte [ebp - 4], 9
mov ebx, dword [esi]
mov eax, esp
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x42c], esp
push ecx
add ebx, 0x2c
push eax
call fcn.100032a0
add esp, 8
call fcn.1000e670
mov bl, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000ff06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
mov eax, dword [eax + 0x3c]
push ecx
sub eax, 0x10
mov dword [ebp - 0x42c], esp
mov edi, esp
call fcn.10003730
add eax, 0x10
mov dword [edi], eax
push 0x53ce
mov byte [ebp - 4], 0xa
call fcn.1000eac0
push ecx
mov ecx, esp
mov dword [ebp - 0x428], esp
push ecx
mov ecx, eax
call fcn.10003060
lea ecx, [esi + 8]
mov edx, 0x80000002
mov byte [ebp - 4], bl
call fcn.1000d040
test al, al
jne 0x1000ff92
mov edx, dword [esi]
push edx
lea edi, [ebp - 0x42c]
call fcn.1000a770
push eax
push esi
mov byte [ebp - 4], 0xb
call fcn.1000f5c0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ff92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, dword [esi]
mov edi, esp
mov dword [ebp - 0x42c], esp
push ecx
call fcn.1000a770
call fcn.10012b20
add esp, 4
test al, al
je 0x10010204
mov edi, dword [esi]
lea edx, [ebp - 0x454]
push edx
call fcn.10007220
lea eax, [ebp - 0x454]
push eax
mov byte [ebp - 4], 0xc
call fcn.10007300
mov edi, dword [ebp - 0x44c]
sub edi, dword [ebp - 0x450]
sar edi, 4
dec edi
js 0x100101b1
mov eax, edi
lea esi, [ebp - 0x424]
lea ecx, [ebp - 0x454]
call fcn.10007b60
mov ecx, esi
mov eax, 0xa
push ecx
lea ecx, [eax - 7]
lea ebx, [ebp - 0x428]
mov byte [ebp - 4], 0xd
call fcn.10004e30
mov esi, eax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x434]
mov edx, dword [edx]
add edx, 0x48
mov eax, 0xa
lea ecx, [ebp - 0x42c]
call fcn.10007bb0
mov byte [ebp - 4], 0xf
mov ecx, dword [esi]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
je 0x10010102
mov eax, dword [eax]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10010076
test dx, dx
je 0x10010072
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10010076
add eax, 4
add ecx, 4
test dx, dx
jne 0x10010050
xor eax, eax
jmp 0x1001007b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x42c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100100a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100100cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x1001010c
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100100f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
dec edi
jns 0x1000ffe7
jmp 0x100101b1
push 0x80004005
call fcn.100040a0
mov esi, dword [ebp - 0x424]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x434], esp
mov ebx, esp
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x10010141
cmp eax, dword [esi - 0x10]
jne 0x10010141
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x1001017a
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x1001015a
call fcn.100040c0
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.100135f1
add esp, 0x10
lea ecx, [ebp - 0x454]
add edi, 0x10
push ecx
mov dword [ebx], edi
call fcn.10007910
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100101b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x454]
push ecx
call fcn.10013fff
mov eax, dword [ebp - 0x450]
xor esi, esi
add esp, 4
cmp eax, esi
je 0x100101f0
mov edx, dword [ebp - 0x434]
mov edi, dword [ebp - 0x44c]
push edx
call fcn.10008410
mov eax, dword [ebp - 0x450]
add esp, 4
push eax
call fcn.1001338b
add esp, 4
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x448], esi
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001022d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
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.10013396
mov esp, ebp
pop ebp
ret