Function at 0x1003fa4d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070299
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003fb29
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x1003fabf
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x1003fabd
push 0
push 0x1e8a
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1003fb24
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0xffffffed
jmp 0x1003faed
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], 0x11
jne 0x1003fb24
mov dword [ebp - 0x14], 0xedbda7fe
mov dword [ebp - 0x14], 0
jmp 0x1003fb0c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1003fb22
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
call fcn.1000f48a
and dword [eax], 0
jmp 0x1003fb05
jmp 0x1003fae2
jmp 0x1003fc30
mov dword [ebp - 0x10], 0x5020f89b
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x60], 0xa23e86f8
mov dword [ebp - 0x5c], 0xa23e86f8
mov dword [ebp - 0x58], 0xa23e86f8
mov dword [ebp - 0x54], 0xa23e86f8
lea ecx, [ebp - 0x21]
call fcn.1000f499
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x84]
call fcn.1000f49c
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x6c]
call fcn.1000f45f
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
jmp 0x1003fb90
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1003fba3
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x7c], 0x5f70
jmp 0x1003fb89
mov dword [ebp - 0x10], 0
jmp 0x1003fbb3
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1003fc02
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x20], 0
jmp 0x1003fbd7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1003fbed
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x90], 0x77c8748a
jmp 0x1003fbd0
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x7c], 0
je 0x1003fbf9
jmp 0x1003fc02
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
jmp 0x1003fbac
push 0
lea ecx, [ebp - 0x6c]
call fcn.1000f48a
mov esi, dword [eax]
neg esi
push 3
lea ecx, [ebp - 0x6c]
call fcn.1000f48a
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.1000f485
push 0
call fcn.1002820e
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret