Function at 0x4400c0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5235ef
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x5b339c]
xor eax, esp
mov dword [esp + 0x544], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x55c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x56c]
mov esi, ecx
push 0x57ea28
lea ecx, [esp + 0x140]
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__]
xor ebx, ebx
mov dword [esp + 0x564], ebx
push 0x57ea28
lea ecx, [esp + 0xec]
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 + 0x564], 1
lea ecx, [esp + 0x7c]
call fcn.00469590
mov byte [esp + 0x564], 2
lea ecx, [esp + 0x34]
call fcn.00469590
mov byte [esp + 0x564], 3
lea ecx, [esp + 0x64]
call fcn.00469590
mov byte [esp + 0x564], 4
lea ecx, [esp + 0x4c]
call fcn.00469590
mov byte [esp + 0x564], 5
lea ecx, [esp + 0x120]
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_void_]
mov byte [esp + 0x564], 6
lea ecx, [esp + 0x94]
call fcn.00429e40
mov byte [esp + 0x564], 7
push edi
lea ecx, [esp + 0x108]
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 + 0x564], 8
push 0x57ea28
mov ecx, edi
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 [esi + 0x60]
call fcn.00415df0
mov esi, eax
cmp esi, ebx
je 0x44027e
mov eax, dword [esi]
mov edx, dword [eax + 0x12c]
push ebx
push 0x5b12bc
push 0x5b1180
push ebx
mov ecx, esi
call edx
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov ebp, eax
add esp, 0x14
cmp ebp, ebx
je 0x440277
sub esp, 0x1c
lea eax, [esp + 0x120]
mov ecx, esp
mov dword [esp + 0x30], 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 + 0x580], 9
lea ecx, [esp + 0xe8]
push ecx
mov byte [esp + 0x584], 8
mov ecx, ebp
call fcn.00507430
mov byte [esp + 0x564], 0xa
push eax
lea ecx, [esp + 0xec]
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 + 0x564], 8
lea ecx, [esp + 0xcc]
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 [ebp + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ebp + 0xc]
mov edx, dword [ecx + 8]
lea eax, [eax + ebp + 0xc]
push eax
call edx
mov ecx, esi
call fcn.004f6830
lea eax, [esp + 0xe8]
push 0x57ea28
push eax
call 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__]
add esp, 8
test al, al
je 0x4403db
lea ecx, [esp + 0xcc]
mov dword [esp + 0x14], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov bl, 0xb
mov byte [esp + 0x564], bl
push 0x545c9c
lea ecx, [esp + 0xec]
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 ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.MSVCR90.dll__wfopen_s]
add esp, 0xc
test eax, eax
jne 0x4403c6
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.MSVCR90.dll_fread]
push edx
push 0x400
lea eax, [esp + 0x160]
push 1
push eax
call esi
add esp, 0x10
test eax, eax
jbe 0x440359
push eax
lea ecx, [esp + 0x15c]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov byte [esp + 0x564], 0xc
push eax
lea ecx, [esp + 0xd0]
call dword [0x5391f8]
mov byte [esp + 0x564], bl
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [esp + 0x14]
push edx
push 0x400
lea eax, [esp + 0x160]
push 1
push eax
call esi
add esp, 0x10
test eax, eax
ja 0x440302
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCR90.dll_fclose]
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0xb8]
push eax
call fcn.00403770
mov byte [esp + 0x570], 0xd
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00518000
add esp, 0x14
mov byte [esp + 0x564], 0xe
push eax
mov ecx, edi
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 + 0x564], 0xd
lea ecx, [esp + 0x18]
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 + 0x564], bl
lea ecx, [esp + 0xb0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x564], 8
lea ecx, [esp + 0xcc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x564], 7
lea ecx, [esp + 0x104]
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 + 0x564], 6
lea ecx, [esp + 0x94]
call fcn.0042ad90
mov byte [esp + 0x564], 5
lea ecx, [esp + 0x120]
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 + 0x564], 4
lea ecx, [esp + 0x4c]
call fcn.004317c0
mov byte [esp + 0x564], 3
lea ecx, [esp + 0x64]
call fcn.004317c0
mov byte [esp + 0x564], 2
lea ecx, [esp + 0x34]
call fcn.0043e4a0
mov byte [esp + 0x564], 1
lea ecx, [esp + 0x7c]
call fcn.004317c0
mov byte [esp + 0x564], 0
lea ecx, [esp + 0xe8]
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 + 0x564], 0xffffffff
lea ecx, [esp + 0x13c]
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 + 0x55c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x544]
xor ecx, esp
call fcn.0051973e
add esp, 0x554
ret 4