Function at 0x1000d9de
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080900
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000dff9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x44], 0xbb086619
push 1
lea ecx, [ebp - 0xd0]
call fcn.10011da1
and dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
jmp 0x1000da47
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1000da63
push dword [ebp - 0x34]
lea ecx, [ebp - 0xd0]
call fcn.10011e0e
mov dword [eax], 1
jmp 0x1000da40
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1000da77
push 1
call fcn.1000cea8
pop ecx
mov dword [ebp - 0x10], 0
jmp 0x1000da87
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffff3
jne 0x1000dd7b
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x38], 0
jne 0x1000daae
mov dword [ebp - 0x78], 1
jmp 0x1000dab2
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x44], 1
jge 0x1000dac1
mov dword [ebp - 0x54], 1
jmp 0x1000dac5
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x10]
jle 0x1000dca4
mov dword [ebp - 0x20], 0x3418
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x20]
je 0x1000dbe1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x30], eax
je 0x1000dafb
mov dword [ebp - 0x94], 1
jmp 0x1000db02
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x30]
imul ecx, eax
mov dword [ebp - 0xb0], ecx
push 0
lea ecx, [ebp - 0xd0]
call fcn.10011e0e
mov ecx, dword [ebp - 0xb0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x20], 0xffffffff
ja 0x1000db44
mov dword [ebp - 0x5c], 1
jmp 0x1000db48
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0xffff
jbe 0x1000db5d
mov dword [ebp - 0x9c], 1
jmp 0x1000db64
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0xc906
jg 0x1000db79
mov dword [ebp - 0x64], 1
jmp 0x1000db7d
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0x46153b72
jl 0x1000db92
mov dword [ebp - 0xa4], 1
jmp 0x1000db99
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x38]
jl 0x1000dbb3
mov dword [ebp - 0xd4], 1
jmp 0x1000dbba
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xf0], eax
push 0
lea ecx, [ebp - 0xd0]
call fcn.10011e0e
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jle 0x1000dbe1
mov dword [ebp - 0x6c], 1
jmp 0x1000dbe5
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 8
ja 0x1000dbf7
mov dword [ebp - 0xac], 1
jmp 0x1000dbfe
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xac], eax
jle 0x1000dc15
mov dword [ebp - 0x90], 1
jmp 0x1000dc1c
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x90]
je 0x1000dc62
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x1000dc4c
push 0x4e19
push 0x651
push 0x3d9e
push 1
call fcn.1000cefa
add esp, 0x10
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x1000dc60
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
jmp 0x1000dc7f
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x1000dc7f
push 0
push 0xda4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000dc9f
push 0x5a7d
push 1
push 0x7fda
call fcn.1000d846
add esp, 0xc
jmp 0x1000dd76
mov dword [ebp - 0xe4], 4
mov dword [ebp - 0xe0], 4
mov dword [ebp - 0xdc], 4
mov dword [ebp - 0xd8], 4
mov dword [ebp - 0x4c], 0xedb9cc51
mov dword [ebp - 0x98], 8
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1000dcf7
push 0x58af
push 1
call fcn.1000d88c
pop ecx
pop ecx
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xe4]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x4c], 0xcc425f8e
cmp dword [ebp - 0x4c], 0xfc5a51f
jl 0x1000dd29
cmp dword [ebp - 0x44], 0
jne 0x1000dd29
and dword [ebp - 0xa0], 0
jmp 0x1000dd33
mov dword [ebp - 0xa0], 1
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xe4]
cmp dword [ebp - 0xa0], eax
jle 0x1000dd51
mov dword [ebp - 0x80], 1
jmp 0x1000dd55
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
mov esi, dword [ebp - 0x30]
add esi, dword [ebp - 0x98]
push 0
lea ecx, [ebp - 0xd0]
call fcn.10011e0e
mov dword [eax], esi
jmp 0x1000da80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.10011e09
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 4]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x40], 0xaef6
mov dword [ebp - 0x3c], 0xfffffffe
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x74], 0xbc657e3b
mov dword [ebp - 0x2c], 0
jmp 0x1000ddbf
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1000ddd5
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x118], 0x3d3b0cf5
jmp 0x1000ddb8
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
call fcn.1000d8cc
pop ecx
xor eax, eax
jne 0x1000de40
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x40], eax
jle 0x1000ddfb
mov dword [ebp - 0x88], 1
jmp 0x1000de02
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
add eax, 0x23570131
mov dword [ebp - 0x3c], eax
jne 0x1000de21
cmp dword [ebp - 0x3c], 0
jne 0x1000de21
and dword [ebp - 0xa8], 0
jmp 0x1000de2b
mov dword [ebp - 0xa8], 1
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x1000de40
and dword [ebp - 0x70], 0
jmp 0x1000de47
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffff
jae 0x1000de5f
mov dword [ebp - 0x7c], 1
jmp 0x1000de63
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x7c], eax
je 0x1000de7e
xor eax, eax
jne 0x1000de7e
cmp dword [ebp - 0x48], 0
jne 0x1000de7e
and dword [ebp - 0x84], 0
jmp 0x1000de88
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x84]
sub eax, 0x39a879c9
jne 0x1000dea1
mov dword [ebp - 0x8c], 1
jmp 0x1000dea8
and dword [ebp - 0x8c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x118], ecx
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
push 8
pop ecx
imul ecx, ecx, 5
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x28], 0
jmp 0x1000dee4
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffffb
je 0x1000df21
mov dword [ebp - 0xbc], 0xbacd7953
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1000df14
push 0x1b5b
push 0x4192
push 1
call fcn.1000d8ef
add esp, 0xc
cmp dword [ebp - 0xbc], 0
je 0x1000df1f
jmp 0x1000df21
jmp 0x1000dedd
mov eax, dword [ebp - 0x58]
cmp dword [eax + 4], 0
jbe 0x1000dff7
mov dword [ebp - 0x108], 0xfffffff7
mov dword [ebp - 0x10c], 0xfffffffb
push 4
lea ecx, [ebp - 0x100]
call fcn.10011da1
mov dword [ebp - 4], 1
push 0x52f9
lea eax, [ebp - 0x100]
push eax
push 0xb58
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.1000d958
add esp, 0x14
mov dword [ebp - 0x1c], 0
jmp 0x1000df85
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1000df9b
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xec], 0x6d2e
jmp 0x1000df7e
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xec]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xec], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.10011e09
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x68]
add ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
cmp dword [eax], 0
jbe 0x1000dff7
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push dword [ebp - 0xc0]
push 0x3519
call fcn.1000e8c2
add esp, 0x14
jmp 0x1000dfd0
jmp 0x1000e053
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
jmp 0x1000e036
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 2
jge 0x1000e053
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, dword [ebp - 0xc4]
call fcn.10011e0e
or dword [eax], 0xffffffff
jmp 0x1000e02b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret