Function at 0x1002dc58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068041
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], 0x75bd
mov dword [ebp - 0x78], 0x1000a0d8
cmp dword [ebp - 0x3c], 0x77c9
jle 0x1002dd38
push 0
push 0x148f
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
and dword [ebp - 0x34], 0
jmp 0x1002dcb2
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x3b78
jge 0x1002dd38
and dword [ebp - 0x30], 0
jmp 0x1002dcc8
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x23de
jge 0x1002dd33
and dword [ebp - 0x28], 0
jmp 0x1002dcde
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x305e
jge 0x1002dd31
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
shl eax, cl
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
lea ecx, [ebp - 0xac]
call fcn.1000de7e
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.10013118
push eax
call fcn.100520df
pop ecx
lea ecx, [ebp - 0xac]
call fcn.1001310e
jmp 0x1002dcd7
jmp 0x1002dcc1
jmp 0x1002dcab
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002de67
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x1002de17
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x14
jmp 0x1002ddbc
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0xfffffff9
jg 0x1002de15
mov eax, dword [ebp - 0x20]
mov dword [eax], 0x1b
jmp 0x1002ddda
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0xfffffff4
jge 0x1002de13
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002de00
push 0
push 0xaa3
push 0x135d
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 1
mov ecx, dword [ebp - 0x64]
call fcn.10013401
cmp dword [eax], 0
je 0x1002de11
jmp 0x1002ddcf
jmp 0x1002ddcf
jmp 0x1002ddb1
jmp 0x1002de62
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1002de45
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], 3
jge 0x1002de62
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.10013401
mov dword [eax], 0xfffffffd
jmp 0x1002de3a
jmp 0x1002df35
mov dword [ebp - 0x38], 0x6df8
mov dword [ebp - 0x60], 0x1000a130
cmp dword [ebp - 0x38], 0x7098
jle 0x1002ded9
and dword [ebp - 0x24], 0
jmp 0x1002de8b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6868
jge 0x1002ded9
and dword [ebp - 0x2c], 0
jmp 0x1002dea1
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6448
jge 0x1002ded7
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
sar eax, cl
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
mov ecx, 0x10611478
call fcn.10013138
jmp 0x1002de9a
jmp 0x1002de84
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0x6cc6
jge 0x1002def9
mov edx, dword [ebp - 0x60]
mov ecx, 0x10611478
call fcn.10015a5f
jmp 0x1002df15
or dword [ebp - 4], 0xffffffff
jmp 0x1002df1f
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
push dword [ebp - 0x68]
push dword [ebp - 0x70]
push 1
call fcn.10023e03
add esp, 0xc
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x757f
jge 0x1002df4e
push dword [ebp - 0x78]
call fcn.100520df
pop ecx
jmp 0x1002df6a
or dword [ebp - 4], 0xffffffff
jmp 0x1002df74
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret