Function at 0x40cfa0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5899eb
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5f3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x108], 0
lea ecx, [ebp - 0x28]
push 0x45
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.pdf_fit_viewtrue_nwindow_height700_nwindow_width1000_nresizeabletrue
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.0040b990
mov ecx, str.reading_settings_file_...__n
mov dword [ebp - 4], 0
call fcn.0040d4e0
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0
push str.config.ini
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x110], 0
movups xmmword [ebp - 0x124], xmm0
call fcn.0040b990
lea edx, [ebp - 0x124]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0040c460
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x110]
cmp ecx, 0xf
jbe 0x40d08c
mov edx, dword [ebp - 0x124]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d082
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d42d
push ecx
push edx
call fcn.0055da05
add esp, 8
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0xf
mov byte [ebp - 0x124], 0
test esi, esi
jne 0x40d143
mov ecx, str.settings_file_is_not_found___creating_default_settings_file_...__n
call fcn.0040d4e0
push 0x5d1dac
lea eax, [ebp - 0x104]
push str.config.ini
push eax
call fcn.00568e10
mov ecx, dword [ebp - 0x104]
add esp, 0xc
test ecx, ecx
jne 0x40d104
mov ecx, str.Error_creating_configuration_._n
call fcn.0040d4e0
push 0x10
push str.Error
push str.An_error_occurred_during_config_creation_
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xfffffffffffffffe
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
push 1
push eax
call fcn.005688ed
push dword [ebp - 0x104]
call fcn.00568311
add esp, 0x14
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x58]
cmova eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call fcn.00410e40
mov esi, dword [ebp - 0x48]
push 0xa8
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.0055fae0
add esp, 0xc
mov dword [ebp - 0x100], 0x5d1984
lea ecx, [ebp - 0xa0]
call fcn.00410dd0
sub esp, 8
mov byte [ebp - 4], 4
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x108], 1
lea ecx, [ebp - 0x100]
push eax
call fcn.00410ce0
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x104], eax
lea eax, [ebp - 0xf0]
mov ecx, eax
mov dword [ebp - 0x10c], eax
call fcn.00411860
mov byte [ebp - 4], 6
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
mov edi, dword [ebp - 0x58]
cmova eax, edi
mov dword [ebp - 0xf0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x104], eax
mov eax, 2
cmp esi, 0x7fffffff
ja 0x40d432
test esi, esi
je 0x40d27d
cmp esi, 0x1000
jb 0x40d237
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x40d437
push eax
call fcn.0042f2b8
add esp, 4
test eax, eax
je 0x40d43c
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x40d242
push esi
call fcn.0042f2b8
add esp, 4
mov edi, eax
push esi
push dword [ebp - 0x104]
push edi
call fcn.0055fc40
mov eax, dword [ebp - 0xe4]
lea ecx, [esi + edi]
mov dword [ebp - 0xb8], ecx
add esp, 0xc
mov dword [eax], edi
mov eax, dword [ebp - 0xd4]
mov dword [eax], edi
mov eax, dword [ebp - 0xc4]
mov edi, dword [ebp - 0x58]
mov dword [eax], esi
mov eax, 3
jmp 0x40d287
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x100]
call fcn.00413680
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x40d2fb
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0040b890
call fcn.0040cdb0
add esp, 0x14
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x100]
call fcn.00413680
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x40d2c8
mov ecx, str.Configuration_loaded__n
call fcn.0040d4e0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40d33d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d333
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d43c
push ecx
push edx
call fcn.0055da05
add esp, 8
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xf0]
call fcn.0040e2a0
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x104], eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0xa0], vtable.std::ios_base.0
call fcn.0055ec45
mov eax, dword [ebp - 0x44]
add esp, 4
cmp eax, 0xf
jbe 0x40d3e2
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40d3d8
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d43c
push ecx
push edi
call fcn.0055da05
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40d412
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d408
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d43c
push ecx
push edx
call fcn.0055da05
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d3df
mov esp, ebp
pop ebp
ret
call fcn.005677c1
call fcn.0055e74d
call fcn.004073a0
call fcn.005677c1
int3