Function at 0x443ec0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6025
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x4e400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x4d4], edi
mov dword [ebp - 0x4d0], 0
cmp dword [edi + 0x10], 0
je 0x444236
lea eax, [ebp - 0x414]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 4], 2
lea eax, [ebp - 0x414]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443f30
sub eax, edx
mov edx, dword [edi + 0x10]
mov ecx, 0x7fffffff
sub ecx, edx
cmp ecx, eax
jb 0x44427a
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x443f55
mov ecx, dword [edi]
push edx
push ecx
push eax
lea eax, [ebp - 0x414]
push eax
push ecx
push dword [ebp - 0x4d4]
lea ecx, [ebp - 0x4f0]
call fcn.00401920
mov dword [ebp - 0x4d0], 1
lea esi, [edi + 0x18]
lea eax, [ebp - 0x4f0]
cmp esi, eax
je 0x443fc1
mov ecx, esi
call fcn.00401770
movups xmm0, xmmword [ebp - 0x4f0]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x4e0]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4dc], 0xf
mov byte [ebp - 0x4f0], 0
mov esi, 1
mov dword [ebp - 0x4d0], esi
and esi, 0xfffffffe
mov dword [ebp - 0x4d0], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4f0]
call fcn.00401770
push 0xb8
push 0
lea eax, [ebp - 0x4cc]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x4cc], 0x4cf620
lea ecx, [ebp - 0x45c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 4], 3
or esi, 2
mov dword [ebp - 0x4d0], esi
push 0
push 0
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x4cc]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x4cc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x4cc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x4d0], eax
lea ecx, [ebp - 0x4bc]
call fcn.00442af0
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x4cc]
lea ecx, [ebp - 0x4cc]
add ecx, dword [eax + 4]
push 6
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::ios_base::exceptions_int_]
mov byte [ebp - 4], 7
lea esi, [edi + 0x18]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x4440a2
mov eax, dword [esi]
push ecx
push 1
push eax
lea ecx, [ebp - 0x4bc]
call fcn.004446d0
lea ecx, [ebp - 0x4cc]
push 0
test eax, eax
mov eax, dword [ebp - 0x4cc]
je 0x4440d0
add ecx, dword [eax + 4]
push 0
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x4440db
add ecx, dword [eax + 4]
push 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
cmp dword [ebp - 0x470], 0
je 0x44427f
lea ecx, [ebp - 0x4cc]
call fcn.00444670
mov byte [edi + 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4cc]
call fcn.004442e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b543e
mov esp, ebp
pop ebp
ret
push 0x49010000
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4d4], esp
push str._ReaderIni::init__Error__file_name_is_empty.
call fcn.004021f0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c4]
call fcn.00401bf0
push 0x4e1b54
lea eax, [ebp - 0x5c4]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.00401490
push 0x49020000
push esi
mov edx, str._ReaderIni::init__Error__nao_conseguiu_abrir_o_arquivo
lea ecx, [ebp - 0x4f0]
call fcn.00401860
mov byte [ebp - 4], 8
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x4d8], esp
push 0x4cf660
mov edx, eax
call fcn.0043d5b0
add esp, 4
mov byte [ebp - 4], 9
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x604]
call fcn.00401bf0
push 0x4e1b54
lea eax, [ebp - 0x604]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3