Function at 0x405baf
Capabilities:
Get common file path

Disassembly:
push 0x714
mov eax, 0x4897cf
call fcn.00458e5d
mov eax, dword [ebp + 8]
mov edi, ecx
push 0
lea esi, [ebp - 0x47c]
mov dword [ebp - 0x644], eax
call fcn.004265b0
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x464], 0x10
mov eax, dword [ebp - 0x478]
jae 0x405bf0
lea eax, [ebp - 0x478]
push eax
push str.Query_Support_Token__s_
push 0x450
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ebx, 0x800008
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
mov eax, dword [ebp - 0x478]
add esp, 0x10
cmp dword [ebp - 0x464], 0x10
jae 0x405c2a
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x6e8]
push eax
call fcn.00408577
xor ebx, ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x690], ebx
je 0x406052
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x644]
call fcn.00405b01
push ebx
mov edi, eax
lea esi, [ebp - 0x460]
mov byte [ebp - 4], 2
call fcn.004265b0
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x6e0]
mov dword [esp], 0x49c06c
push eax
call fcn.0040b490
push eax
mov ecx, esi
call fcn.0040b5c0
add esp, 0xc
mov esi, eax
call fcn.00407d0f
push ebx
push 1
lea ecx, [ebp - 0x460]
call fcn.0040230d
push ebx
push 1
lea esi, [ebp - 0x444]
mov byte [ebp - 4], 1
call fcn.004019bb
cmp dword [ebp + 0xc], ebx
je 0x405fe6
push 1
lea ecx, [ebp - 0x720]
call fcn.00403ba1
push ebx
mov edi, eax
lea esi, [ebp - 0x704]
mov byte [ebp - 4], 4
call fcn.004265b0
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x6e0]
mov dword [esp], 0x49c070
push eax
call fcn.0040b490
push eax
mov ecx, esi
call fcn.0040b5c0
add esp, 0xc
mov esi, eax
call fcn.00407d0f
push ebx
push 1
lea ecx, [ebp - 0x704]
call fcn.0040230d
push ebx
push 1
lea esi, [ebp - 0x720]
mov byte [ebp - 4], 1
call fcn.004019bb
xor eax, eax
mov word [ebp - 0x658], ax
lea edi, [ebp - 0x656]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x658]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x103
lea eax, [ebp - 0x21f]
push ebx
push eax
mov byte [ebp - 0x220], bl
call fcn.004504c0
movzx eax, word [ebp - 0x64c]
add esp, 0xc
push eax
movzx eax, word [ebp - 0x64e]
push eax
movzx eax, word [ebp - 0x650]
push eax
movzx eax, word [ebp - 0x652]
push eax
movzx eax, word [ebp - 0x656]
push eax
movzx eax, word [ebp - 0x658]
push eax
push str._04d__02d__02d__02d:_02d:_02d
mov edi, 0x104
lea eax, [ebp - 0x220]
push edi
push eax
call fcn.00452d80
add esp, 0x24
lea eax, [ebp - 0x220]
push eax
push ecx
lea eax, [ebp - 0x6e0]
push str.TIME
push eax
call fcn.0040b490
add esp, 0xc
push eax
call fcn.0040b490
pop ecx
pop ecx
mov esi, eax
call fcn.00407d0f
xor eax, eax
push 0x206
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push ebx
push eax
call fcn.004504c0
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], ebx
mov word [ebp - 0x45c], ax
lea eax, [ebp - 0x428]
push eax
mov byte [ebp - 4], 6
call fcn.00450a1d
pop ecx
lea ecx, [ebp - 0x428]
lea esi, [ebp - 0x460]
call fcn.00401b92
mov eax, esi
push eax
lea esi, [ebp - 0x444]
call fcn.004017f2
push 0x49b660
mov eax, esi
push eax
mov byte [ebp - 4], 7
call fcn.00401817
push 0x49b990
mov eax, esi
push eax
call fcn.00401817
lea eax, [ebp - 0x640]
push eax
call fcn.0040321d
or dword [ebp - 0x648], 0xffffffff
lea eax, [ebp - 0x640]
mov dword [ebp - 0x644], eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x42c], 8
mov eax, dword [ebp - 0x440]
jae 0x405ea7
lea eax, [ebp - 0x440]
lea ebx, [ebp - 0x648]
call fcn.0040b342
xor ebx, ebx
test al, al
je 0x405fa4
cmp dword [ebp - 0x5e4], ebx
je 0x405f30
push 0x103
lea eax, [ebp - 0x117]
push ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.004504c0
mov eax, dword [ebp - 0x5f4]
add esp, 0xc
cmp dword [ebp - 0x5e0], 8
jae 0x405ef4
lea eax, [ebp - 0x5f4]
push edi
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00452fe0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push ecx
lea eax, [ebp - 0x6e0]
push str.TASKID
push eax
call fcn.0040b490
add esp, 0xc
push eax
call fcn.0040b490
pop ecx
pop ecx
mov esi, eax
call fcn.00407d0f
cmp dword [ebp - 0x5c8], ebx
je 0x405fa4
push 0x103
lea eax, [ebp - 0x117]
push ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.004504c0
mov eax, dword [ebp - 0x5d8]
add esp, 0xc
cmp dword [ebp - 0x5c4], 8
jae 0x405f68
lea eax, [ebp - 0x5d8]
push edi
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00452fe0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push ecx
lea eax, [ebp - 0x6e0]
push str.DESCRIPTION
push eax
call fcn.0040b490
add esp, 0xc
push eax
call fcn.0040b490
pop ecx
pop ecx
mov esi, eax
call fcn.00407d0f
cmp dword [ebp - 0x648], 0xffffffff
je 0x405fb9
push dword [ebp - 0x648]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [ebp - 0x640]
call fcn.00403ade
push ebx
push 1
lea esi, [ebp - 0x444]
call fcn.004019bb
push ebx
push 1
lea esi, [ebp - 0x460]
mov byte [ebp - 4], 1
call fcn.004019bb
xor ebx, ebx
lea ecx, [ebp - 0x6dc]
call fcn.0040935d
test eax, eax
jne 0x406012
mov eax, dword [ebp - 0x6e8]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0x6e8]
mov eax, dword [ecx + 8]
push ebx
or eax, 2
push eax
call fcn.0040d387
xor esi, esi
inc esi
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], bl
call fcn.00408640
lea eax, [ebp - 0x68c]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0044f0a1
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x47c]
call fcn.0040230d
mov eax, esi
call fcn.00458ee0
ret 8
xor esi, esi
jmp 0x406015