Function at 0x4000c655
Capabilities:
Get common file path

Disassembly:
mov eax, 0x40070a8a
call fcn.4006f3a0
sub esp, 0x278
mov dword [ebp - 0x38], ecx
mov ecx, dword [0x40097620]
push ebx
push esi
push edi
lea ecx, [ecx - 0x10]
mov dword [ebp - 0x34], edx
call fcn.400073ec
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
and dword [ebp - 4], 0
mov ecx, dword [0x4009767c]
lea ecx, [ecx - 0x10]
call fcn.400073ec
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
cmp dword [ebx - 0xc], 0
je 0x4000c6ae
cmp dword [eax - 0xc], 0
jne 0x4000c72e
push 0x104
lea eax, [ebp - 0x284]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x78]
call fcn.4004d710
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.4004dd60
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.400088ff
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.40004636
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.4004dd90
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.400088ff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.40004636
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.4004d9d0
mov ebx, dword [ebp - 0x20]
mov ecx, dword [0x40097658]
lea ecx, [ecx - 0x10]
call fcn.400073ec
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
cmp dword [esi - 0xc], 0
jne 0x4000c7ca
mov edi, 0x208
lea ecx, [ebp - 0x18]
push edi
call fcn.40006b63
push edi
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.40007032
push 1
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.40006b9b
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], 0
je 0x4000c88c
push esi
lea ecx, [ebp - 0x14]
call fcn.400069d1
push ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.40009edd
push str.FeedbackAgent
lea ecx, [ebp - 0x14]
call fcn.40009edd
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.400088ff
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov esi, dword [ebp - 0x18]
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.40001ce1
push eax
lea ecx, [ebp - 0x14]
call fcn.40006f05
mov byte [ebp - 4], 7
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, word [ebp - 0x28]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push str.FatalError__04d_02d_02d__02d_02d_02d__03d_
push eax
call fcn.40007b5a
mov eax, dword [ebp - 0x34]
add esp, 0x24
test eax, eax
je 0x4000c833
push eax
lea ecx, [ebp - 0x14]
call fcn.4000d55a
push str..txt
lea ecx, [ebp - 0x14]
call fcn.4000d55a
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.400088ff
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
call fcn.40009deb
pop ecx
mov byte [ebp - 4], 8
mov ecx, edi
push dword [eax]
call fcn.40009edd
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ecx, dword [edi]
call fcn.4004cd70
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.40004636
lea ecx, [esi - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.40004636
lea ecx, [ebx - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret