Function at 0x100369de
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10036a50
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x10036a34
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10036a32
push 0
push 0xd9b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x10036a4b
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x10036c82
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x74], 0x224d
cmp dword [ebp - 0x74], 0xc45
jge 0x10036b63
lea eax, [ebp - 0x7c]
push eax
push 0x1000b5e8
call fcn.1005821b
pop ecx
pop ecx
lea eax, [ebp - 0xcc]
push eax
push 0x1000b60c
call fcn.1005821b
pop ecx
pop ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
jmp 0x10036a9e
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movsx eax, byte [ebp + eax - 0xcc]
test eax, eax
je 0x10036b58
mov eax, dword [ebp - 4]
movsx eax, byte [ebp + eax - 0xcc]
test eax, eax
je 0x10036ae0
mov eax, dword [ebp - 4]
movsx eax, byte [ebp + eax - 0xcc]
cmp eax, 0x30
jne 0x10036ae0
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x10036ab1
cmp dword [ebp - 8], 1
jle 0x10036b06
and dword [ebp - 0x10], 0
jmp 0x10036af3
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
dec eax
cmp dword [ebp - 0x10], eax
jge 0x10036b06
push 0x30
call fcn.1005b2e4
pop ecx
jmp 0x10036aec
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
movsx eax, byte [ebp + eax - 0xcc]
test eax, eax
je 0x10036b39
mov eax, dword [ebp - 4]
movsx eax, byte [ebp + eax - 0xcc]
cmp eax, 0x31
jne 0x10036b39
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x10036b0a
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 8]
push 0x1000b5e8
call fcn.100585c5
pop ecx
pop ecx
and dword [ebp - 8], 0
jmp 0x10036a97
push 0x1000b1b5
call fcn.10058886
pop ecx
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10036b90
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x10036c82
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x10036bd6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 3
jg 0x10036c82
mov dword [ebp - 0x70], 0xa787d30f
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x24]
call fcn.10013deb
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x10036c08
mov dword [ebp - 0x2c], 1
jmp 0x10036c0c
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0x8f25ce5a
jb 0x10036c1e
mov dword [ebp - 0x20], 1
jmp 0x10036c22
and dword [ebp - 0x20], 0
push 1
mov ecx, dword [ebp - 0x24]
call fcn.10013deb
cmp dword [eax], 0
jne 0x10036c3f
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x10036c3f
and dword [ebp - 0x1c], 0
jmp 0x10036c46
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ecx]
cmp dword [eax], edx
jge 0x10036c5e
mov dword [ebp - 0x28], 1
jmp 0x10036c62
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x28]
jg 0x10036c73
mov dword [ebp - 0x30], 1
jmp 0x10036c77
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x70], eax
jmp 0x10036bcb
mov esp, ebp
pop ebp
ret