Function at 0x1000aad5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079e97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1000ab1d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
jmp 0x1000af48
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0x8e56f9b2
mov dword [ebp - 0x48], 0x16210b99
mov dword [ebp - 0x1c], 0xf4326038
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0xbff5ecce
mov dword [ebp - 0x28], 0x2ef7e291
mov dword [ebp - 0x20], 1
mov dword [ebp - 0xac], 0xfffffff6
mov dword [ebp - 0x60], 0x160c6370
mov dword [ebp - 0x64], 0x9f13
mov dword [ebp - 0xa4], 9
mov dword [ebp - 0x2c], 0xffffffff
cmp dword [ebp - 0x2c], 1
jne 0x1000abb0
mov dword [ebp - 0x44], 1
jmp 0x1000abb4
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x44], eax
jge 0x1000abc5
mov dword [ebp - 0x74], 1
jmp 0x1000abc9
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
neg eax
cmp eax, dword [ebp - 0x10]
jge 0x1000abdc
mov dword [ebp - 0x4c], 1
jmp 0x1000abe0
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x4c]
je 0x1000abfe
cmp dword [ebp - 0x10], 0
je 0x1000abfe
mov dword [ebp - 0x7c], 1
jmp 0x1000ac02
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0xfb8eb5ea
jne 0x1000ac14
mov dword [ebp - 0x54], 1
jmp 0x1000ac18
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 4
jne 0x1000ac2a
mov dword [ebp - 0x84], 1
jmp 0x1000ac31
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x84], eax
jne 0x1000ac48
mov dword [ebp - 0x9c], 1
jmp 0x1000ac4f
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0x28], 0
je 0x1000ac6d
cmp dword [ebp - 0x28], 0
je 0x1000ac6d
mov dword [ebp - 0x5c], 1
jmp 0x1000ac71
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x5c], eax
jg 0x1000ac7d
cmp dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], eax
jg 0x1000ac9a
mov dword [ebp - 0x8c], 1
jmp 0x1000aca1
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x20]
jne 0x1000acb8
mov dword [ebp - 0x78], 1
jmp 0x1000acbc
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
neg eax
jne 0x1000accf
cmp dword [ebp - 0x20], 0
jne 0x1000accf
and dword [ebp - 0x3c], 0
jmp 0x1000acd6
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x3c], 0xcda6
jg 0x1000aceb
mov dword [ebp - 0x88], 1
jmp 0x1000acf2
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], eax
jl 0x1000ad12
mov dword [ebp - 0x70], 1
jmp 0x1000ad16
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x70]
je 0x1000ad33
mov eax, 0x3bbb
test eax, eax
je 0x1000ad33
mov dword [ebp - 0x80], 1
jmp 0x1000ad37
and dword [ebp - 0x80], 0
imul eax, dword [ebp - 0x80], 0xfffd
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x60]
jge 0x1000ad55
mov dword [ebp - 0xa8], 1
jmp 0x1000ad5c
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x10], eax
jne 0x1000ad7f
mov eax, 0xffff
test eax, eax
je 0x1000ad7f
mov dword [ebp - 0x6c], 1
jmp 0x1000ad83
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x6c], eax
jne 0x1000ad94
mov dword [ebp - 0x40], 1
jmp 0x1000ad98
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x40], eax
je 0x1000ada9
mov dword [ebp - 0x50], 1
jmp 0x1000adad
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x50]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
push 0x6e6f
push 0x6c3d
push 0x29da
push 0
push 0x425c
push 0x50a8
lea eax, [ebp - 0x2c]
push eax
call fcn.1000bdef
add esp, 0x1c
cmp dword [ebp - 0x34], 0
jle 0x1000af48
mov dword [ebp - 0x18], 0x25d1
mov dword [ebp - 0x24], 1
push 3
lea ecx, [ebp - 0xb8]
call fcn.1000a48a
and dword [ebp - 4], 0
push 0x1ee3
push 0x5913
lea eax, [ebp - 0xc0]
push eax
push 0
lea eax, [ebp - 0xb8]
push eax
call fcn.1000bd6e
add esp, 0x14
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
jmp 0x1000ae52
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xe
je 0x1000ae91
mov dword [ebp - 0x24], 0
jmp 0x1000ae68
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x1000ae8f
push 0
push 0x23ab
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xb8]
push eax
push 0x40a5
call fcn.1000af56
add esp, 0x14
jmp 0x1000ae61
jmp 0x1000ae4b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.1000a4e6
push 4
push 0x1000
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x94]
add ecx, dword [eax + 0xc]
push ecx
push 0xa67f
push 0xac3c
call fcn.1001ec97
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov dword [ebp - 0x98], 0xffffffff
xor eax, eax
inc eax
sub eax, dword [ebp - 0x98]
je 0x1000aeff
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1000aefd
push 0
push 0xb81
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1000af1f
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000af1f
push 0
push 0x158c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [ebp - 0x38]
push eax
push 0x151f
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.1000c153
add esp, 0x10
push dword [ebp - 0x34]
push 0
mov eax, dword [ebp - 0x38]
push dword [eax]
call fcn.1001edf9
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret