Function at 0x43a3d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x52253c
mov eax, dword fs:[0]
push eax
sub esp, 0x860
mov eax, dword [0x5b339c]
xor eax, esp
mov dword [esp + 0x85c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x874]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x60]
mov ebp, dword [esp + 0x884]
call fcn.00415df0
push 0x57ea28
lea ecx, [esp + 0x58]
mov edi, eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [esp + 0x87c], 0
push 0x57ea28
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ebx, 1
mov byte [esp + 0x87c], bl
test edi, edi
je 0x43a4fd
mov eax, dword [edi]
mov edx, dword [eax + 0x12c]
push 0
push 0x5b12bc
push 0x5b1180
push 0
mov ecx, edi
call edx
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
test esi, esi
je 0x43a4f6
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00433dd0
mov byte [esp + 0x87c], 2
push eax
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x87c], bl
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00433e40
mov byte [esp + 0x87c], 3
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x87c], bl
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi + 0xc]
mov edx, dword [ecx + 8]
lea eax, [eax + esi + 0xc]
push eax
call edx
mov ecx, edi
call fcn.004f6830
mov esi, dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
lea eax, [esp + 0x38]
push 0x57ea28
push eax
call esi
add esp, 8
test al, al
je 0x43a636
lea ecx, [esp + 0x54]
push 0x57ea28
push ecx
call esi
add esp, 8
test al, al
je 0x43a636
xor edi, edi
push 0x545c9c
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.MSVCR90.dll__wfopen_s]
add esp, 0xc
cmp eax, edi
jne 0x43a5a0
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCR90.dll_fread]
push eax
push ebx
lea ecx, [esp + 0x1f]
push ebx
push ecx
call esi
add esp, 0x10
test eax, eax
jbe 0x43a590
mov eax, dword [esp + 0x18]
movsx edx, byte [esp + 0x17]
push eax
push ebx
lea ecx, [esp + 0x1f]
push ebx
push ecx
add edi, edx
call esi
add esp, 0x10
test eax, eax
ja 0x43a574
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
jmp 0x43a5e4
push eax
lea eax, [esp + 0x74]
push 0x400
push eax
call dword [sym.imp.MSVCR90.dll__wcserror_s]
mov ecx, dword [0x5b6bb0]
mov esi, dword [ecx]
add esp, 0xc
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov ecx, dword [esi]
push eax
mov eax, dword [0x5b6bb0]
push str.Could_not_open_assembly_file___ls_:__ls.
push str.ServerToolkit::COPCServerNode::QueryAutoConfigControlName
push ebx
push eax
call ecx
add esp, 0x18
lea edx, [esp + 0x54]
push edx
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x5461e0
mov ecx, ebp
call dword [0x539464]
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.00438cf0
add esp, 8
mov byte [esp + 0x87c], 4
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
mov ecx, ebp
call dword [0x539464]
mov byte [esp + 0x87c], bl
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x87c], 0
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [esp + 0x87c], 0xffffffff
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x874]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x85c]
xor ecx, esp
call fcn.0051973e
add esp, 0x86c
ret 4