Function at 0x40f750
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c704
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x456b38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb8], 0
call fcn.00403d60
mov byte [ebp - 0x1c], 0x21
mov byte [ebp - 0x1b], 0x2f
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], 0x28
mov byte [ebp - 0x17], 0x50
mov byte [ebp - 0x16], 0x36
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x78
mov byte [ebp - 0x13], 0x7c
mov byte [ebp - 0x12], 0
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
mov dword [ebp - 4], 0
jne 0x40f800
xor ecx, ecx
mov byte [ebp - 0x11], 1
lea esi, [ecx + 0x7f]
nop
mov al, byte [ebp + ecx - 0x1c]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 0xa
jb 0x40f7e0
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f806
sub ecx, edx
lea eax, [ebp - 0x1c]
add eax, ecx
lea ecx, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00417bf0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004181b0
add esp, 8
mov esi, eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 2
jb 0x40f84a
mov esi, dword [esi]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x174], 0x443be4
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 - 0x170]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x174]
mov dword [ebp - 0xb8], 3
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 - 0x174]
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x178], eax
lea eax, [ebp - 0x170]
mov ecx, eax
mov dword [ebp - 0x178], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 5
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
mov byte [ebp - 0x128], 0
mov byte [ebp - 0x133], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x457788]
mov ecx, dword [0x45778c]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x138], 0
push 0x40
push 0x32
push esi
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 6
call fcn.004190c0
test eax, eax
jne 0x40f94d
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 0
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_]
mov eax, dword [ebp - 0x174]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x178], eax
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x40f9b4
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f9aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f9aa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00438e9f
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp dword [ebp - 0x124], eax
jne 0x40f9d7
xor bl, bl
jmp 0x40fb7c
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.00410b90
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 9
push eax
call fcn.00417400
add esp, 0x10
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x40fa2f
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40fa25
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00438e9f
add esp, 8
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc0]
sub eax, ecx
mov dword [ebp - 0x3c], 0
push 0
push eax
push ecx
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
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__::write_char_const___long_long___int64__]
cmp dword [ebp - 0x124], 0
je 0x40fb0f
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x134]
cmp dword [eax], ecx
jne 0x40fa9c
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x120]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x154]
mov dword [eax], ecx
mov eax, dword [ebp - 0x144]
mov dword [eax], edx
lea esi, [ebp - 0x170]
mov ecx, esi
call fcn.0040ff30
push dword [ebp - 0x124]
xor ecx, ecx
test al, al
cmove esi, ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor ecx, ecx
add esp, 4
test eax, eax
mov byte [ebp - 0x128], cl
mov byte [ebp - 0x133], cl
cmovne esi, ecx
lea ecx, [ebp - 0x170]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x457788]
mov ecx, dword [0x45778c]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x138], 0
test esi, esi
jne 0x40fb6f
jmp 0x40fb54
lea ecx, [ebp - 0x170]
mov byte [ebp - 0x128], 0
mov byte [ebp - 0x133], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x457788]
mov ecx, dword [0x45778c]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 0
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_]
lea ecx, [ebp - 0xc4]
mov bl, 1
call fcn.00404c60
lea ecx, [ebp - 0x174]
call fcn.00405c30
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x40fbc3
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fbb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40fbb9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00438e9f
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.00404d70
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043910c
mov esp, ebp
pop ebp
ret