Function at 0x418113
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x398
mov eax, 0x64ab74
call fcn.005b47af
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2f0]
mov ebx, dword [ebp + 0xc]
push esi
call fcn.004112d3
and dword [ebp - 4], 0
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x1c]
jne 0x4183b9
lea eax, [ebp - 0x2b4]
push eax
call fcn.004e258e
pop ecx
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00411b9c
push 0x6871fc
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.00411736
lea ecx, [ebp - 0x23c]
call fcn.00409ec4
push 0
push 1
lea ecx, [ebp - 0x254]
call fcn.00409de7
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 5
call fcn.00409ec4
push 0
push 1
lea ecx, [ebp - 0x2b4]
call fcn.00409de7
lea eax, [ebp - 0x290]
push eax
call fcn.00414ebf
pop ecx
lea eax, [ebp - 0x218]
push eax
xor eax, eax
push eax
push eax
push 5
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
and dword [ebp - 0x25c], 0
xor eax, eax
mov esi, str.chistilka___log_
mov dword [ebp - 0x258], 7
push esi
mov word [ebp - 0x26c], ax
call fcn.005ff18e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x26c]
call fcn.0040a315
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00417d55
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x26c]
call fcn.00409de7
xor eax, eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x254]
call fcn.00411307
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0xa
call fcn.0041508b
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 9
call fcn.00409ec4
xor esi, esi
lea ecx, [ebp - 0x254]
push esi
push 1
call fcn.00409de7
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x224]
call fcn.00415114
lea eax, [ebp - 0x2a8]
push eax
call fcn.00414c5a
mov ecx, eax
call fcn.00417e76
push eax
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0xb
call fcn.00411307
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0xc
call fcn.0041508b
lea ecx, [ebp - 0x23c]
call fcn.00409ec4
push esi
push 1
lea ecx, [ebp - 0x254]
call fcn.00409de7
push esi
push 1
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 9
call fcn.00409de7
mov esi, dword [ebp - 0x224]
jmp 0x41834b
push esi
lea ecx, [ebp - 0x254]
call fcn.004112d3
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 0xd
push eax
call fcn.00414c98
pop ecx
test al, al
jne 0x418355
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 9
call fcn.00409ec4
push 0
push 1
lea ecx, [ebp - 0x254]
call fcn.00409de7
add esi, 0x24
cmp esi, dword [ebp - 0x220]
jne 0x418309
jmp 0x418381
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.0041135f
lea ecx, [ebp - 0x23c]
call fcn.00409ec4
push 0
push 1
lea ecx, [ebp - 0x254]
call fcn.00409de7
lea ecx, [ebp - 0x224]
call fcn.00413d13
push 0
push 1
lea ecx, [ebp - 0x2cc]
call fcn.00409de7
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0
call fcn.00409ec4
push 0
push 1
lea ecx, [ebp - 0x290]
call fcn.00409de7
cmp dword [ebx + 0x10], 0
jne 0x418623
push 0
call fcn.00613fb4
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x220]
lea eax, [ebp - 0x2f4]
mov dword [esp], str.TKiller_2__Y__m__d__H__M__S
push eax
mov dword [ebp - 0x21c], edx
call fcn.00417400
push dword [eax]
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0xe
call fcn.004078a3
mov ecx, dword [ebp - 0x2f4]
lea ecx, [ecx - 0x10]
call fcn.00413970
and dword [ebp - 0x25c], 0
xor eax, eax
mov dword [ebp - 0x258], 7
mov word [ebp - 0x26c], ax
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x2cc]
xor ebx, ebx
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00417ce8
push 0x687264
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x12
push eax
call fcn.0040bca5
add esp, 0x18
push eax
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x13
call fcn.00411307
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.004116d5
jmp 0x418597
inc ebx
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.00425396
mov esi, eax
and dword [ebp - 0x220], 0
xor eax, eax
push 0x687270
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.005ff18e
add esp, 0xc
lea ecx, [ebp - 0x230]
push eax
push 0x687270
call fcn.0040a315
push esi
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00417c9a
add esp, 0xc
lea ecx, [ebp - 0x26c]
push eax
call fcn.0040c133
push 0
push 1
lea ecx, [ebp - 0x2a8]
call fcn.00409de7
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00409de7
push 0
push 1
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x11
call fcn.00409de7
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00417ce8
push 0x687264
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x12
push eax
call fcn.0040bca5
add esp, 0x18
push eax
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x13
call fcn.00411307
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.004116d5
push eax
mov ecx, edi
mov byte [ebp - 4], 0x15
call fcn.0041135f
lea ecx, [ebp - 0x278]
call fcn.00409ec4
push 0
push 1
lea ecx, [ebp - 0x290]
call fcn.00409de7
lea ecx, [ebp - 0x23c]
call fcn.00409ec4
push 0
push 1
lea ecx, [ebp - 0x254]
call fcn.00409de7
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00409de7
push 0
push 1
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x11
call fcn.00409de7
push edi
call fcn.00414df1
pop ecx
test al, al
jne 0x418493
xor ebx, ebx
lea ecx, [ebp - 0x26c]
push ebx
push 1
call fcn.00409de7
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2cc]
jmp 0x418687
push ebx
lea ecx, [ebp - 0x290]
call fcn.00411307
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.004116d5
push eax
mov ecx, edi
mov byte [ebp - 4], 0x19
call fcn.0041135f
lea ecx, [ebp - 0x23c]
call fcn.00409ec4
xor ebx, ebx
lea ecx, [ebp - 0x254]
push ebx
push 1
call fcn.00409de7
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], bl
call fcn.00409ec4
lea ecx, [ebp - 0x290]
push ebx
push 1
call fcn.00409de7
cmp dword [edi + 0x14], 8
jb 0x418699
mov eax, dword [edi]
jmp 0x41869b
mov eax, edi
push ebx
push ebx
push 0x80
push 2
push 1
push 0x40000000
push eax
lea ecx, [edi + 0x24]
call fcn.004130cf
push 1
push 3
lea ecx, [ebp - 0x3a4]
mov esi, eax
call fcn.004078ff
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, edi
call fcn.0040cff1
push eax
lea eax, [ebp - 0x394]
mov byte [ebp - 4], 0x1b
push 0x687274
push eax
call fcn.0040710b
pop ecx
pop ecx
push eax
call fcn.00410ade
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x1a
call fcn.00409de7
lea eax, [ebp - 0x3a4]
push eax
push str.Log::setLogPath
push 0x6e
push str.D:_build6c589d3ff8507062_srccommonLog.cpp
push 1
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x3a4]
call fcn.0040843a
lea ecx, [ebp - 0x2d8]
call fcn.00409ec4
push ebx
push 1
lea ecx, [ebp - 0x2f0]
call fcn.00409de7
test esi, esi
sete al
call fcn.005b4759
ret 8