Function at 0x40f490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d2c2
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4730bc]
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 + 8]
lea ecx, [ebp - 0xbc]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x10c], 0x45ea60
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x108]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x54], 8
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x110], eax
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 4
movaps xmm0, xmmword [0x45ea90]
lea eax, [ebp - 0x2a]
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 2
push eax
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x38], 0x35343433
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0x37363635
mov dword [ebp - 0x30], 0x39383837
mov word [ebp - 0x2c], 0x2b39
call fcn.0040ebe0
cmp dword [esi + 0x14], 0x10
mov ecx, esi
mov byte [ebp - 4], 3
jb 0x40f5b4
mov ecx, dword [esi]
mov edi, ecx
mov edx, ecx
jmp 0x40f5b8
mov edi, esi
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
mov dword [ebp - 0x58], eax
cmp ecx, eax
je 0x40f627
nop dword [eax]
nop dword [eax + eax]
mov al, byte [edi]
lea ecx, [ebp - 0x10c]
push 0x40f850
mov byte [ebp - 0x4c], al
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::ios_base_____cdecl___class_std::ios_base___]
push 0
mov esi, eax
lea eax, [ebp - 0x74]
push 2
push eax
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
mov eax, dword [esi]
add esp, 0x18
mov ecx, esi
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
movzx eax, byte [ebp - 0x4c]
push 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_]
inc edi
cmp edi, dword [ebp - 0x58]
jne 0x40f5d0
mov edx, dword [ebp - 0xcc]
xor edi, edi
mov eax, edx
mov dword [ebp - 0x28], 0
and al, 0x22
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], edi
mov esi, 0xf
mov dword [ebp - 0x14], esi
xorps xmm0, xmm0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x54], 0xc
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x68], edi
cmp al, 2
je 0x40f688
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax]
test ecx, ecx
je 0x40f688
mov eax, dword [ebp - 0xf8]
cmp ecx, dword [ebp - 0xd0]
cmovb ecx, dword [ebp - 0xd0]
mov edx, dword [eax]
sub ecx, edx
jmp 0x40f6b3
test dl, 4
jne 0x40f6ad
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax]
test ecx, ecx
je 0x40f6ad
mov eax, dword [ebp - 0xfc]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0xdc]
add ecx, dword [eax]
jmp 0x40f6b3
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
test edx, edx
je 0x40f6c7
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004028c0
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
cmp esi, 0x10
mov dword [ebp - 4], 5
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
add eax, edi
cmp esi, 0x10
push eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call fcn.0045a950
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
add esp, 8
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
add edi, ecx
cmp dword [ebp - 0x14], 0x10
cmovae esi, eax
cmp esi, edi
je 0x40f759
nop
mov al, byte [esi]
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x4c], al
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040eb90
mov eax, dword [ebp - 0x68]
cmp byte [eax + 0xd], 0
jne 0x40f735
mov cl, byte [esi]
cmp cl, byte [eax + 0xe]
jge 0x40f738
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x60]
je 0x40f751
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040ed60
mov al, byte [eax]
test al, al
je 0x40f751
mov byte [esi], al
inc esi
cmp esi, edi
jne 0x40f710
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x64]
cmovae edx, eax
mov ecx, edx
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f780
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00401e80
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x40f7c8
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f7be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f7be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045aae6
add esp, 8
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040ed10
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x50]
mov dword [ebp + edx - 0x110], ecx
lea ecx, [ebp - 0x108]
call fcn.00402390
lea ecx, [ebp - 0x104]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
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.0045aaf4
mov esp, ebp
pop ebp
ret