Function at 0x1001dab6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x1001e154
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x114], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x1001de4a
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002b7f6
cmp dword [eax], 0
jne 0x1001dbe7
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002b7f6
cmp dword [eax], 0
jne 0x1001dbe7
and dword [ebp - 0x78], 0
jmp 0x1001dbee
mov dword [ebp - 0x78], 1
push 0
mov ecx, dword [ebp - 0xc]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [eax]
jg 0x1001dc14
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
cmp dword [eax], 0
jne 0x1001dc14
and dword [ebp - 0x68], 0
jmp 0x1001dc1b
mov dword [ebp - 0x68], 1
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
mov eax, dword [eax]
cmp eax, dword [ebp - 0x68]
jl 0x1001dc35
mov dword [ebp - 0x38], 1
jmp 0x1001dc39
and dword [ebp - 0x38], 0
push 0
mov ecx, dword [ebp - 0xc]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax]
je 0x1001dc53
mov dword [ebp - 0x24], 1
jmp 0x1001dc57
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp - 0x24], 0xffffffff
jne 0x1001dc71
mov dword [ebp - 0x90], 1
jmp 0x1001dc78
and dword [ebp - 0x90], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x90]
cmp ecx, dword [eax]
jne 0x1001dc9a
or eax, 0xffffffff
je 0x1001dc9a
mov dword [ebp - 0x40], 1
jmp 0x1001dc9e
and dword [ebp - 0x40], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x40]
imul ecx, dword [eax]
test ecx, ecx
je 0x1001dcdf
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x1001dcdf
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
cmp dword [eax], 0
je 0x1001dcdf
mov dword [ebp - 0x124], 1
jmp 0x1001dce6
and dword [ebp - 0x124], 0
mov eax, 0xa4c6
test eax, eax
jne 0x1001dd05
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x1001dd05
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x1001dd05
and dword [ebp - 0x70], 0
jmp 0x1001dd0c
mov dword [ebp - 0x70], 1
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [eax]
jge 0x1001dd26
mov dword [ebp - 0x48], 1
jmp 0x1001dd2a
and dword [ebp - 0x48], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax]
jg 0x1001dd51
mov dword [ebp - 0x88], 1
jmp 0x1001dd58
and dword [ebp - 0x88], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [eax]
je 0x1001dd7f
mov dword [ebp - 0x50], 1
jmp 0x1001dd83
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
cmp dword [ebp - 0x50], eax
jg 0x1001dd99
mov dword [ebp - 0x2c], 1
jmp 0x1001dd9d
and dword [ebp - 0x2c], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002b7f6
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
jge 0x1001ddc1
mov dword [ebp - 0x58], 1
jmp 0x1001ddc5
and dword [ebp - 0x58], 0
push 0
mov ecx, dword [ebp - 0xc]
call fcn.1002b7f6
mov eax, dword [eax]
cmp eax, dword [ebp - 0x58]
jl 0x1001dde2
mov dword [ebp - 0x98], 1
jmp 0x1001dde9
and dword [ebp - 0x98], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [eax]
jl 0x1001de10
mov dword [ebp - 0x60], 1
jmp 0x1001de14
and dword [ebp - 0x60], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.1002b7f6
mov eax, dword [eax]
sub eax, dword [ebp - 0x60]
add eax, 5
je 0x1001de36
or eax, 0xffffffff
je 0x1001de36
mov dword [ebp - 0x80], 1
jmp 0x1001de3a
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x80]
mov dword [eax], ecx
jmp 0x1001e14f
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc8], eax
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1002b7f6
cmp dword [eax], 0
jne 0x1001def1
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1002b7f6
cmp dword [eax], 0
jne 0x1001def1
and dword [ebp - 0x30], 0
jmp 0x1001def8
mov dword [ebp - 0x30], 1
push 0
mov ecx, dword [ebp - 0x10]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax]
jg 0x1001df1e
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
cmp dword [eax], 0
jne 0x1001df1e
and dword [ebp - 0x34], 0
jmp 0x1001df25
mov dword [ebp - 0x34], 1
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
jl 0x1001df3f
mov dword [ebp - 0x3c], 1
jmp 0x1001df43
and dword [ebp - 0x3c], 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax]
je 0x1001df5d
mov dword [ebp - 0x28], 1
jmp 0x1001df61
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
cmp dword [ebp - 0x28], 0xffffffff
jne 0x1001df78
mov dword [ebp - 0x44], 1
jmp 0x1001df7c
and dword [ebp - 0x44], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jne 0x1001df9b
or eax, 0xffffffff
je 0x1001df9b
mov dword [ebp - 0x4c], 1
jmp 0x1001df9f
and dword [ebp - 0x4c], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x4c]
imul ecx, dword [eax]
test ecx, ecx
je 0x1001dfe0
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x1001dfe0
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
cmp dword [eax], 0
je 0x1001dfe0
mov dword [ebp - 0xc0], 1
jmp 0x1001dfe7
and dword [ebp - 0xc0], 0
mov eax, 0xa4c6
test eax, eax
jne 0x1001e006
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x1001e006
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x1001e006
and dword [ebp - 0x54], 0
jmp 0x1001e00d
mov dword [ebp - 0x54], 1
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [eax]
jge 0x1001e027
mov dword [ebp - 0x5c], 1
jmp 0x1001e02b
and dword [ebp - 0x5c], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [eax]
jg 0x1001e04f
mov dword [ebp - 0x64], 1
jmp 0x1001e053
and dword [ebp - 0x64], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [eax]
je 0x1001e077
mov dword [ebp - 0x6c], 1
jmp 0x1001e07b
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
cmp dword [ebp - 0x6c], eax
jg 0x1001e091
mov dword [ebp - 0x74], 1
jmp 0x1001e095
and dword [ebp - 0x74], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1002b7f6
mov eax, dword [eax]
cmp eax, dword [ebp - 0x74]
jge 0x1001e0b9
mov dword [ebp - 0x7c], 1
jmp 0x1001e0bd
and dword [ebp - 0x7c], 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.1002b7f6
mov eax, dword [eax]
cmp eax, dword [ebp - 0x7c]
jl 0x1001e0da
mov dword [ebp - 0x84], 1
jmp 0x1001e0e1
and dword [ebp - 0x84], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [eax]
jl 0x1001e10b
mov dword [ebp - 0x8c], 1
jmp 0x1001e112
and dword [ebp - 0x8c], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.1002b7f6
mov eax, dword [eax]
sub eax, dword [ebp - 0x8c]
add eax, 5
je 0x1001e13a
or eax, 0xffffffff
je 0x1001e13a
mov dword [ebp - 0x94], 1
jmp 0x1001e141
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
jmp 0x1001e2a1
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xe0], eax
lea eax, [ebp + 0x4c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax]
test eax, eax
je 0x1001e290
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 3
jmp 0x1001e223
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jl 0x1001e28e
mov dword [ebp - 0x140], 0x146bfe21
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1001e24b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 3
jg 0x1001e28c
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x9c]
call fcn.1002b7f6
mov esi, eax
mov eax, dword [ebp - 0x130]
push dword [eax]
mov ecx, dword [ebp - 0x9c]
call fcn.1002b7f6
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [ebp - 0x138]
mov eax, dword [eax]
mov dword [ebp - 0x140], eax
jmp 0x1001e240
jmp 0x1001e218
jmp 0x1001e2a1
push 0
push 0x1cfb
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
pop esi
mov esp, ebp
pop ebp
ret