Function at 0x4039b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40de5e
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x414008]
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]
mov dword [ebp - 0x108], eax
push 0
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xec]
mov dword [ebp - 0x14], edx
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
push 0xb0
lea eax, [ebp - 0xc8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0xc8], 0x410028
lea ecx, [ebp - 0x60]
mov dword [ebp - 0xb8], 0x41000c
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xf0], 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xcc], eax
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xb0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xb8]
mov edi, dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
push 0
push 2
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x78], 0x30
lea eax, [ebp - 0x104]
push eax
call edi
lea edx, [ebp - 0xb8]
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 4]
add eax, edx
push eax
call ecx
add esp, 0x18
lea ecx, [ebp - 0xb8]
push dword [ebp - 0xe4]
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 edx, 0x40ff90
mov ecx, eax
call fcn.00401d80
mov esi, eax
push 0
push 2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
lea eax, [ebp - 0x118]
push eax
call edi
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
add esp, 0x18
mov ecx, esi
push dword [ebp - 0xe8]
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 edx, 0x40ff90
mov ecx, eax
call fcn.00401d80
mov esi, eax
push 0
push 2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
lea eax, [ebp - 0x128]
push eax
call edi
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
add esp, 0x18
mov ecx, esi
push dword [ebp - 0xec]
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 byte [ebp - 4], 3
xorps xmm0, xmm0
mov esi, dword [ebp - 0xf4]
mov edx, dword [ebp - 0x74]
mov eax, edx
and al, 0x22
mov dword [ebp - 0xf0], 0xa
movq qword [ebp - 0x100], xmm0
mov dword [ebp - 0xf8], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp al, 2
je 0x403c1e
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
test ecx, ecx
je 0x403c1e
mov eax, dword [ebp - 0xa0]
cmp ecx, dword [ebp - 0x78]
cmovb ecx, dword [ebp - 0x78]
mov edx, dword [eax]
sub ecx, edx
jmp 0x403c4f
test dl, 4
jne 0x403c43
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
test ecx, ecx
je 0x403c43
mov eax, dword [ebp - 0xa4]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0x84]
add ecx, dword [eax]
jmp 0x403c4f
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x100]
test edx, edx
je 0x403c5c
push ecx
push edx
mov ecx, esi
call fcn.00401b50
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x68]
mov dword [ebp + edx - 0xcc], ecx
lea ecx, [ebp - 0xb0]
call fcn.00404dd0
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x60]
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.0040cb87
mov esp, ebp
pop ebp
ret 4