Function at 0x10036b72
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005af30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xfc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x10036c6c
lea eax, [ebp + 0x34]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x10036c2d
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10036c14
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 5
je 0x10036c2b
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10036c09
jmp 0x10036c67
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x9c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10036ffd
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
movzx eax, byte [eax]
test eax, eax
je 0x10036efd
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x54], 0x56d2
mov dword [ebp - 0x78], 0x1000a720
cmp dword [ebp - 0x54], 0x5820
jle 0x10036dce
and dword [ebp - 0x24], 0
jmp 0x10036d56
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7961
jge 0x10036dbd
and dword [ebp - 0x1c], 0
jmp 0x10036d6c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5575
jge 0x10036dbb
and dword [ebp - 0x20], 0
jmp 0x10036d82
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x48ee
jge 0x10036db9
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
mov ecx, 0x10602dd8
call fcn.1000fdea
jmp 0x10036d7b
jmp 0x10036d65
jmp 0x10036d4f
push 0
push 0xcfd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x54], 0x5688
jge 0x10036dee
mov edx, dword [ebp - 0x78]
mov ecx, 0x10602dd8
call fcn.10012a98
jmp 0x10036e0a
or dword [ebp - 4], 0xffffffff
jmp 0x10036e14
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0
jne 0x10036e5c
mov eax, 0x54bd
test eax, eax
jne 0x10036e5c
and dword [ebp - 0x30], 0
jmp 0x10036e63
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
push 0
mov ecx, dword [ebp - 0xa0]
call fcn.100101dd
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x28]
jl 0x10036e99
mov dword [ebp - 0x44], 1
jmp 0x10036e9d
and dword [ebp - 0x44], 0
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.100101dd
mov eax, dword [eax]
imul eax, dword [ebp - 0x44]
cmp eax, 3
jne 0x10036ebb
mov dword [ebp - 0x64], 1
jmp 0x10036ebf
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff6
mov dword [ebp - 0x34], eax
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.100101dd
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
cmp dword [ebp - 0x34], 0xfffe
jbe 0x10036ee9
mov dword [ebp - 0x38], 1
jmp 0x10036eed
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x10036ffd
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
neg eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], eax
jle 0x10036f6e
mov dword [ebp - 0x40], 1
jmp 0x10036f72
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jne 0x10036f85
mov dword [ebp - 0x50], 1
jmp 0x10036f89
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
cmp dword [ebp - 0x50], eax
jl 0x10036f9c
mov dword [ebp - 0x58], 1
jmp 0x10036fa0
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x58]
jge 0x10036fb3
mov dword [ebp - 0x60], 1
jmp 0x10036fb7
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
neg eax
cmp eax, dword [ebp - 0x60]
jge 0x10036fcc
mov dword [ebp - 0x2c], 1
jmp 0x10036fd0
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
je 0x10036fee
mov dword [ebp - 0x68], 1
jmp 0x10036ff2
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret