Function at 0x4510d3e0
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x838
lea ebp, [esp - 4]
mov eax, dword [0x4512b304]
xor eax, ebp
mov dword [ebp + 0x838], eax
push 0x44
mov eax, 0x45117819
call fcn.45115ec3
mov eax, dword [ebp + 0x850]
mov esi, dword [ebp + 0x844]
mov edi, dword [ebp + 0x848]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.dwutility.dll_public:_static_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_DwUtility::ufile::GetModulePathDir_void_]
pop ecx
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
push dword [eax]
xor ebx, ebx
push 0x5c
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::rfind_unsigned_short_int__unsigned_int_const]
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
push str.ProtoSrvIp.ini
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__]
add esp, 0xc
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea eax, [ebp - 0x34]
push edi
push eax
call sym.sesscomm.dll_public:_static_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_ProtoA2U::net2app_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x50]
push esi
push eax
mov byte [ebp - 4], 3
call sym.sesscomm.dll_public:_static_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_ProtoA2U::net2app_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP90.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
mov ecx, dword [ebp - 0x18]
push eax
push 0x400
lea eax, [ebp + 0x38]
push eax
push ebx
call dword [sym.imp.MSVCP90.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
mov ecx, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCP90.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
cmp dword [ebp - 0x10], ebx
jne 0x4510d585
push str.ProtoSrvConfigImpl::getSrvConfig:_error_to_get_private_profile_string:
lea ecx, [ebp - 0x34]
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__]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 5
call fcn.4510ca10
add esp, 0x3c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x838]
xor ecx, ebp
call fcn.45115eb4
add ebp, 0x83c
leave
ret
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
push dword [ebp - 0x14]
lea ecx, [ebp]
push dword [ebp + 0x84c]
mov byte [ebp - 4], 7
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x14], esp
push ecx
push eax
call sym.sesscomm.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_ProtoA2U::app2net_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__
pop ecx
pop ecx
call fcn.4510d185
add esp, 0x24
lea ecx, [ebp]
mov esi, eax
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
jmp 0x4510d553
jmp 0x4510d3e0