Function at 0x4013e0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404f6e
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x409008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 8
lea ecx, [ebp - 0x274]
call fcn.00401220
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_static_class_std::locale___cdecl_std::locale::global_class_std::locale_const__]
mov ecx, dword [ebp - 0x25c]
add esp, 8
test ecx, ecx
je 0x401450
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x401450
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x270]
test ecx, ecx
je 0x40146d
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x40146d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push 1
mov dword [ebp - 4], 1
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
add esp, 4
mov dword [ebp - 0x264], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x268]
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
push eax
lea eax, [ebp - 0x260]
push eax
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_class_std::locale___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const__]
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x4014ca
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4014ca
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x264]
test ecx, ecx
je 0x4014e7
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4014e7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push str.Conversor_UiTextureSetListN.bin
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0xfffffffffffffff5
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Conversor_UiTextureListN_by
mov edi, eax
call fcn.00403780
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push 2
push edi
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.SANJi
call fcn.00403780
push 4
push edi
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___WebCheats_n__n
call fcn.00403780
push 7
push edi
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Escolha_uma_opo:_n
call fcn.00403780
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.1._Converter_para_arquivo_de_texto__txt_._n
call fcn.00403780
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.2._Converter_para_arquivo_binrio__bin_._n__n
call fcn.00403780
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Opo:
call fcn.00403780
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
mov eax, dword [ebp - 0x38]
cmp eax, 1
jne 0x401985
push 0xb8
lea eax, [ebp - 0x3dc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x3dc]
push 0x20
push str.UITextureListN.bin
call fcn.00402fb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3dc]
mov eax, dword [ebp - 0x3dc]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator__void_const]
test al, al
je 0x40163a
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Erro_ao_abrir_o_arquivo.
push 0x4039a0
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x3dc]
call fcn.00402210
jmp 0x4021df
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor edi, edi
movq qword [ebp - 0x1c], xmm0
xor esi, esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3e0], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
push esi
push 0x210
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x3dc]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x4016f9
nop
cmp edi, esi
je 0x4016b2
mov ecx, 0x84
lea esi, [ebp - 0x254]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x3e0]
add edi, 0x210
mov dword [ebp - 0x18], edi
jmp 0x4016c5
lea eax, [ebp - 0x254]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00403ec0
mov edi, dword [ebp - 0x18]
push 0
push 0x210
lea eax, [ebp - 0x254]
mov dword [ebp - 0x3e0], edi
push eax
lea ecx, [ebp - 0x3dc]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
mov esi, dword [ebp - 0x14]
test al, al
jne 0x401690
lea ecx, [ebp - 0x3cc]
call fcn.004035a0
test eax, eax
jne 0x401720
push eax
mov eax, dword [ebp - 0x3dc]
lea ecx, [ebp - 0x3dc]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 0xb0
lea eax, [ebp - 0x324]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x324]
push 2
push str.UITextureListN.txt
call fcn.00402390
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x324]
mov eax, dword [ebp - 0x324]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator__void_const]
test al, al
je 0x401787
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Erro_ao_criar_o_arquivo_de_sada.
push 0x4039a0
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x401962
mov ecx, dword [ebp - 0x1c]
mov eax, 0x3e0f83e1
sub edi, ecx
mov dword [ebp - 0x258], 0
imul edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x40193b
lea esi, [ecx + 0x1fe]
xor eax, eax
mov dword [ebp - 0x3e0], esi
nop dword [eax + eax]
push 0x4039a0
push eax
mov edx, str.ID:
lea ecx, [ebp - 0x324]
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x4039a0
mov edx, str.Nome_do_arquivo:
lea ecx, [ebp - 0x324]
call fcn.00403780
lea edx, [esi - 0x1fe]
mov ecx, eax
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov esi, dword [ebp - 0x3e0]
lea ecx, [ebp - 0x324]
push 0x4039a0
mov edx, str.Parte_do_arquivo:
call fcn.00403780
lea edx, [esi - 0xff]
mov ecx, eax
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
movsx eax, byte [esi]
lea ecx, [ebp - 0x324]
push 0x4039a0
push eax
mov edx, str.Alpha:
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x4039a0
push dword [esi + 2]
mov edx, str.ltimo_tempo_de_uso:
lea ecx, [ebp - 0x324]
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x4039a0
push dword [esi + 6]
mov edx, str.Tempo_de_exibio:
lea ecx, [ebp - 0x324]
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x4039a0
push dword [esi + 0xa]
mov edx, str.ltimo_tempo_de_uso_antigo:
lea ecx, [ebp - 0x324]
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x4039a0
push dword [esi + 0xe]
mov edx, str.Tempo_de_exibio_antigo:
lea ecx, [ebp - 0x324]
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x4039a0
lea ecx, [ebp - 0x324]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x258]
inc eax
add esi, 0x210
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x3e0], esi
cmp eax, edi
jb 0x4017c0
lea ecx, [ebp - 0x320]
call fcn.004035a0
test eax, eax
jne 0x401962
push eax
mov eax, dword [ebp - 0x324]
lea ecx, [ebp - 0x324]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x324]
call fcn.004022d0
lea ecx, [ebp - 0x1c]
call fcn.004030e0
lea ecx, [ebp - 0x3dc]
call fcn.00402210
jmp 0x4021df
cmp eax, 2
jne 0x4021c2
push 0xb8
lea eax, [ebp - 0x3dc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x3dc]
push 1
push str.UITextureListN.txt
call fcn.00402fb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3dc]
mov eax, dword [ebp - 0x3dc]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator__void_const]
test al, al
je 0x401a05
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Erro_ao_abrir_o_arquivo_de_texto.
push 0x4039a0
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x3dc]
mov esi, 1
call fcn.00402210
jmp 0x4021e1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor esi, esi
movq qword [ebp - 0x1c], xmm0
xor edi, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3dc]
mov eax, dword [ebp - 0x3dc]
push 0xa
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x3dc]
call fcn.00403d10
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x402069
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x401aba
cmp edi, dword [ebp - 0x14]
je 0x401aa2
mov ecx, 0x84
lea esi, [ebp - 0x254]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
add edi, 0x210
mov dword [ebp - 0x18], edi
jmp 0x402025
lea eax, [ebp - 0x254]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00403ec0
mov edi, dword [ebp - 0x18]
jmp 0x402025
push ecx
push str.Nome_do_arquivo:
lea ecx, [ebp - 0x34]
call fcn.00403150
test eax, eax
jne 0x401b5a
mov dword [ebp - 0x3e8], eax
xorps xmm0, xmm0
mov dword [ebp - 0x3e4], eax
movups xmmword [ebp - 0x3f8], xmm0
cmp esi, 0x11
jb 0x4021fe
or ecx, 0xffffffff
lea eax, [esi - 0x11]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
add eax, 0x11
lea ecx, [ebp - 0x3f8]
push eax
call fcn.00403ad0
cmp dword [ebp - 0x3e4], 0x10
lea eax, [ebp - 0x3f8]
cmovae eax, dword [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x254]
push 0xff
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov ecx, dword [ebp - 0x3e4]
add esp, 0xc
cmp ecx, 0x10
jb 0x402025
mov edx, dword [ebp - 0x3f8]
jmp 0x401ffc
push ecx
push str.Parte_do_arquivo:
lea ecx, [ebp - 0x34]
call fcn.00403150
test eax, eax
jne 0x401bd2
mov dword [ebp - 0x3e8], eax
xorps xmm0, xmm0
mov dword [ebp - 0x3e4], eax
movups xmmword [ebp - 0x3f8], xmm0
cmp esi, 0x12
jb 0x4021fe
or ecx, 0xffffffff
lea eax, [esi - 0x12]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
add eax, 0x12
lea ecx, [ebp - 0x3f8]
push eax
call fcn.00403ad0
cmp dword [ebp - 0x3e4], 0x10
lea eax, [ebp - 0x3f8]
cmovae eax, dword [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x155]
jmp 0x401b31
push ecx
push str.Alpha:
lea ecx, [ebp - 0x34]
call fcn.00403150
test eax, eax
jne 0x401ca9
mov dword [ebp - 0x400], eax
xorps xmm0, xmm0
mov dword [ebp - 0x3fc], eax
movups xmmword [ebp - 0x410], xmm0
cmp esi, 7
jb 0x4021fe
or ecx, 0xffffffff
lea eax, [esi - 7]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
add eax, 7
lea ecx, [ebp - 0x410]
push eax
call fcn.00403ad0
mov byte [ebp - 4], 0xa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x3fc], 0x10
lea esi, [ebp - 0x410]
mov dword [ebp - 0x3e0], eax
cmovae esi, dword [ebp - 0x410]
mov dword [eax], 0
lea eax, [ebp - 0x258]
push 0xa
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x258]
je 0x402104
mov eax, dword [ebp - 0x3e0]
cmp dword [eax], 0x22
je 0x4020f9
mov byte [ebp - 0x56], cl
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x3fc]
cmp ecx, 0x10
jb 0x402025
mov edx, dword [ebp - 0x410]
jmp 0x401ffc
push ecx
push str.ltimo_tempo_de_uso:
lea ecx, [ebp - 0x34]
call fcn.00403150
test eax, eax
jne 0x401d80
mov dword [ebp - 0x418], eax
xorps xmm0, xmm0
mov dword [ebp - 0x414], eax
movups xmmword [ebp - 0x428], xmm0
cmp esi, 0x15
jb 0x4021fe
or ecx, 0xffffffff
lea eax, [esi - 0x15]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
add eax, 0x15
lea ecx, [ebp - 0x428]
push eax
call fcn.00403ad0
mov byte [ebp - 4], 0xb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x414], 0x10
lea esi, [ebp - 0x428]
mov dword [ebp - 0x3e0], eax
cmovae esi, dword [ebp - 0x428]
mov dword [eax], 0
lea eax, [ebp - 0x26c]
push 0xa
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x26c]
je 0x402104
mov eax, dword [ebp - 0x3e0]
cmp dword [eax], 0x22
je 0x4020f9
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x414]
cmp ecx, 0x10
jb 0x402025
mov edx, dword [ebp - 0x428]
jmp 0x401ffc
push ecx
push str.Tempo_de_exibio:
lea ecx, [ebp - 0x34]
call fcn.00403150
test eax, eax
jne 0x401e57
mov dword [ebp - 0x430], eax
xorps xmm0, xmm0
mov dword [ebp - 0x42c], eax
movups xmmword [ebp - 0x440], xmm0
cmp esi, 0x14
jb 0x4021fe
or ecx, 0xffffffff
lea eax, [esi - 0x14]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
add eax, 0x14
lea ecx, [ebp - 0x440]
push eax
call fcn.00403ad0
mov byte [ebp - 4], 0xc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x42c], 0x10
lea esi, [ebp - 0x440]
mov dword [ebp - 0x3e0], eax
cmovae esi, dword [ebp - 0x440]
mov dword [eax], 0
lea eax, [ebp - 0x270]
push 0xa
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x270]
je 0x402104
mov eax, dword [ebp - 0x3e0]
cmp dword [eax], 0x22
je 0x4020f9
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x42c]
cmp ecx, 0x10
jb 0x402025
mov edx, dword [ebp - 0x440]
jmp 0x401ffc
push ecx
push str.ltimo_tempo_de_uso_antigo:
lea ecx, [ebp - 0x34]
call fcn.00403150
test eax, eax
jne 0x401f2e
mov dword [ebp - 0x448], eax
xorps xmm0, xmm0
mov dword [ebp - 0x444], eax
movups xmmword [ebp - 0x458], xmm0
cmp esi, 0x1d
jb 0x4021fe
or ecx, 0xffffffff
lea eax, [esi - 0x1d]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
add eax, 0x1d
lea ecx, [ebp - 0x458]
push eax
call fcn.00403ad0
mov byte [ebp - 4], 0xd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x444], 0x10
lea esi, [ebp - 0x458]
mov dword [ebp - 0x3e0], eax
cmovae esi, dword [ebp - 0x458]
mov dword [eax], 0
lea eax, [ebp - 0x25c]
push 0xa
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x25c]
je 0x402104
mov eax, dword [ebp - 0x3e0]
cmp dword [eax], 0x22
je 0x4020f9
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x444]
cmp ecx, 0x10
jb 0x402025
mov edx, dword [ebp - 0x458]
jmp 0x401ffc
push ecx
push str.Tempo_de_exibio_antigo:
lea ecx, [ebp - 0x34]
call fcn.00403150
test eax, eax
jne 0x402025
mov dword [ebp - 0x460], eax
xorps xmm0, xmm0
mov dword [ebp - 0x45c], eax
movups xmmword [ebp - 0x470], xmm0
cmp esi, 0x1c
jb 0x4021fe
or ecx, 0xffffffff
lea eax, [esi - 0x1c]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
add eax, 0x1c
lea ecx, [ebp - 0x470]
push eax
call fcn.00403ad0
mov byte [ebp - 4], 0xe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x45c], 0x10
lea esi, [ebp - 0x470]
mov dword [ebp - 0x3e0], eax
cmovae esi, dword [ebp - 0x470]
mov dword [eax], 0
lea eax, [ebp - 0x264]
push 0xa
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x264]
je 0x402104
mov eax, dword [ebp - 0x3e0]
cmp dword [eax], 0x22
je 0x4020f9
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x45c]
cmp ecx, 0x10
jb 0x402025
mov edx, dword [ebp - 0x470]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40201b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40218b
push ecx
push edx
call fcn.00404164
add esp, 8
mov eax, dword [ebp - 0x3dc]
lea ecx, [ebp - 0x3dc]
push 0xa
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x3dc]
call fcn.00403d10
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
jne 0x401a78
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x3cc]
call fcn.004035a0
test eax, eax
jne 0x402090
push eax
mov eax, dword [ebp - 0x3dc]
lea ecx, [ebp - 0x3dc]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 0xb0
lea eax, [ebp - 0x324]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x324]
push 0x20
push str.UITextureListN.bin
call fcn.00402390
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x324]
mov eax, dword [ebp - 0x324]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator__void_const]
test al, al
je 0x40210f
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Erro_ao_criar_o_arquivo_binrio_de_sada.
push 0x4039a0
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov esi, 1
jmp 0x40215a
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
cmp esi, edi
je 0x402131
push 0
push 0x210
push esi
lea ecx, [ebp - 0x324]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
add esi, 0x210
cmp esi, edi
jne 0x402113
lea ecx, [ebp - 0x320]
call fcn.004035a0
test eax, eax
jne 0x402158
push eax
mov eax, dword [ebp - 0x324]
lea ecx, [ebp - 0x324]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
xor esi, esi
lea ecx, [ebp - 0x324]
call fcn.004022d0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x40219b
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402191
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402191
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404164
add esp, 8
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.004030e0
lea ecx, [ebp - 0x3dc]
call fcn.00402210
jmp 0x4021e1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Opo_invlida.
push 0x4039a0
call fcn.00403780
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404126
mov esp, ebp
pop ebp
ret
call fcn.00403770
int3