Function at 0x41a6e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3baf
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x53132c]
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 eax, dword [ebp + 8]
push 0x1c
mov esi, ecx
xor edi, edi
push str.XmlDomDoc::writeToUtf8Stream
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], 0
call fcn.00404270
push 0xd7
push str.XmlDomDoc.cpp
lea ecx, [ebp - 0x48]
push ecx
push 0x536e48
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], edi
call fcn.004119e0
cmp dword [ebp - 0x34], 0x10
jb 0x41a765
mov edx, dword [ebp - 0x48]
push edx
call fcn.00458691
add esp, 4
mov dword [ebp - 0x78], edi
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x24]
cmp eax, edi
jne 0x41a77d
push 0x80004003
call fcn.00458460
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
push eax
mov eax, dword [ecx + 0x88]
call eax
mov ecx, dword [ebp - 0x78]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantInit]
push ecx
call ebx
lea edi, [eax + 2]
lea eax, [edi + 8]
cmp eax, 0x400
ja 0x41a7bb
call fcn.00459d20
mov esi, esp
test esi, esi
je 0x41a7d3
mov dword [esi], 0xcccc
add esi, 8
jmp 0x41a7d3
push eax
call fcn.00459997
add esp, 4
test eax, eax
je 0x41a7d1
mov dword [eax], 0xdddd
add eax, 8
mov esi, eax
mov dword [ebp - 0x84], esi
mov byte [ebp - 4], 4
test esi, esi
jne 0x41a802
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.00411ac0
lea eax, [esi + 8]
jmp 0x41aadb
mov eax, dword [ebp - 0x78]
push eax
call ebx
mov ecx, dword [ebp - 0x78]
push 0
push 0
push edi
push esi
push eax
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x41a94b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x9c40
mov ecx, 0x536e48
mov edi, eax
call fcn.0044af00
test al, al
je 0x41a914
push 1
push 2
lea ecx, [ebp - 0x11c]
call fcn.004030f0
push edi
lea edx, [ebp - 0x11c]
push str.WideCharToMultiByte_failed_with:
push edx
mov byte [ebp - 4], 5
call fcn.00404c20
add esp, 8
mov ecx, eax
call fcn.0040d470
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004031f0
push 0xea
push str.XmlDomDoc.cpp
push eax
push 0x9c40
mov ecx, 0x536e48
mov byte [ebp - 4], 6
call fcn.0044af10
cmp dword [ebp - 0x18], 0x10
jb 0x41a8b7
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00458691
add esp, 4
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0xcc]
mov dword [ebp - 0x7c], edx
mov dword [ebp + ecx - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.00403220
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xcc]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push ecx
mov dword [ebp - 0xcc], vtable.std::ios_base.0
call fcn.00447a81
add esp, 4
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x41a928
push esi
call fcn.004587c5
add esp, 4
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.00411ac0
mov eax, 0x80004005
jmp 0x41aadb
mov eax, dword [ebp - 0x7c]
push 0x513d6c
push eax
lea ecx, [ebp - 0x80]
push ecx
mov byte [edi + esi], 0
call fcn.0045ad54
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x41a9b7
mov edx, dword [ebp - 0x80]
push edx
push 1
push edi
push esi
call fcn.0045ac1c
mov eax, dword [ebp - 0x80]
push eax
call fcn.0045aa51
lea eax, [esi - 8]
add esp, 0x14
cmp dword [eax], 0xdddd
jne 0x41a997
push eax
call fcn.004587c5
add esp, 4
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.00411ac0
xor eax, eax
jmp 0x41aadb
push 0x9c40
mov ecx, 0x536e48
call fcn.0044af00
test al, al
je 0x41aaab
push 1
push 2
lea ecx, [ebp - 0x11c]
call fcn.004030f0
push ebx
lea edx, [ebp - 0x11c]
push str.Failed_to_open_file_for_embedded_config:
push edx
mov byte [ebp - 4], 8
call fcn.00404c20
add esp, 8
mov ecx, eax
call fcn.00414820
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004031f0
push 0xf8
push str.XmlDomDoc.cpp
push eax
push 0x9c40
mov ecx, 0x536e48
mov byte [ebp - 4], 9
call fcn.0044af10
cmp dword [ebp - 0x18], 0x10
jb 0x41aa3c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00458691
add esp, 4
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0xcc]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x7c], edx
mov dword [ebp + ecx - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0xa
call fcn.00403220
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xcc]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push ecx
mov dword [ebp - 0xcc], vtable.std::ios_base.0
call fcn.00447a81
add esp, 4
cmp dword [esi - 8], 0xdddd
lea eax, [esi - 8]
jne 0x41aac0
push eax
call fcn.004587c5
add esp, 4
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.00411ac0
mov eax, ebx
lea esp, [ebp - 0x12c]
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.004587b6
mov esp, ebp
pop ebp
ret 4