Function at 0x404c15
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
and dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov ebx, ecx
push 3
push ecx
push esp
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x74], ebx
call fcn.00411ca2
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.svc.filesys.dll_public:_static_class_Ref_class_Services::Filesystem::Client::File____cdecl_Services::Filesystem::Client::File::open_class_Ref_class_String___unsigned_int_]
add esp, 0xc
cmp dword [ebp - 0x20], 0
jne 0x404cf6
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
mov ecx, dword [ebx + 0x14]
mov edi, eax
push ecx
mov edx, esp
push 0x2a
push str.Could_not_open_source_file:_1__error:_0x2h__3_
push edx
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x38]
call fcn.00410a9e
mov ecx, dword [ebx + 0x10]
push esp
mov esi, dword [eax]
call fcn.00411ca2
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 4]
push 0x10
push edi
lea edx, [ebp - 8]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0xa
push edi
lea edx, [ebp + 0x10]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebx + 0x14]
mov ecx, dword [eax]
push ecx
push esp
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
mov eax, esp
mov ecx, esi
push 0x29
push str.Error
push eax
mov eax, dword [esi]
call dword [eax + 4]
call fcn.0040d7d3
lea ecx, [ebp + 0x10]
call fcn.0040f38b
lea ecx, [ebp - 8]
call fcn.0040f38b
lea ecx, [ebp - 0x28]
call fcn.0040f38b
lea ecx, [ebp - 0x38]
call fcn.0040f38b
mov ecx, dword [ebp + 8]
push 0x8443
call dword [sym.imp.system.dll_public:_void___thiscall_Error::constructor_unsigned_int_]
jmp 0x4065e8
mov eax, dword [ebx + 0x10]
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov al, byte [eax + 0x1c]
mov dword [ebp - 0x1c], ecx
test al, al
jne 0x404e10
push ecx
mov ecx, dword [ebx + 0x14]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x404d2e
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, dword [ebx + 0x10]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x404d4a
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0x10]
push ecx
mov ecx, esp
lea eax, [esi + 4]
push eax
call fcn.0040f539
push ecx
mov ecx, esp
push esi
call fcn.0040f539
lea ecx, [ebp - 8]
call fcn.00401e7c
add esp, 0x10
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040f349
lea ecx, [ebp - 8]
call fcn.0040f38b
xor eax, eax
push eax
push eax
push ecx
push ecx
mov dword [ebp - 0x70], eax
mov ecx, esp
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], al
lea eax, [ebp + 0xc]
push eax
call fcn.0040f539
lea eax, [ebp - 0x6c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040e2fd
mov esi, dword [sym.imp.system.dll_public:_bool___thiscall_Error::operator_unsigned_int_const]
mov ecx, eax
call esi
test al, al
je 0x404dce
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040f2af
push 0
push 1
push ecx
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.0040f539
lea eax, [ebp - 0x6c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040e2fd
mov ecx, eax
call esi
test al, al
je 0x404e06
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040f2af
lea ecx, [ebp - 0x70]
call fcn.00404bea
xor ecx, ecx
mov eax, dword [ebp - 0x40]
push 2
pop esi
mov dword [ebp - 0x34], esi
sub eax, dword [ebp - 0x44]
jne 0x405130
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f349
lea ecx, [ebp - 0x30]
call fcn.0040f38b
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.svc.heimdall.dll_public:_static_class_Ref_class_Services::Heimdall::Client::Parameters____cdecl_Services::Heimdall::Client::Parameters::create_void_]
push 8
pop edi
mov dword [esp], 0x20012
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Sys::info_unsigned_int_]
pop ecx
test eax, eax
je 0x404e5d
mov edi, 0x108
mov eax, dword [ebx + 0x10]
xor edx, edx
cmp byte [eax + 0x1c], dl
mov al, byte [eax + 0x1e]
setne dl
dec edx
and edx, 0x82
add edx, esi
or edx, edi
test al, al
jne 0x404e7d
or edx, 0x40
mov ecx, dword [ebp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebp + 0x10]
push ecx
mov eax, esp
push 0x19
push str.Select_drive_in_which_to_store_the_file
push eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push ecx
mov ecx, esp
push eax
call fcn.0040f539
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
xor eax, eax
push ecx
mov ecx, esp
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], al
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
test eax, eax
je 0x404ee8
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.svc.heimdall.dll_public:_static_class_Ref_class_Services::Heimdall::Client::FSItem____cdecl_Services::Heimdall::Client::FSItem::create_class_Ref_class_Services::Heimdall::Client::Parameters__]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.0040f349
lea ecx, [ebp - 8]
call fcn.0040f38b
mov ecx, dword [ebp - 0x64]
test ecx, ecx
jne 0x4050a2
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
mov edi, eax
mov dword [ebp - 8], edi
cmp edi, 0x2007
je 0x405070
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x404fda
push 0
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x404fda
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 4
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call dword [edi + 4]
mov edi, dword [ebp - 8]
lea edx, [ebp - 0x4c]
push edi
push str.Could_not_initialize_storage_location__error:
mov ecx, dword [eax]
push edx
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.0040196d
pop ecx
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x28]
call fcn.0040f38b
lea ecx, [ebp - 0x38]
call fcn.0040f38b
lea ecx, [ebp - 0x4c]
call fcn.0040f38b
lea ecx, [ebp - 0x74]
call fcn.0040f38b
lea ecx, [ebp - 0x30]
call fcn.0040f38b
lea ecx, [ebp - 0x2c]
call fcn.0040f38b
mov ecx, dword [ebx + 0x14]
or edi, 0x40000000
push ecx
mov eax, esp
push 0x2e
push str.Could_not_create_file:_1__error:_0x2__3_
push eax
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x4c]
call fcn.00410a9e
mov ecx, esp
mov esi, dword [eax]
lea eax, [ebp + 0xc]
push eax
call fcn.0040f539
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 4]
push 0x10
push edi
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0xa
push edi
lea edx, [ebp - 8]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebx + 0x14]
mov ecx, dword [eax]
push ecx
push esp
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
mov eax, esp
mov ecx, esi
push 0x2d
push str.Error
push eax
mov eax, dword [esi]
call dword [eax + 4]
call fcn.0040d7d3
lea ecx, [ebp - 8]
call fcn.0040f38b
lea ecx, [ebp - 0x28]
call fcn.0040f38b
lea ecx, [ebp - 0x38]
call fcn.0040f38b
lea ecx, [ebp - 0x4c]
call fcn.0040f38b
mov ecx, dword [ebp + 8]
push edi
call dword [sym.imp.system.dll_public:_void___thiscall_Error::constructor_unsigned_int_]
lea ecx, [ebp - 0x70]
call fcn.00404bea
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4065d8
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x4065d8
mov eax, dword [ebx + 0x10]
mov al, byte [eax + 0x1c]
test al, al
je 0x405105
mov eax, dword [ecx]
lea edx, [ebp - 8]
push edx
call dword [eax]
push eax
lea ecx, [ebp - 0x68]
call fcn.0040f349
lea ecx, [ebp - 8]
call fcn.0040f38b
mov ecx, dword [ebp - 0x64]
test ecx, ecx
jne 0x4050d1
and dword [ebp - 0x2c], ecx
jmp 0x4050f1
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 0x14]
add ecx, eax
mov dword [ebp - 0x2c], ecx
je 0x4050f1
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040f349
lea ecx, [ebp - 0x2c]
call fcn.0040f38b
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040f2af
lea ecx, [ebp - 0x70]
call fcn.00404bea
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x405130
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebx + 0x10]
mov al, byte [eax + 0x1c]
test al, al
jne 0x405551
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0xc], eax
cmp edi, eax
je 0x405551
lea esi, [edi + 8]
mov dword [ebp - 0x30], esi
and dword [ebp + 0x10], 0
lea eax, [esi - 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x405270
push eax
lea ecx, [ebp + 0x10]
call fcn.0040f349
mov ecx, dword [edi]
push ecx
push esp
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea eax, [esi - 4]
mov ecx, esp
push eax
call fcn.0040f539
xor cl, cl
call fcn.00402fb6
pop ecx
pop ecx
test al, al
jne 0x405298
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f349
lea ecx, [ebp - 8]
call fcn.0040f38b
mov eax, dword [ebx + 0x10]
mov edi, 0x80008443
cmp byte [eax + 0x1f], 0
je 0x4051c9
cmp byte [eax + 0x21], 0
je 0x405259
mov ecx, dword [ebx + 0x14]
push ecx
mov eax, esp
push 0x2e
push str.Could_not_store_file:_1__error:_0x2__3_
push eax
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x18]
call fcn.00410a9e
mov ecx, esp
mov esi, dword [eax]
lea eax, [ebp + 0xc]
push eax
call fcn.0040f539
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 4]
push 0x10
push edi
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0xa
push edi
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebx + 0x14]
mov ecx, dword [eax]
push ecx
push esp
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
mov eax, esp
mov ecx, esi
push 0x2d
push str.Error
push eax
mov eax, dword [esi]
call dword [eax + 4]
call fcn.0040d7d3
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
mov ecx, dword [ebp + 8]
push edi
call dword [sym.imp.system.dll_public:_void___thiscall_Error::constructor_unsigned_int_]
lea ecx, [ebp + 0x10]
call fcn.0040f38b
jmp 0x4065d8
mov eax, dword [ecx]
push ecx
push esp
call dword [eax]
xor dl, dl
lea ecx, [ebp - 0xa8]
call fcn.004033ef
pop ecx
push eax
lea ecx, [ebp + 0x10]
call fcn.0040f349
lea ecx, [ebp - 0xa8]
call fcn.0040f38b
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.0040f539
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.0040f539
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.svc.filesys.dll_public:_static_class_Ref_class_String____cdecl_Services::Filesystem::Client::Service::absolute_class_Ref_class_String___class_Ref_class_String__]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0040f349
lea ecx, [ebp - 0xac]
call fcn.0040f38b
mov eax, dword [ebx + 0x10]
mov al, byte [eax + 0x1d]
test al, al
je 0x4054b3
push esi
lea ecx, [ebp - 0x7c]
call fcn.0040f539
xor edi, edi
mov dword [ebp - 0x38], edi
push 0
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.0040f539
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.0040f539
lea eax, [ebp - 0x80]
push eax
call fcn.0040d96d
push eax
mov ecx, esi
call fcn.0040f349
lea ecx, [ebp - 0x80]
call fcn.0040f38b
cmp dword [esi], 0
je 0x4057c4
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.0040f539
push ecx
mov ecx, esp
push esi
call fcn.0040f539
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.svc.filesys.dll_public:_static_class_Ref_class_String____cdecl_Services::Filesystem::Client::Service::absolute_class_Ref_class_String___class_Ref_class_String__]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0040f349
lea ecx, [ebp - 0x88]
call fcn.0040f38b
push 0x113
push ecx
mov ecx, esp
push esi
call fcn.0040f539
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.svc.filesys.dll_public:_static_class_Ref_class_Services::Filesystem::Client::File____cdecl_Services::Filesystem::Client::File::open_class_Ref_class_String___unsigned_int_]
add esp, 0xc
cmp dword [ebp - 0x78], 0
jne 0x405471
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
cmp eax, 0x222
jne 0x4056ef
cmp edi, 5
jae 0x4056ef
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 3
ja 0x40546b
push 0
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40546b
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 3
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call dword [edi + 4]
push str.Determining_filename_again__because_file_is_already_opened:
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
push ecx
mov ecx, esp
push dword [ebp - 0x30]
mov esi, dword [eax]
call fcn.0040f539
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x8c]
call fcn.0040f38b
lea ecx, [ebp - 0x4c]
call fcn.0040f38b
lea ecx, [ebp - 0x58]
call fcn.0040f38b
lea ecx, [ebp - 0x24]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
inc edi
mov dword [ebp - 0x38], edi
jmp 0x405491
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040fe81
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 8]
call fcn.0040f349
lea ecx, [ebp - 0x28]
call fcn.0040f38b
lea ecx, [ebp - 0x78]
call fcn.0040f38b
cmp dword [esi + 8], 0
je 0x4052ef
lea ecx, [ebp - 0x7c]
call fcn.0040f38b
mov edi, dword [ebp - 0x2c]
jmp 0x405533
push 4
push ecx
mov ecx, esp
push esi
call fcn.0040f539
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.svc.filesys.dll_public:_static_class_Ref_class_Services::Filesystem::Client::File____cdecl_Services::Filesystem::Client::File::open_class_Ref_class_String___unsigned_int_]
add esp, 0xc
cmp dword [ebp - 0x54], 0
jne 0x405a8d
push 0x113
push ecx
mov ecx, esp
push esi
call fcn.0040f539
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.svc.filesys.dll_public:_static_class_Ref_class_Services::Filesystem::Client::File____cdecl_Services::Filesystem::Client::File::open_class_Ref_class_String___unsigned_int_]
add esp, 0xc
lea ecx, [ebp - 0x54]
push eax
call fcn.0040f349
lea ecx, [ebp - 0x10]
call fcn.0040f38b
cmp dword [ebp - 0x54], 0
je 0x4059bd
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040fe81
lea eax, [ebp - 8]
push eax
lea ecx, [esi + 8]
call fcn.0040f349
lea ecx, [ebp - 8]
call fcn.0040f38b
lea ecx, [ebp - 0x54]
call fcn.0040f38b
lea ecx, [ebp + 0x10]
call fcn.0040f38b
push 0x18
pop edx
add edi, edx
add esi, edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], esi
cmp edi, dword [ebp - 0xc]
jne 0x405158
and dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f349
lea ecx, [ebp + 0x10]
call fcn.0040f38b
lea eax, [ebp - 0x48]
push 0x10000
push eax
call dword [sym.imp.system.dll_public:_static_class_Ref_class_SharedMemory____cdecl_ShMem::create_unsigned_int_]
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
test eax, eax
jne 0x405b15
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
mov edi, eax
mov dword [ebp + 0x10], edi
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x405643
push 0
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x405643
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 4
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call dword [edi + 4]
mov edi, dword [ebp + 0x10]
lea edx, [ebp - 0x14]
push edi
push str.Could_not_create_shared_memory__error:
mov ecx, dword [eax]
push edx
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.0040196d
pop ecx
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 0x24]
call fcn.0040f38b
lea ecx, [ebp - 0x58]
call fcn.0040f38b
mov ecx, dword [ebx + 0x14]
or edi, 0x80000000
push ecx
mov eax, esp
push 0x2d
push str.Could_not_create_file:_1__error:_0x2__3_
push eax
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x14]
call fcn.00410a9e
mov ecx, esp
mov esi, dword [eax]
mov eax, dword [ebp - 0x44]
add eax, 8
push eax
call fcn.0040f539
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 4]
push 0x10
push edi
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0xa
push edi
lea edx, [ebp + 0x10]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebx + 0x14]
mov ecx, dword [eax]
push ecx
push esp
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
mov eax, esp
mov ecx, esi
push 0x2d
push str.Error
push eax
mov eax, dword [esi]
call dword [eax + 4]
call fcn.0040d7d3
lea ecx, [ebp + 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
mov ecx, dword [ebp + 8]
push 0x8443
call dword [sym.imp.system.dll_public:_void___thiscall_Error::constructor_unsigned_int_]
jmp 0x4065d0
and dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
or eax, 0x10000000
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.0040f349
lea ecx, [ebp - 8]
call fcn.0040f38b
mov ecx, dword [ebx + 0x14]
push ecx
mov eax, esp
push 0x2e
push str.Could_not_create_file:_1__error:_0x2__3_
push eax
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.00410a9e
mov ecx, esp
mov esi, dword [eax]
mov eax, dword [ebp - 0x2c]
add eax, 8
push eax
call fcn.0040f539
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 4]
mov edi, dword [ebp - 0xc]
lea edx, [ebp - 0x14]
push 0x10
push edi
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0xa
push edi
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebx + 0x14]
mov ecx, dword [eax]
push ecx
push esp
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
mov eax, esp
mov ecx, esi
push 0x2d
push str.Error
push eax
mov eax, dword [esi]
call dword [eax + 4]
call fcn.0040d7d3
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 0x24]
call fcn.0040f38b
mov ecx, dword [ebp + 8]
push edi
call dword [sym.imp.system.dll_public:_void___thiscall_Error::constructor_unsigned_int_]
lea ecx, [ebp - 0x78]
call fcn.0040f38b
lea ecx, [ebp - 0x7c]
call fcn.0040f38b
jmp 0x405263
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x40586e
push 0
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40586e
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 4
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call dword [edi + 4]
push str.Could_not_determine_unique_filename_for
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
push ecx
mov ecx, esp
mov esi, dword [eax]
lea eax, [ebp + 0xc]
push eax
call fcn.0040f539
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0x1c]
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 0x24]
call fcn.0040f38b
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x40592c
push 0
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x40592c
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 4
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call dword [edi + 4]
push str._in_path
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
push ecx
mov ecx, esp
mov esi, dword [eax]
lea eax, [ebp + 0x10]
push eax
call fcn.0040f539
lea eax, [ebp - 8]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 8]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 0x24]
call fcn.0040f38b
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f349
lea ecx, [ebp - 8]
call fcn.0040f38b
mov ecx, dword [ebx + 0x14]
push ecx
mov eax, esp
push 0x39
push str.Could_not_determine_unique_filename_for_1
push eax
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.00410a9e
mov ecx, esp
mov esi, dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.0040f539
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 4]
mov esi, dword [ebx + 0x14]
mov ecx, dword [eax]
push ecx
push esp
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
mov eax, esp
mov ecx, esi
push 0x38
push str.Error
push eax
mov eax, dword [esi]
call dword [eax + 4]
call fcn.0040d7d3
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
mov ecx, dword [ebp + 8]
push 0x8443
call dword [sym.imp.system.dll_public:_void___thiscall_Error::constructor_unsigned_int_]
jmp 0x4057b7
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
and dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
mov edi, eax
lea eax, [ebp - 8]
push eax
or edi, 0x60000000
call fcn.0040f349
lea ecx, [ebp - 8]
call fcn.0040f38b
mov ecx, dword [ebx + 0x14]
push ecx
mov eax, esp
push 0x2e
push str.Could_not_create_file:_1__error:_0x2__3_
push eax
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x18]
call fcn.00410a9e
mov ecx, esp
mov esi, dword [eax]
mov eax, dword [ebp - 0x2c]
add eax, 8
push eax
call fcn.0040f539
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 4]
push 0x10
push edi
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0xa
push edi
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebx + 0x14]
mov ecx, dword [eax]
push ecx
push esp
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
mov eax, esp
mov ecx, esi
push 0x2d
push str.Error
push eax
mov eax, dword [esi]
call dword [eax + 4]
call fcn.0040d7d3
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
push edi
mov ecx, dword [ebp + 8]
call dword [sym.imp.system.dll_public:_void___thiscall_Error::constructor_unsigned_int_]
lea ecx, [ebp - 0x54]
call fcn.0040f38b
jmp 0x405263
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f349
lea ecx, [ebp - 8]
call fcn.0040f38b
mov ecx, dword [ebx + 0x14]
push ecx
mov eax, esp
push 0x26
push str.File_already_exists:_1
push eax
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.00410a9e
mov ecx, esp
mov esi, dword [eax]
lea eax, [edi + 8]
push eax
call fcn.0040f539
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 4]
mov esi, dword [ebx + 0x14]
mov ecx, dword [eax]
push ecx
push esp
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
mov eax, esp
mov ecx, esi
push 0x25
push str.Error
push eax
mov eax, dword [esi]
call dword [eax + 4]
call fcn.0040d7d3
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
push 0x8443
jmp 0x405a77
mov esi, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x405b31
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [eax + 0xc]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x405c59
cmp dword [ebp - 0x9c], eax
jne 0x405c2f
cmp dword [ebp - 0xa4], eax
jne 0x405c2f
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
mov dword [ebp + 0x10], eax
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 3
ja 0x405c29
push 0
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x405c29
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 3
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call dword [edi + 4]
push dword [ebp + 0x10]
lea edx, [ebp - 0x14]
push str.Could_not_map_source_file__using_non_mapped_read__error:
mov ecx, dword [eax]
push edx
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.0040196d
pop ecx
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 0x24]
call fcn.0040f38b
lea ecx, [ebp - 0x58]
call fcn.0040f38b
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x405c59
cmp dword [ebp - 0x9c], eax
jne 0x405c59
cmp dword [ebp - 0xa4], eax
jne 0x405c59
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
lea ecx, [ebp - 0xf4]
call fcn.0040165f
jmp 0x405c7b
sub esp, 0x14
lea eax, [ebp - 0xa4]
mov ecx, esp
push eax
call fcn.00401570
lea ecx, [ebp - 0xd0]
call fcn.00401607
xor esi, esi
inc esi
mov dword [ebp - 0x34], esi
push eax
lea ecx, [ebp - 0x118]
call fcn.00401855
mov eax, dword [ebp - 0x34]
test al, 2
je 0x405cad
and eax, 0xfffffffd
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x34], eax
call fcn.0040f38b
lea ecx, [ebp - 0xe8]
call fcn.0040f38b
mov eax, dword [ebp - 0x34]
test al, 1
je 0x405ccd
and eax, 0xfffffffe
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x34], eax
call fcn.0040f38b
lea ecx, [ebp - 0xc4]
call fcn.0040f38b
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x4c], eax
test edx, edx
jne 0x405ce5
cmp esi, 0xffffffff
jbe 0x405cfa
shrd esi, edx, 1
shr edx, 1
inc eax
test edx, edx
ja 0x405ce5
jb 0x405cf7
cmp esi, 0xffffffff
ja 0x405ce5
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
push 0x18
sub eax, ecx
mov dword [ebp - 8], ebx
pop edi
cdq
idiv edi
push 1
imul eax, esi
mov esi, dword [ebx + 0x14]
push 0
push eax
mov eax, dword [ecx]
push ecx
mov edi, esp
push ecx
mov edx, esp
mov dword [edx], eax
test eax, eax
je 0x405d2b
mov ecx, edx
call fcn.0040f3a3
mov eax, dword [ebp - 0x44]
push ecx
add eax, 8
mov ecx, esp
push eax
call fcn.0040f539
push edi
lea ecx, [ebp - 8]
call fcn.00406602
push ecx
mov eax, esp
mov ecx, esi
push 0x53
push str.Saving_file
push eax
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.svc.heimdall.dll_public:_static_class_Ref_class_Services::Heimdall::Client::Progress____cdecl_Services::Heimdall::Client::Progress::create_class_Ref_class_String___class_Ref_class_String___unsigned_int__bool__bool_]
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x84], eax
add esp, 0x18
lea eax, [ebp - 0x44]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x80], eax
xor al, al
mov byte [ebp + 0x13], al
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
cmp eax, ecx
je 0x4063b3
push eax
lea ecx, [ebp - 0xc4]
call fcn.00404b79
mov eax, dword [ebp - 0x20]
push 0
push 0
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 0x18]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x405df7
push ecx
mov edi, esp
push ecx
mov ecx, dword [ebp - 0xc4]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x405dd8
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea eax, [ebp - 0xbc]
mov ecx, esp
push eax
call fcn.0040f539
push edi
lea ecx, [ebp - 8]
call fcn.00406602
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [ebp - 0x48]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x405e16
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xb4]
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 8]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x405f37
cmp dword [ebp - 0x64], eax
jne 0x405f11
cmp dword [ebp - 0x6c], eax
jne 0x405f11
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
mov dword [ebp - 0xc], eax
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 3
ja 0x405f0e
push 0
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x405f0e
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 3
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call dword [edi + 4]
push dword [ebp - 0xc]
lea edx, [ebp - 0x18]
push str.Could_not_map_destination_file__using_non_mapped_write__error:
mov ecx, dword [eax]
push edx
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.0040196d
pop ecx
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 0x24]
call fcn.0040f38b
lea ecx, [ebp - 0x58]
call fcn.0040f38b
lea ecx, [ebp - 0x8c]
call fcn.0040f38b
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x405f37
cmp dword [ebp - 0x64], eax
jne 0x405f37
cmp dword [ebp - 0x6c], eax
jne 0x405f37
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
lea ecx, [ebp - 0x13c]
call fcn.0040165f
push 8
jmp 0x405f52
sub esp, 0x14
lea eax, [ebp - 0x6c]
mov ecx, esp
push eax
call fcn.00401570
lea ecx, [ebp - 0x160]
call fcn.00401607
push 4
mov ecx, eax
pop eax
or eax, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xc], eax
call fcn.00401855
mov ecx, dword [ebp - 0xc]
mov eax, ecx
mov dword [ebp - 0x34], eax
test cl, 8
je 0x405f93
and ecx, 0xfffffff7
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x11c]
call fcn.0040f38b
lea ecx, [ebp - 0x130]
call fcn.0040f38b
mov eax, dword [ebp - 0x34]
test al, 4
je 0x405fb3
and eax, 0xfffffffb
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x34], eax
call fcn.0040f38b
lea ecx, [ebp - 0x154]
call fcn.0040f38b
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
call dword [eax + 4]
and dword [ebp - 0x28], 0
mov edi, eax
and dword [ebp - 0x38], 0
mov eax, edx
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x405fd8
test edi, edi
je 0x4060b0
test eax, eax
ja 0x405fe8
jb 0x405fe4
cmp edi, 0x10000
jae 0x405fe8
mov edx, edi
jmp 0x405fed
mov edx, 0x10000
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
push edx
sub esp, 0x24
mov eax, dword [ecx + 4]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x118]
add esi, ecx
mov ecx, esp
push eax
call fcn.00401855
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4062fd
mov edx, dword [ebp - 0xb4]
push 0xffffffffffffffff
push eax
sub esp, 0x24
lea eax, [ebp - 0xf4]
mov ecx, dword [edx + 4]
mov esi, dword [ecx + 0xc]
mov ecx, esp
push eax
add esi, edx
call fcn.00401855
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
jne 0x4061e8
mov eax, dword [ebp - 0x30]
sub edi, ecx
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x50]
sbb eax, 0
add edx, ecx
mov dword [ebp - 0xc], edi
mov ecx, dword [ebp - 0x38]
adc ecx, 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x38], ecx
test esi, esi
je 0x405fca
mov edi, dword [esi]
mov eax, edx
mov edx, ecx
mov ecx, dword [ebp - 0x4c]
call fcn.00429b80
push eax
mov ecx, esi
call dword [edi + 0x14]
mov ecx, dword [ebp - 0x50]
push 0
mov eax, dword [ecx]
call dword [eax + 0x24]
test al, al
jne 0x4060ac
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
jmp 0x405fca
mov byte [ebp + 0x13], 1
cmp dword [ebp - 0x68], 0
jne 0x4060c2
cmp dword [ebp - 0x64], 0
jne 0x4060c2
cmp dword [ebp - 0x6c], 0
je 0x4060e7
mov ecx, dword [ebp - 0xb4]
sub esp, 0x14
mov eax, dword [ecx + 4]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x6c]
add esi, ecx
mov ecx, esp
push eax
call fcn.00401570
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 8]
lea ecx, [ebp - 0xd4]
call fcn.0040f38b
lea ecx, [ebp - 0xe8]
call fcn.0040f38b
lea ecx, [ebp - 0x6c]
call fcn.0040f38b
lea ecx, [ebp - 0xc4]
call fcn.00404bea
mov eax, dword [ebp - 0x2c]
push 0x18
pop edi
add eax, edi
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x88]
jne 0x405d8d
cmp byte [ebp + 0x13], 0
je 0x4061e0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.lib.io.char.dll_public:_static_class_Ref_class_CharPrinter____cdecl_StdIO::stdOutPrinter_void_]
lea edx, [ebp - 0xc]
mov dword [esp], str.User_aborted
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea edx, [ebp + 0x10]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp + 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
cmp esi, edi
je 0x4061b8
and dword [ebp + 0x10], 0
and dword [ebp - 8], 0
add esi, 0xc
lea eax, [ebp + 0x10]
push eax
lea ecx, [esi + 4]
call fcn.0040f349
lea ecx, [ebp + 0x10]
call fcn.0040f38b
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.0040f349
lea ecx, [ebp - 8]
call fcn.0040f38b
push 0x18
pop eax
add esi, eax
lea eax, [esi - 0xc]
cmp eax, edi
jne 0x406185
xor dl, dl
lea ecx, [ebp - 0x44]
call fcn.004047c6
lea ecx, [ebp - 0x84]
call fcn.0040669c
mov ecx, dword [ebp + 8]
push 0x8442
call dword [sym.imp.system.dll_public:_void___thiscall_Error::constructor_unsigned_int_]
jmp 0x4065a7
mov eax, dword [ebp - 0x44]
jmp 0x4063b6
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
mov ecx, dword [ebx + 0x14]
mov esi, eax
push ecx
mov edx, esp
or esi, 0xa0000000
push 0x2e
push str.Error_writing_to_file_1:_0x2h__3_
push edx
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x18]
call fcn.00410a9e
mov dword [ebp + 0x10], esp
push ecx
mov ecx, dword [ebp - 0xc4]
mov edi, dword [eax]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x406235
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea eax, [ebp - 0xbc]
mov ecx, esp
push eax
call fcn.0040f539
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.00402500
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, edi
call dword [eax + 4]
push 0x10
push esi
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0xa
push esi
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebx + 0x14]
mov ecx, dword [eax]
push ecx
push esp
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
mov eax, esp
mov ecx, esi
push 0x2d
push str.Error
push eax
mov eax, dword [esi]
call dword [eax + 4]
call fcn.0040d7d3
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 0x84]
call fcn.0040669c
mov ecx, dword [ebp + 8]
push 0x8443
call dword [sym.imp.system.dll_public:_void___thiscall_Error::constructor_unsigned_int_]
lea ecx, [ebp - 0xd4]
call fcn.0040f38b
lea ecx, [ebp - 0xe8]
call fcn.0040f38b
lea ecx, [ebp - 0x6c]
call fcn.0040f38b
lea ecx, [ebp - 0xc4]
call fcn.00404bea
jmp 0x4065a7
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
mov ecx, dword [ebp - 0x74]
mov ebx, eax
or ebx, 0xc0000000
mov ecx, dword [ecx + 0x14]
push ecx
mov edx, esp
push 0x2e
push str.Error_reading_from_file_1:_0x2h__3_
push edx
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x14]
call fcn.00410a9e
mov esi, esp
push ecx
mov edi, dword [eax]
mov eax, esp
push ecx
push esp
and dword [eax], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x10]
call fcn.00411ca2
push esi
mov esi, dword [ebp - 0x74]
mov ecx, esi
call fcn.00402500
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
call dword [eax + 4]
push 0x10
push ebx
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0xa
push ebx
lea edx, [ebp + 0x10]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [esi + 0x14]
mov ecx, dword [eax]
push ecx
push esp
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
mov eax, esp
mov ecx, esi
push 0x2d
push str.Error
push eax
mov eax, dword [esi]
call dword [eax + 4]
call fcn.0040d7d3
lea ecx, [ebp + 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
jmp 0x4062b1
push 0x18
pop edi
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x4063c6
call fcn.0040f3a3
mov eax, dword [ebp - 0x44]
push ecx
add eax, 8
mov ecx, esp
push eax
call fcn.0040f539
lea eax, [ebp - 0x90]
mov ecx, ebx
push eax
call fcn.00402500
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
sub eax, esi
cdq
idiv edi
cmp eax, 1
jbe 0x406424
mov eax, dword [esi + 0x18]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x406404
call fcn.0040f3a3
mov eax, dword [ebp - 0x44]
push ecx
add eax, 0x20
mov ecx, esp
push eax
call fcn.0040f539
lea eax, [ebp - 0xc]
mov ecx, ebx
push eax
call fcn.00402500
mov ecx, eax
push 0x10
jmp 0x40642d
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
push 0x20
pop eax
or eax, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp + 0x10], eax
call fcn.0040f539
mov eax, dword [ebp + 0x10]
test al, 0x20
je 0x406452
lea ecx, [ebp - 8]
mov dword [ebp + 0x10], eax
call fcn.0040f38b
mov eax, dword [ebp + 0x10]
test al, 0x10
je 0x40645e
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x84]
call fcn.0040669c
push 0
call dword [sym.imp.system.dll_public:_static_void___cdecl_Error::set_unsigned_int_]
mov esi, dword [ebx + 0x14]
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0040f539
push ecx
lea eax, [ebp - 0x90]
mov ecx, esp
push eax
call fcn.0040f539
push ecx
mov eax, esp
mov ecx, esi
push 0x61
push str.and_2
push eax
mov eax, dword [esi]
call dword [eax + 4]
push ecx
mov eax, esp
mov ecx, esi
push 0x60
push str.File_saved_as_1
push eax
mov eax, dword [esi]
call dword [eax + 4]
push ecx
mov eax, esp
mov ecx, esi
push 0x5f
push str.Information
push eax
mov eax, dword [esi]
call dword [eax + 4]
call fcn.0040d811
test eax, eax
jne 0x406589
call dword [sym.imp.system.dll_public:_static_unsigned_int___cdecl_Error::get_void_]
mov ebx, eax
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x406589
push 0
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x406589
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 4
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push 0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call dword [edi + 4]
push ebx
push str.Failed_to_show_success_information_dialog__error:
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, eax
lea ecx, [ebp - 0xc]
call fcn.0040196d
pop ecx
lea edx, [ebp + 0x10]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp + 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 0x24]
call fcn.0040f38b
mov ecx, dword [ebp + 8]
push 0
call dword [sym.imp.system.dll_public:_void___thiscall_Error::constructor_unsigned_int_]
lea ecx, [ebp - 0x28]
call fcn.0040f38b
lea ecx, [ebp - 0x90]
call fcn.0040f38b
lea ecx, [ebp - 0x50]
call fcn.0040f38b
lea ecx, [ebp - 0xf8]
call fcn.0040f38b
lea ecx, [ebp - 0x10c]
call fcn.0040f38b
lea ecx, [ebp - 0xa4]
call fcn.0040f38b
lea ecx, [ebp - 0x48]
call fcn.0040f38b
lea ecx, [ebp - 0x1c]
call fcn.0040f38b
lea ecx, [ebp - 0x44]
call fcn.0040f310
lea ecx, [ebp - 0x20]
call fcn.0040f38b
lea ecx, [ebp + 0xc]
call fcn.0040f38b
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc