Function at 0x415080
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425968
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x435014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x104], eax
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
push 1
call esi
mov edi, eax
add esp, 4
mov dword [ebp - 0x108], edi
cmp dword [ebp - 0xf8], 0x3a8
mov dword [ebp - 4], 1
jne 0x4152fd
push 0
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Locimp::_New_Locimp_bool_]
add esp, 4
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
push 4
push str..936
call fcn.004093b0
push 0
mov byte [ebp - 4], 2
mov byte [ebp - 0xd9], 0
call esi
mov eax, dword [ebp - 0xe4]
add esp, 4
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
lea ecx, [ebp - 0xb4]
cmovae eax, dword [ebp - 0x80]
push eax
push 0x3f
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::_Locinfo::constructor_int__char_const__]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 4
mov esi, 0x42b720
call dword [sym.imp.MSVCP140.dll_public:_char_const____thiscall_std::_Locinfo::_Getname_void_const]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4151a1
test cl, cl
je 0x41519d
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4151a1
add eax, 2
add esi, 2
test cl, cl
jne 0x415181
xor eax, eax
jmp 0x4151a6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4151b3
mov byte [ebp - 0xd9], 1
jmp 0x4151f5
push 0
push dword [ebp - 0xe4]
lea eax, [ebp - 0xb4]
push 0x3f
push eax
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Locimp::_Makeloc_class_std::_Locinfo_const___int__class_std::locale::_Locimp___class_std::locale_const__]
mov eax, dword [ebp - 0xe4]
add esp, 0x10
mov dword [eax + 0x10], 0x3f
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
mov ecx, dword [ebp - 0xe4]
cmovae eax, dword [ebp - 0x80]
push eax
lea ecx, [ecx + 0x18]
call dword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____thiscall_std::_Yarn_char_::operator_char_const__]
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::_Locinfo::destructor_void_]
cmp byte [ebp - 0xd9], 0
mov byte [ebp - 4], 2
je 0x415232
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x415227
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push str.bad_locale_name
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xruntime_error_char_const__]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x41526c
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415262
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x415262
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042313b
add esp, 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCP140.dll_public:_static_class_std::locale___cdecl_std::locale::global_class_std::locale_const__]
mov esi, eax
add esp, 8
cmp edi, dword [esi + 4]
je 0x4152c2
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x4152b2
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov edi, dword [esi + 4]
mov ecx, edi
mov dword [ebp - 0x108], edi
mov eax, dword [edi]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4152dc
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4152dc
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xe4]
test ecx, ecx
je 0x4152fd
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4152fd
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
sub esp, 0xc
lea ecx, [ebp - 0x1c4]
push dword [ebp - 0xf4]
call fcn.00416320
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 6
push eax
push 2
push 0
push 0
lea ecx, [ebp - 0x1c4]
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__::seekg_long_long___int64___int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
push 0x40
push 0
mov ecx, dword [eax + 8]
add ecx, dword [eax]
lea eax, [ebp - 0x68]
shl edi, 0x14
push eax
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0xec], ecx
mov dword [ebp + 8], edi
movups xmmword [ebp - 0x28], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf0], vtable.CEncryptionAlgorithm.0
mov eax, dword [ebp - 0xec]
mov byte [ebp - 4], 7
mov ecx, dword [sym.imp.mfc140u.dll_operator_1]
mov esi, edi
imul esi, dword [ebp - 0xe4]
cmp eax, edi
jbe 0x415432
add edi, 0x10
push edi
call ecx
push dword [ebp + 8]
mov dword [ebp - 0xe0], eax
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
cmp dword [ebp - 0xe4], 0
jne 0x4153d6
mov eax, dword [ebp + 8]
mov edi, eax
push 0
push eax
push dword [ebp - 0xe0]
jmp 0x4153fa
lea eax, [ebp - 0x68]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
push edi
push dword [ebp - 0xe0]
call eax
mov eax, dword [ebp - 0xe0]
add esp, 0xc
add eax, 0x10
push 0
push dword [ebp + 8]
push eax
push 0
push 0
push esi
lea ecx, [ebp - 0x1c4]
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__::seekg_long_long___int64___int_]
mov ecx, 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__::read_char___long_long___int64__]
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xfc]
sub eax, esi
cmp eax, dword [ebp + 8]
lea ecx, [edx + 1]
cmovbe ecx, edx
mov dword [ebp - 0xe4], ecx
jmp 0x41549b
lea edi, [eax + 0x10]
push edi
call ecx
mov ecx, dword [ebp - 0xec]
push ecx
push 0
push eax
mov dword [ebp - 0xe0], eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x68]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
push edi
push dword [ebp - 0xe0]
call eax
mov ecx, dword [ebp - 0xec]
add esp, 0x1c
mov eax, dword [ebp - 0xe0]
add eax, 0x10
push 0
push ecx
push eax
push 0
lea eax, [esi + ecx]
push 0
push eax
lea ecx, [ebp - 0x1c4]
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__::seekg_long_long___int64___int_]
mov ecx, 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__::read_char___long_long___int64__]
mov dword [ebp - 0xf4], 0
push edi
mov edi, dword [ebp - 0xe0]
lea eax, [ebp - 0xd8]
push edi
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0
push eax
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0xd8], 0x67452301
mov dword [ebp - 0xd4], 0xefcdab89
mov dword [ebp - 0xd0], 0x98badcfe
mov dword [ebp - 0xcc], 0x10325476
call fcn.0040a330
xor edx, edx
lea ecx, [ebp - 0xc7]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x18], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x17], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x16], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x15], al
add edx, 4
cmp edx, 8
jb 0x415500
mov edx, dword [ebp - 0xc8]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0xf0]
push eax
push 0x435078
lea eax, [ebp - 0xd8]
push eax
call fcn.0040a330
push 8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040a330
xor edx, edx
lea ecx, [ebp - 0xd7]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x78], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x77], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x76], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x75], al
add edx, 4
cmp edx, 0x10
jb 0x415583
push 0x58
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x40
lea eax, [ebp - 0x68]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
xor esi, esi
movzx eax, byte [ebp + esi - 0x78]
push eax
push str._02x
lea eax, [ebp - 0x28]
push 0x10
push eax
call fcn.00407790
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x68]
push 0x40
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
inc esi
add esp, 0x1c
cmp esi, 0x10
jl 0x4155d0
push edi
call dword [sym.imp.mfc140u.dll_operator_2]
mov eax, dword [ebp - 0xec]
add esp, 4
mov edi, dword [ebp + 8]
sub eax, edi
cmp dword [ebp - 0xf4], 0
mov ecx, dword [sym.imp.mfc140u.dll_operator_1]
mov dword [ebp - 0xec], eax
jne 0x415392
lea ecx, [ebp - 0x1b4]
call fcn.004166a0
test eax, eax
jne 0x415656
push eax
mov eax, dword [ebp - 0x1c4]
lea ecx, [ebp - 0x1c4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
cmp dword [ebp - 0xf8], 0x3a8
mov esi, dword [ebp - 0x108]
jne 0x4156c1
mov dword [ebp - 0x14], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x100]
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 - 0xfc]
add esp, 8
test ecx, ecx
je 0x4156a7
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4156a7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4156c1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4156c1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
lea ecx, [ebp - 0x68]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4156c7
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
push 0x80
push dword [ebp - 0x104]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov eax, dword [ebp - 0x1c4]
add esp, 0x10
mov dword [ebp - 0xf0], vtable.CEncryptionAlgorithm.0
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 - 0x1c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1c8], eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x168], 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x415761
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x178]
cmp dword [eax], ecx
jne 0x415761
mov edx, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x164]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x198]
mov dword [eax], ecx
mov eax, dword [ebp - 0x188]
mov dword [eax], edx
cmp byte [ebp - 0x16c], 0
je 0x415775
lea ecx, [ebp - 0x1b4]
call fcn.004166a0
lea ecx, [ebp - 0x1b4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1ac]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x154]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
test esi, esi
je 0x4157b2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4157b2
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, 1
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.00422eb6
mov esp, ebp
pop ebp
ret 0x10