Function at 0x421400
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594ed5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d8
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebx + 8]
xor edi, edi
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x74], edi
lea esi, [edi + 0x30]
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x3c], 1
test eax, eax
je 0x4214bc
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x421877
lea esi, [edi + 0x30]
push 0
push 0x5bd430
mov ecx, 0x5df110
call fcn.004039f0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [0x5e4810]
mov word [ebp - 0x7a], ax
mov dword [ebp - 0x80], edi
sub ecx, dword [0x5e480c]
je 0x421877
mov dword [ebp - 0x98], edi
nop dword [eax]
nop word [eax + eax]
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x148], 0x5bd7c8
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x144]
mov dword [ebp - 4], 0
or edi, 0x10000
lea ecx, [ebp - 0x148]
push eax
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x74], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t_____bool_]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x148], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x14c], eax
lea ecx, [ebp - 0x144]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 4
push 0
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 2
push 0xa
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
lea ecx, [ebp - 0x148]
mov edx, eax
call fcn.004205d0
mov edi, dword [ebp - 0x98]
push edi
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov word [ecx + eax + 0x40], si
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_int_]
mov edx, 0x5bdb10
mov ecx, eax
call fcn.004200e0
xor esi, esi
mov eax, edi
mov ecx, 8
cdq
idiv ecx
mov ecx, eax
mov eax, 0x411
cmp word [ebp - 0x7a], ax
mov eax, dword [0x5e480c]
mov al, byte [ecx + eax]
jne 0x421624
mov dword [ebp - 0x28], 0x8040201
mov dword [ebp - 0x24], 0x80402010
and al, byte [ebp + edx - 0x28]
mov edx, 0x5bdc80
mov eax, 0x5bdc94
jmp 0x421640
mov dword [ebp - 0x20], 0x8040201
mov dword [ebp - 0x1c], 0x80402010
and al, byte [ebp + edx - 0x20]
mov edx, 0x5bdc8c
mov eax, 0x5bdca8
cmove edx, eax
lea ecx, [ebp - 0x148]
call fcn.004200e0
cmp esi, 7
je 0x421663
mov edx, 0x5bdb0c
lea ecx, [ebp - 0x148]
call fcn.004200e0
inc esi
inc edi
cmp esi, 8
jl 0x4215e7
mov dword [ebp - 0x98], edi
lea ecx, [ebp - 0x148]
mov edi, dword [ebp - 0x9c]
mov edx, 0x5bdc84
call fcn.004200e0
mov byte [ebp - 4], 3
xor eax, eax
mov edx, dword [ebp - 0x108]
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov word [ebp - 0x54], ax
or edi, 0x400
mov eax, edx
mov dword [ebp - 0x44], 0
and al, 0x22
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x74], edi
movq qword [ebp - 0x8c], xmm0
cmp al, 2
je 0x4216ef
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
test ecx, ecx
je 0x4216ef
cmp ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x134]
cmovb ecx, dword [ebp - 0x10c]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x421725
test dl, 4
jne 0x421719
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
test ecx, ecx
je 0x421719
mov eax, dword [ebp - 0x138]
mov edx, dword [eax]
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
sub ecx, edx
sar ecx, 1
jmp 0x421725
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
test edx, edx
je 0x421733
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.004039f0
and edi, 0xfffffbff
mov dword [ebp - 4], 2
or edi, 0x200
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
cmp dword [0x5df124], 8
mov eax, 0x5df110
push dword [0x5df120]
cmovae eax, dword [0x5df110]
push eax
push 0
call fcn.0040b320
xor ecx, ecx
or edi, 0x100
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov ecx, 0x5df110
movq qword [ebp - 0xa0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00403990
movups xmm0, xmmword [ebp - 0xb0]
movups xmmword [0x5df110], xmm0
movq xmm0, qword [ebp - 0xa0]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x40]
movq qword [0x5df120], xmm0
cmp ecx, 8
jb 0x421800
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4217f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421871
push ecx
push edx
call fcn.0052d747
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x148], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x14c], eax
lea ecx, [ebp - 0x144]
call fcn.004052a0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0x80]
mov eax, dword [0x5e4810]
inc ecx
sub eax, dword [0x5e480c]
mov dword [ebp - 0x80], ecx
cmp ecx, eax
jae 0x421877
mov esi, 0x30
jmp 0x421500
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp dword [ebp - 0x38], 0
je 0x421b9c
push 0
push 0x5bd430
mov ecx, 0x5df090
call fcn.004039f0
mov eax, dword [0x5e479c]
xor esi, esi
sub eax, dword [0x5e4798]
sar eax, 2
test eax, eax
je 0x421b9c
nop word [eax + eax]
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x148], 0x5bd7c8
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x144]
mov dword [ebp - 4], 5
or edi, 0x4000
lea ecx, [ebp - 0x148]
push eax
mov dword [ebp - 0x74], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t_____bool_]
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x148], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x14c], eax
lea ecx, [ebp - 0x144]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 4
push 0
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 7
push 0xa
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
lea ecx, [ebp - 0x148]
mov edx, eax
call fcn.004205d0
mov edx, 0x30
push esi
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov word [ecx + eax + 0x40], dx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_int_]
mov edx, 0x5bdb10
mov ecx, eax
call fcn.004200e0
push 0x41a270
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, dword [0x5e4798]
push ecx
movss xmm0, dword [ecx + esi*4]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___float_]
mov edx, 0x5bdc84
mov ecx, eax
call fcn.004200e0
mov byte [ebp - 4], 8
xor eax, eax
mov edx, dword [ebp - 0x108]
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov word [ebp - 0x54], ax
or edi, 0x1000
mov eax, edx
mov dword [ebp - 0x44], 0
and al, 0x22
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x74], edi
movq qword [ebp - 0x8c], xmm0
cmp al, 2
je 0x421a25
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
test ecx, ecx
je 0x421a25
cmp ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x134]
cmovb ecx, dword [ebp - 0x10c]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x421a5b
test dl, 4
jne 0x421a4f
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
test ecx, ecx
je 0x421a4f
mov eax, dword [ebp - 0x138]
mov edx, dword [eax]
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
sub ecx, edx
sar ecx, 1
jmp 0x421a5b
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
test edx, edx
je 0x421a69
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.004039f0
and edi, 0xffffefff
mov dword [ebp - 4], 7
or edi, 0x800
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x54]
cmp dword [0x5df0a4], 8
mov eax, 0x5df090
push dword [0x5df0a0]
cmovae eax, dword [0x5df090]
push eax
push 0
call fcn.0040b320
xor ecx, ecx
or edi, 0x2000
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov ecx, 0x5df090
movq qword [ebp - 0x20], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00403990
movups xmm0, xmmword [ebp - 0xb0]
movups xmmword [0x5df090], xmm0
movq xmm0, qword [ebp - 0x20]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x40]
movq qword [0x5df0a0], xmm0
cmp ecx, 8
jb 0x421b34
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421b2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421871
push ecx
push edx
call fcn.0052d747
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x148], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x14c], eax
lea ecx, [ebp - 0x144]
call fcn.004052a0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov eax, dword [0x5e479c]
inc esi
sub eax, dword [0x5e4798]
sar eax, 2
cmp esi, eax
jb 0x4218b0
cmp dword [ebp - 0x34], 0
je 0x422037
push 0
push 0x5bd430
mov ecx, 0x5df0d0
call fcn.004039f0
push ecx
lea ecx, [ebp - 0x148]
call fcn.00419cb0
push 0
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xa
push 0xa
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
lea ecx, [ebp - 0x148]
mov edx, eax
call fcn.004205d0
mov edx, str.Current
mov ecx, eax
call fcn.004200e0
mov edx, 0x5bdb10
mov ecx, eax
call fcn.004200e0
mov edx, dword [ebp - 0x94]
mov ecx, eax
call fcn.004200e0
mov edx, 0x5bdc84
mov ecx, eax
call fcn.004200e0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x148]
call fcn.00419bc0
mov byte [ebp - 4], 0xb
mov ecx, 0x5df0d0
cmp dword [0x5df0e4], 8
push dword [0x5df0e0]
cmovae ecx, dword [0x5df0d0]
push ecx
push 0
mov ecx, eax
call fcn.0040b320
xor ecx, ecx
or edi, 0x8000
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [0x5df0e4]
movq qword [ebp - 0x20], xmm1
movups xmmword [ebp - 0xb0], xmm0
cmp ecx, 8
jb 0x421cc7
mov eax, dword [0x5df0d0]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x421cb1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421871
mov eax, edx
push ecx
push eax
call fcn.0052d747
movups xmm0, xmmword [ebp - 0xb0]
add esp, 8
movq xmm1, qword [ebp - 0x20]
lea ecx, [ebp - 0x54]
movq qword [0x5df0e0], xmm1
movups xmmword [0x5df0d0], xmm0
call fcn.00403990
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x148], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x14c], eax
lea ecx, [ebp - 0x144]
call fcn.004052a0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x90]
mov esi, dword [eax + 4]
sub esi, dword [eax]
sar esi, 5
test esi, esi
je 0x422037
mov eax, esi
shl eax, 5
mov dword [ebp - 0x7c], eax
nop dword [eax]
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x148], 0x5bd7c8
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x144]
mov dword [ebp - 4], 0xc
or edi, 0x80
lea ecx, [ebp - 0x148]
push eax
mov dword [ebp - 0x74], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t_____bool_]
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x148], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x14c], eax
lea ecx, [ebp - 0x144]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 4
push 0
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xe
push 0xa
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
lea ecx, [ebp - 0x148]
mov edx, eax
call fcn.004205d0
mov edx, 0x30
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov word [ecx + eax + 0x40], dx
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ecx]
push dword [edx + ecx - 8]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
mov edx, 0x5bdb10
mov ecx, eax
call fcn.004200e0
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
mov eax, dword [ebp - 0x7c]
add eax, 0xffffffe0
add edx, eax
cmp dword [edx + 0x14], 8
jb 0x421e5a
mov edx, dword [edx]
mov ecx, dword [ebp - 0x94]
call fcn.004200e0
mov edx, 0x5bdc84
mov ecx, eax
call fcn.004200e0
mov byte [ebp - 4], 0xf
xor eax, eax
mov edx, dword [ebp - 0x108]
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov word [ebp - 0x54], ax
or edi, 0x40
mov eax, edx
mov dword [ebp - 0x44], 0
and al, 0x22
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x74], edi
movq qword [ebp - 0x8c], xmm0
cmp al, 2
je 0x421ed3
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
test ecx, ecx
je 0x421ed3
cmp ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x134]
cmovb ecx, dword [ebp - 0x10c]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x421f09
test dl, 4
jne 0x421efd
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
test ecx, ecx
je 0x421efd
mov eax, dword [ebp - 0x138]
mov edx, dword [eax]
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
sub ecx, edx
sar ecx, 1
jmp 0x421f09
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
test edx, edx
je 0x421f17
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.004039f0
and edi, 0xffffffbf
mov dword [ebp - 4], 0xe
or edi, 0x20
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x54]
cmp dword [0x5df0e4], 8
mov eax, 0x5df0d0
push dword [0x5df0e0]
cmovae eax, dword [0x5df0d0]
push eax
push 0
call fcn.0040b320
xor ecx, ecx
or edi, 0x10
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov ecx, 0x5df0d0
movq qword [ebp - 0x20], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00403990
movups xmm0, xmmword [ebp - 0xb0]
movups xmmword [0x5df0d0], xmm0
movq xmm0, qword [ebp - 0x20]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x40]
movq qword [0x5df0e0], xmm0
cmp ecx, 8
jb 0x421fd9
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421fcf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421871
push ecx
push edx
call fcn.0052d747
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x148], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x14c], eax
lea ecx, [ebp - 0x144]
call fcn.004052a0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
sub dword [ebp - 0x7c], 0x20
sub esi, 1
jne 0x421d50
cmp dword [ebp - 0x30], 0
je 0x422353
push 0
push 0x5bd430
mov ecx, 0x5df0b0
call fcn.004039f0
mov eax, dword [0x5e4790]
mov esi, dword [eax]
mov dword [ebp - 0x80], esi
cmp esi, eax
je 0x422353
nop dword [eax]
nop dword [eax + eax]
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x1e8], 0x5bd7c8
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x1e4]
mov dword [ebp - 4], 0x11
or edi, 8
lea ecx, [ebp - 0x1e8]
push eax
mov dword [ebp - 0x74], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t_____bool_]
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1ec], eax
lea ecx, [ebp - 0x1e4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 4
mov dword [ebp - 4], 0x13
lea edx, [esi + 0x10]
cmp dword [esi + 0x24], 8
jb 0x422115
mov edx, dword [esi + 0x10]
lea ecx, [ebp - 0x1e8]
call fcn.004200e0
mov edx, 0x5bdb10
mov ecx, eax
call fcn.004200e0
cmp dword [esi + 0x3c], 8
lea edx, [esi + 0x28]
jb 0x422137
mov edx, dword [edx]
mov ecx, eax
call fcn.004200e0
mov edx, 0x5bdc84
mov ecx, eax
call fcn.004200e0
mov byte [ebp - 4], 0x14
xor eax, eax
mov edx, dword [ebp - 0x1a8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov word [ebp - 0x70], ax
or edi, 2
mov eax, edx
mov dword [ebp - 0x60], 0
and al, 0x22
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x74], edi
movq qword [ebp - 0x8c], xmm0
cmp al, 2
je 0x4221ac
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax]
test ecx, ecx
je 0x4221ac
cmp ecx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1d4]
cmovb ecx, dword [ebp - 0x1ac]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x4221e2
test dl, 4
jne 0x4221d6
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax]
test ecx, ecx
je 0x4221d6
mov eax, dword [ebp - 0x1d8]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b8]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
sub ecx, edx
sar ecx, 1
jmp 0x4221e2
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
test edx, edx
je 0x4221f0
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004039f0
and edi, 0xfffffffd
mov dword [ebp - 4], 0x13
or edi, 1
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x70]
cmp dword [0x5df0c4], 8
mov eax, 0x5df0b0
push dword [0x5df0c0]
cmovae eax, dword [0x5df0b0]
push eax
push 0
call fcn.0040b320
xor ecx, ecx
or edi, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb0], xmm0
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov ecx, 0x5df0b0
movq qword [ebp - 0x20], xmm0
movq qword [ebp - 0x44], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00403990
movups xmm0, xmmword [ebp - 0xb0]
xor eax, eax
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
movups xmmword [0x5df0b0], xmm0
mov word [ebp - 0x54], ax
movq xmm0, qword [ebp - 0x20]
movq qword [0x5df0c0], xmm0
call fcn.00403990
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x4222d7
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4222cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421871
push ecx
push edx
call fcn.0052d747
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1ec], eax
lea ecx, [ebp - 0x1e4]
call fcn.004052a0
lea ecx, [ebp - 0x1e0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x198]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x80]
call fcn.00422410
mov esi, dword [ebp - 0x80]
cmp esi, dword [0x5e4790]
jne 0x422070
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x422377
push 0
push 0x5bd430
mov ecx, 0x5df0f0
call fcn.004039f0
push ecx
mov ecx, dword [ebp - 0x14c]
call fcn.0049a570
cmp dword [0x5e45f8], 0
je 0x4223ba
cmp dword [ebp - 0x3c], 0
jne 0x42239c
cmp dword [ebp - 0x38], 0
jne 0x42239c
cmp dword [ebp - 0x34], 0
jne 0x42239c
cmp dword [ebp - 0x30], 0
jne 0x42239c
test esi, esi
je 0x4223ba
cmp dword [ebx + 0x20], 0
je 0x4223a9
call fcn.00420f70
jmp 0x4223ba
mov eax, dword [0x5e45ec]
cmp dword [ebp + eax*4 - 0x3c], 0
je 0x4223ba
call fcn.00421090
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x4223e6
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20