Function at 0x49a570
Capabilities:
Contain obfuscated stackstrings

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 0x59cf8c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x258
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 eax, ecx
mov dword [ebp - 0xb4], eax
xor edi, edi
xor esi, esi
mov dword [ebp - 0xcc], edi
mov ecx, dword [eax + 0x534]
mov dword [ebp - 0x58], 0x5bffa4
mov dword [ebp - 0x54], 0x5bffac
mov dword [ebp - 0x50], 0x5bffb4
mov eax, dword [ecx]
mov dword [ebp - 0x4c], 0x5c001c
mov dword [ebp - 0x48], 0x5c0024
mov dword [ebp - 0x44], 0x5c002c
mov dword [ebp - 0x40], 0x5c0034
mov dword [ebp - 0x3c], 0x5bfffc
mov dword [ebp - 0x38], 0x5c0004
mov dword [ebp - 0x34], 0x5c000c
mov dword [ebp - 0x30], 0x5c0014
mov dword [ebp - 0x2c], 0x5c00ac
mov dword [ebp - 0x28], 0x5c00b4
mov dword [ebp - 0x24], 0x5c00bc
mov dword [ebp - 0x20], str.Byte
mov dword [ebp - 0x1c], 0x5c003c
mov dword [ebp - 0x18], 0x5c0044
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0xc4], eax
cmp eax, ecx
je 0x49afb7
lea esi, [eax + 0x10]
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x18]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xbc]
mov ecx, dword [ecx]
push eax
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
call dword [edx + 0x10]
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x180], 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 - 0x17c]
mov dword [ebp - 4], 0
or edi, 0x10
lea ecx, [ebp - 0x180]
push eax
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xcc], 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 - 0x180]
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 - 0x180]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x184], eax
lea ecx, [ebp - 0x17c]
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 - 0x144], 0
mov dword [ebp - 0x140], 4
push 0
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 2
mov edi, dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
push 0xa
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x180]
mov edx, eax
call fcn.004205d0
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x49a763
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.004208d0
add esp, 4
mov edx, 0x5bdb10
mov ecx, eax
call fcn.004200e0
push 0
mov esi, eax
lea eax, [ebp - 0x258]
push 4
push eax
call edi
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.004205d0
mov edi, dword [ebp - 0xa4]
mov ecx, eax
mov edx, dword [ebp + edi*4 - 0x58]
call fcn.004200e0
mov edx, 0x5bdb10
mov ecx, eax
call fcn.004200e0
push 0
mov esi, eax
lea eax, [ebp - 0x268]
push 4
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.004205d0
push dword [ebp - 0xbc]
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___long_int_]
mov edx, 0x5c004c
mov ecx, eax
call fcn.00420340
push 0
mov esi, eax
lea eax, [ebp - 0x190]
push 4
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.004205d0
push dword [ebp - 0xc0]
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___long_int_]
mov edx, 0x5bdb10
mov ecx, eax
call fcn.004200e0
xor edx, edx
mov dword [ebp - 0xa4], edx
cmp edi, 2
jne 0x49aa0e
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov dword [ebp - 0xcc], edi
mov eax, dword [edi + 0x288]
test eax, eax
jne 0x49a867
add dword [ebp - 0xa0], edx
xor edi, edi
movd xmm0, edx
cvtdq2pd xmm0, xmm0
jmp 0x49aa6f
mov eax, dword [eax + 0x48]
xor esi, esi
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x90], esi
test eax, eax
je 0x49aa1e
mov ecx, dword [edi + 0x288]
mov dword [ebp - 0x94], esi
lea eax, [ecx + 0x48]
test ecx, ecx
je 0x49a946
cmp esi, dword [eax]
jge 0x49a946
lea ecx, [edi + 0x2f8]
mov edi, dword [ecx]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x8c], edi
lea edi, [esi*4]
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + edi]
test ecx, ecx
je 0x49a8e5
mov esi, dword [ebp - 0x8c]
mov ecx, dword [esi + edi]
cmp dword [ecx + 0x28c], 0
je 0x49a8e5
mov esi, dword [ecx + 0x290]
mov dword [ebp - 0x94], esi
mov esi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x94]
mov ecx, dword [esi + ecx*4]
mov esi, dword [ebp - 0x90]
test ecx, ecx
jne 0x49a916
xor edx, edx
mov dword [ebp - 0x94], esi
xor ecx, ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x9c], ecx
jmp 0x49a983
mov esi, dword [ebp - 0x94]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [edx + esi*4]
mov esi, dword [ebp - 0x90]
mov edx, dword [ebp - 0xa4]
cmp dword [ecx + 0x28c], 0
mov ecx, dword [ebp - 0x98]
jne 0x49a9f3
jmp 0x49a953
lea ecx, [edi + 0x2f8]
lea edi, [esi*4]
mov dword [ebp - 0x94], esi
xor edx, edx
mov esi, dword [ebp - 0xcc]
mov dword [ebp - 0x98], ecx
xor ecx, ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x9c], ecx
cmp dword [esi + 0x288], ecx
mov esi, dword [ebp - 0x90]
je 0x49a9e1
cmp esi, dword [eax]
jge 0x49a9e1
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
mov eax, dword [edi + eax]
test eax, eax
je 0x49a9ad
cmp dword [eax + 0x28c], 0
je 0x49a9ad
mov eax, dword [eax + 0x290]
jmp 0x49a9b3
mov eax, dword [ebp - 0x94]
mov edi, dword [ebp - 0x90]
mov edi, dword [edi + eax*4]
test edi, edi
je 0x49a9e1
mov eax, dword [edi]
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x9c]
imul ecx, edx
mov edx, dword [ebp - 0xa4]
lea edx, [edx + ecx*4]
mov dword [ebp - 0xa4], edx
mov edi, dword [ebp - 0xcc]
inc esi
mov dword [ebp - 0x90], esi
cmp esi, dword [ebp - 0xa8]
jb 0x49a880
jmp 0x49aa1e
mov edx, dword [ebp - 0xbc]
imul edx, dword [ebp - 0xc0]
shl edx, 2
add dword [ebp - 0xa0], edx
cmp edx, 0x400
jge 0x49aa38
movd xmm0, edx
xor edi, edi
cvtdq2pd xmm0, xmm0
jmp 0x49aa6f
movsd xmm1, qword [0x5c6ed8]
xor eax, eax
cmp edx, 0x100000
movd xmm0, edx
cvtdq2pd xmm0, xmm0
setge al
inc eax
mov dword [ebp - 0xa8], eax
nop word [eax + eax]
mulsd xmm0, xmm1
sub eax, 1
jne 0x49aa60
mov edi, dword [ebp - 0xa8]
push 0x41a270
lea ecx, [ebp - 0x180]
movsd qword [ebp - 0xd0], 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___class_std::ios_base_____cdecl___class_std::ios_base___]
push 0
mov esi, eax
lea eax, [ebp - 0x1a0]
push 2
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.004205d0
movsd xmm0, qword [ebp - 0xd0]
sub esp, 8
mov ecx, eax
movsd qword [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___double_]
mov edx, dword [ebp + edi*4 - 0x20]
mov ecx, eax
call fcn.004200e0
mov edx, 0x5bdc84
mov ecx, eax
call fcn.004200e0
mov byte [ebp - 4], 3
xor eax, eax
mov edx, dword [ebp - 0x140]
xorps xmm0, xmm0
mov edi, dword [ebp - 0xac]
movups xmmword [ebp - 0x70], xmm0
mov word [ebp - 0x70], ax
or edi, 4
mov dword [ebp - 0xdc], eax
mov eax, edx
and al, 0x22
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0xcc], edi
movq qword [ebp - 0xe4], xmm0
cmp al, 2
je 0x49ab47
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
test ecx, ecx
je 0x49ab47
cmp ecx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x16c]
cmovb ecx, dword [ebp - 0x144]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x49ab7d
test dl, 4
jne 0x49ab71
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax]
test ecx, ecx
je 0x49ab71
mov eax, dword [ebp - 0x170]
mov edx, dword [eax]
mov eax, dword [ebp - 0x150]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
sub ecx, edx
sar ecx, 1
jmp 0x49ab7d
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xe4]
test edx, edx
je 0x49ab8b
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004039f0
and edi, 0xfffffffb
mov dword [ebp - 4], 2
or edi, 2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
cmp dword [0x5df104], 8
mov eax, 0x5df0f0
push dword [0x5df100]
cmovae eax, dword [0x5df0f0]
push eax
push 0
call fcn.0040b320
xor ecx, ecx
or edi, 1
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd8], xmm0
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov ecx, 0x5df0f0
movq qword [ebp - 0xb0], xmm0
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00403990
movups xmm0, xmmword [ebp - 0xd8]
xor eax, eax
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 7
movups xmmword [0x5df0f0], xmm0
mov word [ebp - 0x88], ax
movq xmm0, qword [ebp - 0xb0]
movq qword [0x5df100], xmm0
call fcn.00403990
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x49ac81
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49ac77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ad1b
push ecx
push edx
call fcn.0052d747
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x180]
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 - 0x180]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x184], eax
lea ecx, [ebp - 0x17c]
call fcn.004052a0
lea ecx, [ebp - 0x178]
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 - 0x130]
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 - 0xc4]
call fcn.00422410
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ecx + 0x534]
jne 0x49a656
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x49afb7
mov ecx, dword [0x5df100]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0x2c
jb 0x49afd7
jmp 0x49ad21
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp dword [0x5df104], 8
mov eax, 0x5df0f0
push 0x2c
cmovae eax, dword [0x5df0f0]
push 0x5c0050
push ecx
push eax
push ecx
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x70]
call fcn.00403e90
mov ecx, dword [0x5df104]
cmp ecx, 8
jb 0x49ad87
mov eax, dword [0x5df0f0]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x49ad7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ad1b
mov eax, edx
push ecx
push eax
call fcn.0052d747
add esp, 8
movups xmm0, xmmword [ebp - 0x70]
xor eax, eax
lea ecx, [ebp - 0x70]
mov word [ebp - 0x70], ax
movups xmmword [0x5df0f0], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [0x5df100], xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
call fcn.00403990
mov ecx, esi
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
cmp esi, 0x400
jge 0x49add1
xor edi, edi
jmp 0x49adff
movsd xmm1, qword [0x5c6ed8]
xor eax, eax
cmp esi, 0x100000
setge al
inc eax
mov dword [ebp - 0xb4], eax
nop dword [eax + eax]
mulsd xmm0, xmm1
sub eax, 1
jne 0x49adf0
mov edi, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x238]
movsd qword [ebp - 0xb0], xmm0
call fcn.00419cb0
push 0
lea eax, [ebp - 0x1a0]
mov dword [ebp - 4], 5
push 0x20
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 - 0x238]
mov edx, eax
call fcn.004205d0
mov edx, str.Total_:
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___]
push 0
mov esi, eax
lea eax, [ebp - 0x190]
push 2
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.004205d0
movsd xmm0, qword [ebp - 0xb0]
sub esp, 8
mov ecx, eax
movsd qword [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___double_]
mov edx, dword [ebp + edi*4 - 0x20]
mov ecx, eax
call fcn.004200e0
mov edx, 0x5bdc84
mov ecx, eax
call fcn.004200e0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x238]
call fcn.00419bc0
mov byte [ebp - 4], 6
mov ecx, 0x5df0f0
cmp dword [0x5df104], 8
push dword [0x5df100]
cmovae ecx, dword [0x5df0f0]
push ecx
push 0
mov ecx, eax
call fcn.0040b320
xor ecx, ecx
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 [0x5df104]
movq qword [ebp - 0xb8], xmm1
movups xmmword [ebp - 0xe8], xmm0
cmp ecx, 8
jb 0x49af53
mov eax, dword [0x5df0f0]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x49af3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ad1b
mov eax, edx
push ecx
push eax
call fcn.0052d747
movups xmm0, xmmword [ebp - 0xe8]
add esp, 8
movq xmm1, qword [ebp - 0xb8]
lea ecx, [ebp - 0x88]
movq qword [0x5df100], xmm1
movups xmmword [0x5df0f0], xmm0
call fcn.00403990
mov eax, dword [ebp - 0x238]
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 - 0x238]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x23c], eax
lea ecx, [ebp - 0x234]
call fcn.004052a0
lea ecx, [ebp - 0x230]
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 - 0x1e8]
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 - 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 4
call fcn.00402990
int3