Function at 0x1001b006
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001b02d
push 0
push 0x10cd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x1001b2a6
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1001b0bc
mov dword [ebp - 0x40], 1
jmp 0x1001b0c0
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0
jg 0x1001b0cf
mov dword [ebp - 0x58], 1
jmp 0x1001b0d3
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x58]
jne 0x1001b0eb
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1001b0eb
and dword [ebp - 0x6c], 0
jmp 0x1001b0f2
mov dword [ebp - 0x6c], 1
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1001b10b
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1001b10b
mov dword [ebp - 0x4c], 1
jmp 0x1001b10f
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x4c]
jne 0x1001b122
mov dword [ebp - 0x2c], 1
jmp 0x1001b126
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jne 0x1001b139
mov dword [ebp - 0x44], 1
jmp 0x1001b13d
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0x55b6
jne 0x1001b14f
mov dword [ebp - 0x34], 1
jmp 0x1001b153
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [eax]
cmp ecx, 0x6d06
je 0x1001b16c
mov dword [ebp - 0x54], 1
jmp 0x1001b170
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x54], eax
jg 0x1001b183
mov dword [ebp - 0x3c], 1
jmp 0x1001b187
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jl 0x1001b19a
mov dword [ebp - 0x24], 1
jmp 0x1001b19e
and dword [ebp - 0x24], 0
imul eax, dword [ebp - 0x24], 0xfffa
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
je 0x1001b1b5
mov dword [ebp - 0x28], 1
jmp 0x1001b1b9
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jl 0x1001b1cc
mov dword [ebp - 0x74], 1
jmp 0x1001b1d0
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub eax, 0x151ee88f
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
je 0x1001b204
mov dword [ebp - 0x30], 1
jmp 0x1001b208
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0x553a
jne 0x1001b21a
mov dword [ebp - 0x38], 1
jmp 0x1001b21e
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [eax]
je 0x1001b239
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x1001b239
mov dword [ebp - 0x1c], 1
jmp 0x1001b23d
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jle 0x1001b250
mov dword [ebp - 0x48], 1
jmp 0x1001b254
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jg 0x1001b267
mov dword [ebp - 0x50], 1
jmp 0x1001b26b
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x50], eax
jle 0x1001b280
xor eax, eax
inc eax
jne 0x1001b280
and dword [ebp - 0x18], 0
jmp 0x1001b287
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
imul eax, dword [ebp - 0x18], 0xffff
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x8c]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret