Function at 0x439dc0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x522470
mov eax, dword fs:[0]
push eax
sub esp, 0x87c
mov eax, dword [0x5b339c]
xor eax, esp
mov dword [esp + 0x878], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x890]
mov dword fs:[0], eax
mov esi, dword [esp + 0x8a0]
mov edi, ecx
push 0x57ea28
lea ecx, [esp + 0x58]
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 + 0x898], 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 byte [esp + 0x898], 1
push esi
lea ecx, [esp + 0x74]
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x898], 2
push 0x57ea28
mov ecx, esi
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_wchar_t_const__]
mov ecx, dword [edi + 0x60]
xor bl, bl
call fcn.00415df0
mov ebp, eax
test ebp, ebp
je 0x439f62
mov eax, dword [ebp]
mov edx, dword [eax + 0x12c]
push 0
push 0x5b12bc
push 0x5b1180
push 0
mov ecx, ebp
call edx
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov edi, eax
add esp, 0x14
test edi, edi
je 0x439f5b
sub esp, 0x1c
lea eax, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x34], esp
push 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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x8b4], 3
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x8b8], 2
mov ecx, edi
call fcn.00507350
mov byte [esp + 0x898], 4
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 + 0x898], 2
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_]
sub esp, 0x1c
lea edx, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x8b4], 5
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x8b8], 2
mov ecx, edi
call fcn.00507430
mov byte [esp + 0x898], 6
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 + 0x898], 2
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 ecx, dword [edi + 0xc]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + edi + 0xc]
lea eax, [edx + edi + 0xc]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, ebp
call fcn.004f6830
mov edi, 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 edi
add esp, 8
test al, al
je 0x43a0ae
lea ecx, [esp + 0x54]
push 0x57ea28
push ecx
call edi
add esp, 8
test al, al
je 0x43a0ae
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
test eax, eax
jne 0x43a00e
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.MSVCR90.dll_fread]
push eax
push 1
lea ecx, [esp + 0x1f]
push 1
push ecx
call ebp
add esp, 0x10
test eax, eax
jbe 0x439ffe
jmp 0x439fe0
mov eax, dword [esp + 0x18]
movsx edx, byte [esp + 0x17]
push eax
push 1
lea ecx, [esp + 0x1f]
push 1
push ecx
add edi, edx
call ebp
add esp, 0x10
test eax, eax
ja 0x439fe0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
jmp 0x43a059
push eax
lea eax, [esp + 0x90]
push 0x400
push eax
call dword [sym.imp.MSVCR90.dll__wcserror_s]
mov ecx, dword [0x5b6bb0]
mov ebx, dword [ecx]
add esp, 0xc
lea edx, [esp + 0x8c]
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 [ebx]
push eax
mov eax, dword [0x5b6bb0]
push str.Could_not_open_assembly_file___ls_:__ls.
push str.ServerToolkit::COPCServerNode::QueryConfigControlName2
push 1
push eax
call ecx
add esp, 0x18
lea edx, [esp + 0x54]
push edx
mov ecx, esi
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, esi
call dword [0x539464]
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.00438cf0
add esp, 8
mov byte [esp + 0x898], 7
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, esi
call dword [0x539464]
mov byte [esp + 0x898], 2
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 bl, 1
mov byte [esp + 0x898], 1
lea ecx, [esp + 0x70]
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 + 0x898], 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 + 0x898], 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 al, bl
mov ecx, dword [esp + 0x890]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x878]
xor ecx, esp
call fcn.0051973e
add esp, 0x888
ret 4