Function at 0x40e158
Capabilities:
Get common file path

Disassembly:
push 0x374
mov eax, 0x455460
call fcn.0043d514
mov ebx, edx
mov edi, ecx
and dword [ebp - 0x220], 0
xor eax, eax
mov esi, str.TrayDebugMode
push esi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0043aa35
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.0040b068
xor esi, esi
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x290]
mov dword [ebp - 4], esi
call fcn.0040d77e
push esi
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00401385
mov edx, 0x45fe24
lea ecx, [ebp - 0x290]
call fcn.0040cb78
test al, al
je 0x40e523
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], esi
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
jne 0x40e216
mov eax, esi
jmp 0x40e223
lea eax, [ebp - 0x218]
push eax
call fcn.0043aa35
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0040b068
mov esi, str.Tray.log
push esi
mov byte [ebp - 4], 3
call fcn.0043aa35
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00405038
sub esp, 0xc
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x380]
call fcn.0040e6a8
lea eax, [ebp - 0x2a4]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push dword [ebp - 0x2a4]
lea ecx, [ebp - 0x380]
call fcn.0040e551
mov edx, 0x45f72c
mov ecx, eax
call fcn.0040c94c
mov esi, eax
push 0x30
mov ecx, dword [esi]
pop eax
mov ecx, dword [ecx + 4]
add ecx, esi
mov word [ecx + 0x40], ax
push dword [ebp - 0x2a2]
lea eax, [ebp - 0x2d8]
push ecx
push 0
push 2
push eax
call fcn.00425900
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0040f335
pop ecx
mov ecx, eax
call fcn.0040e551
mov edx, 0x45fe48
mov ecx, eax
call fcn.004049a4
mov esi, eax
push 0x30
mov ecx, dword [esi]
pop eax
mov ecx, dword [ecx + 4]
add ecx, esi
mov word [ecx + 0x40], ax
push dword [ebp - 0x29e]
lea eax, [ebp - 0x2c8]
push ecx
push 0
push 2
push eax
call fcn.00425900
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0040f335
pop ecx
mov ecx, eax
call fcn.0040e551
mov edx, 0x45fe50
mov ecx, eax
call fcn.004049a4
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
push 0x30
pop eax
add ecx, esi
mov word [ecx + 0x40], ax
push dword [ebp - 0x29c]
lea eax, [ebp - 0x2b8]
push ecx
push 0
push 2
push eax
call fcn.00425900
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0040f335
pop ecx
mov ecx, eax
call fcn.0040e551
mov edx, 0x45fe4c
mov ecx, eax
call fcn.004049a4
mov esi, eax
push 0x30
mov ecx, dword [esi]
pop eax
mov ecx, dword [ecx + 4]
add ecx, esi
mov word [ecx + 0x40], ax
push dword [ebp - 0x29a]
lea eax, [ebp - 0x258]
push ecx
push 0
push 2
push eax
call fcn.00425900
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0040f335
pop ecx
mov ecx, eax
call fcn.0040e551
mov edx, 0x45fe4c
mov ecx, eax
call fcn.004049a4
mov esi, eax
push 0x30
mov ecx, dword [esi]
pop eax
mov ecx, dword [ecx + 4]
add ecx, esi
mov word [ecx + 0x40], ax
push dword [ebp - 0x298]
lea eax, [ebp - 0x270]
push ecx
push 0
push 2
push eax
call fcn.00425900
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0040f335
pop ecx
mov ecx, eax
call fcn.0040e551
mov edx, 0x45fe48
mov ecx, eax
call fcn.004049a4
mov esi, eax
push 0x30
mov ecx, dword [esi]
pop eax
mov ecx, dword [ecx + 4]
add ecx, esi
mov word [ecx + 0x40], ax
push dword [ebp - 0x296]
push ecx
push 0
push 3
lea eax, [ebp - 0x228]
push eax
call fcn.00425900
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0040f335
pop ecx
mov ecx, eax
call fcn.0040e551
mov esi, 0x45fe40
mov edx, esi
mov ecx, eax
call fcn.004049a4
push 0x45fe54
mov edx, edi
lea ecx, [ebp - 0x260]
call fcn.0040f357
pop ecx
push 5
push 0
lea ecx, [ebp - 0x278]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040c704
mov edx, eax
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 6
call fcn.00404821
mov edx, esi
mov ecx, eax
call fcn.004049a4
mov edx, ebx
mov ecx, eax
call fcn.00404821
push eax
call fcn.0040fa9c
pop ecx
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x278]
call fcn.00401385
push esi
push 1
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 4
call fcn.00401385
lea ecx, [ebp - 0x37c]
call fcn.0040f0a1
test eax, eax
jne 0x40e4ef
mov eax, dword [ebp - 0x380]
lea ecx, [ebp - 0x380]
mov eax, dword [eax + 4]
add ecx, eax
push esi
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], esi
cmove edx, eax
push edx
call fcn.0040ac63
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 3
call fcn.0040e74a
lea eax, [ebp - 0x320]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00424d61
pop ecx
push esi
push 1
lea ecx, [ebp - 0x248]
call fcn.00401385
push esi
push 1
lea ecx, [ebp - 0x290]
call fcn.00401385
call fcn.0043d4c3
ret