Function at 0x1003fe08
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063e9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004012f
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], 0x5749
mov dword [ebp - 0xa4], 0x1000adc4
cmp dword [ebp - 0x40], 0x581c
jle 0x1003ff0c
and dword [ebp - 0x1c], 0
jmp 0x1003fe6a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4270
jge 0x1003fefb
and dword [ebp - 0x24], 0
jmp 0x1003fe84
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xd2b
jge 0x1003fef6
and dword [ebp - 0x20], 0
jmp 0x1003fe9a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xdd9
jge 0x1003fef4
and dword [ebp - 0x18], 0
jmp 0x1003feb0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1d62
jge 0x1003fef2
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
sar edx, cl
mov ecx, eax
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
mov ecx, 0x1060ba78
call fcn.1001133e
jmp 0x1003fea9
jmp 0x1003fe93
jmp 0x1003fe7d
jmp 0x1003fe63
push 0
push 0x1c1d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x8c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x56e7
jge 0x1003ff32
mov edx, dword [ebp - 0xa4]
mov ecx, 0x1060ba78
call fcn.10013c65
jmp 0x1003ff4e
or dword [ebp - 4], 0xffffffff
jmp 0x1003ff58
lea eax, [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x100400ca
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
je 0x100400a6
push 0
mov ecx, dword [ebp - 0x28]
call fcn.10011607
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10011607
cmp dword [eax], 0x2885
jle 0x10040053
mov dword [ebp - 0x38], 1
jmp 0x10040057
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + eax - 0xfce8]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jne 0x1004008c
mov eax, 0xc0fa
test eax, eax
jne 0x1004008c
and dword [ebp - 0x34], 0
jmp 0x10040093
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jl 0x100400a6
mov dword [ebp - 0x3c], 1
jmp 0x100400aa
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10011607
mov eax, dword [eax]
sub eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [ebp - 0x80]
mov dword [eax], ecx
jmp 0x1004012d
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1004010d
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], 2
jge 0x1004012d
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0xa8]
call fcn.10011607
mov dword [eax], 0xee24b2e8
jmp 0x10040102
jmp 0x10040147
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb0], eax
push 1
push dword [ebp - 0xb0]
call fcn.1002356c
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret