Function at 0x42cc70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d7c2
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x49a02c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 8
jb 0x42cca8
mov ecx, dword [edi]
lea eax, [edi + 0x10]
mov dword [ebp - 0x160], eax
mov eax, dword [eax]
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0x178]
mov ecx, 0x49d5a0
push eax
call fcn.00425ca0
mov dword [ebp - 4], 0
lea ebx, [ebp - 0x178]
cmp dword [ebp - 0x164], 0x10
jb 0x42cd03
mov ebx, dword [ebp - 0x178]
test ebx, ebx
jne 0x42cd03
push str.filename_null_
push ebx
push 4
push 0x49ab08
call fcn.0043bb70
add esp, 0x10
jmp 0x42ce1d
mov ecx, 0x49ab08
call fcn.0043ba90
push 0x48f890
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0
push ebx
push eax
call fcn.0045f83e
add esp, 0xc
test eax, eax
jne 0x42ce06
mov esi, dword [ebp - 0x144]
test esi, esi
je 0x42ce06
mov ecx, 0x49ab08
call fcn.0043ba90
push 0
push 0
push esi
call fcn.00460a76
add esp, 0xc
push esi
call fcn.00460cd6
add esp, 4
cmp eax, 0xffffffff
jne 0x42cd74
push esi
call fcn.00460773
add esp, 4
test eax, eax
jne 0x42cde8
push 2
push 0
push esi
call fcn.00460a76
add esp, 0xc
push esi
call fcn.00460635
add esp, 4
mov ebx, eax
push 0
push 0
push esi
call fcn.00460a76
add esp, 0xc
cmp ebx, 0xffffffff
je 0x42cde8
cmp ebx, 0xffffffff
jae 0x42cde8
test ebx, ebx
jne 0x42cdad
push ebx
push ebx
push 0xd
jmp 0x42cdee
lea eax, [ebx + 1]
push eax
call fcn.004531ca
add esp, 4
mov dword [0x49ab58], eax
push esi
push ebx
push 1
push eax
call fcn.004612c0
add esp, 0x10
cmp eax, ebx
jne 0x42cde8
mov eax, dword [0x49ab58]
mov byte [eax + ebx], 0
call fcn.0043bcc0
push esi
call fcn.0045fdd6
add esp, 4
jmp 0x42ce1d
push 0
push 0
push 5
push 0x49ab08
call fcn.0043bb70
add esp, 0x10
push esi
call fcn.0045fdd6
add esp, 4
jmp 0x42ce1d
push ebx
push str.filename_s
push 0
push 3
push 0x49ab08
call fcn.0043bb70
add esp, 0x14
mov ebx, dword [0x49ab40]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x164]
cmp edx, 0x10
jb 0x42ce64
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ce5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d329
push edx
push ecx
call fcn.00453194
add esp, 8
test ebx, ebx
jne 0x42d0bd
cmp dword [0x49aa68], 2
jl 0x42d0a2
push 0x98
lea eax, [ebp - 0xa8]
push ebx
push eax
call fcn.00454ad0
add esp, 8
lea ecx, [ebp - 0xa8]
call fcn.00407500
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 1
call fcn.0042d5f0
mov esi, eax
mov edx, 0x48c7d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call fcn.0040a600
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x42cecb
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.0040c1e0
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x164]
cmp edx, 8
jb 0x42cf1c
mov ecx, dword [ebp - 0x178]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cf12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d32e
push edx
push ecx
call fcn.00453194
add esp, 8
mov edx, dword [str.INFO]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 7
mov word [ebp - 0x15c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cf44
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x15c]
call fcn.00408fb0
mov edx, 0x48c7e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa8]
call fcn.0040a600
cmp dword [ebp - 0x148], 8
lea edx, [ebp - 0x15c]
push dword [ebp - 0x14c]
cmovae edx, dword [ebp - 0x15c]
mov ecx, eax
call fcn.0040c1e0
add esp, 4
mov edx, 0x48c7d8
mov ecx, eax
call fcn.0040a600
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x148]
cmp edx, 8
jb 0x42cfe8
mov ecx, dword [ebp - 0x15c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cfde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d333
push edx
push ecx
call fcn.00453194
add esp, 8
mov edx, str.Loaded_settings_file
lea ecx, [ebp - 0xa8]
call fcn.0040a8e0
cmp dword [edi + 0x14], 8
jb 0x42d000
mov edi, dword [edi]
mov ecx, dword [ebp - 0x160]
mov edx, edi
push dword [ecx]
mov ecx, eax
call fcn.0040c1e0
add esp, 4
push eax
call fcn.0040ac70
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.0042f1f0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
lea ecx, [ebp - 0xa4]
call fcn.00407140
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xac], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 4
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.0043d426
add esp, 4
mov dword [ebp - 4], 0xffffffff
push str.AppSettings
mov ecx, 0x49ab08
call fcn.0042cc00
mov dword [0x49d588], eax
mov al, 1
jmp 0x42d30d
cmp dword [0x49aa68], 0
jl 0x42d30b
push 0x98
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.00454ad0
add esp, 8
lea ecx, [ebp - 0x140]
call fcn.00407500
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 5
call fcn.0042d5f0
mov esi, eax
mov edx, 0x48c7d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x140]
call fcn.0040a600
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x42d11d
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.0040c1e0
mov byte [ebp - 4], 5
add esp, 4
mov edx, dword [ebp - 0x164]
cmp edx, 8
jb 0x42d16e
mov ecx, dword [ebp - 0x178]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d164
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d338
push edx
push ecx
call fcn.00453194
add esp, 8
mov edx, dword [str.ERROR]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 7
mov word [ebp - 0x15c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d196
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x15c]
call fcn.00408fb0
mov edx, 0x48c7e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x140]
call fcn.0040a600
cmp dword [ebp - 0x148], 8
lea edx, [ebp - 0x15c]
push dword [ebp - 0x14c]
cmovae edx, dword [ebp - 0x15c]
mov ecx, eax
call fcn.0040c1e0
add esp, 4
mov edx, 0x48c7d8
mov ecx, eax
call fcn.0040a600
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x148]
cmp edx, 8
jb 0x42d23a
mov ecx, dword [ebp - 0x15c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d230
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d33d
push edx
push ecx
call fcn.00453194
add esp, 8
mov edx, str.Couldnt_load_settings_file
lea ecx, [ebp - 0x140]
call fcn.0040a8e0
cmp dword [edi + 0x14], 8
jb 0x42d252
mov edi, dword [edi]
mov ecx, dword [ebp - 0x160]
mov edx, edi
push dword [ecx]
mov ecx, eax
call fcn.0040c1e0
add esp, 4
mov edx, str.:_XMLError
push ebx
push ecx
mov ecx, eax
call fcn.0040a8e0
add esp, 4
mov ecx, eax
call fcn.00407bb0
push eax
call fcn.0040ac70
add esp, 4
lea ecx, [ebp - 0x140]
call fcn.0042f1f0
mov eax, dword [ebp - 0x140]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x144], eax
lea ecx, [ebp - 0x13c]
call fcn.00407140
mov eax, dword [ebp - 0x140]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x144], eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 4], 8
push eax
mov dword [ebp - 0xf0], vtable.std::ios_base.0
call fcn.0043d426
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452d1d
mov esp, ebp
pop ebp
ret
call fcn.0045a646
call fcn.0045a646
call fcn.0045a646
call fcn.0045a646
call fcn.0045a646
int3