Function at 0x451500
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2de6
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4ce4bc]
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 ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xbc], esi
cmp dword [ebx + 0x10], 0
jne 0x451562
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x451902
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0xc0], 0
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0xc8], 0
mov dword [ebp - 0xa0], vtable.std::wstring_convert_class_std::codecvt_utf8_utf16_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
push 1
mov byte [ebp - 4], 2
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
push 0x34
mov byte [ebp - 4], 5
mov word [ebp - 0x58], ax
mov byte [ebp - 0x56], al
call fcn.00499abe
mov edi, eax
mov dword [ebp - 0xa8], eax
add esp, 8
mov dword [ebp - 0xb0], edi
mov byte [ebp - 4], 6
test edi, edi
je 0x451635
push 0
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_int_]
mov dword [edi], vtable.std::codecvt_utf8_utf16_wchar_t__1114111__0_.0
jmp 0x45163d
xor edi, edi
mov dword [ebp - 0xa8], edi
push dword [ebp - 0x94]
mov byte [ebp - 4], 5
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x9c], edi
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const__]
add esp, 4
mov edi, eax
cmp dword [ebp - 0xa8], 0
je 0x4516a1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
call dword [sym.imp.MSVCP140.dll_public:_unsigned_int___thiscall_std::locale::id::operator_unsigned_int_void_]
push eax
push dword [ebp - 0xa8]
push edi
call dword [sym.imp.MSVCP140.dll_private:_static_void___cdecl_std::locale::_Locimp::_Locimp_Addfac_class_std::locale::_Locimp___class_std::locale::facet___unsigned_int_]
add esp, 0xc
mov dword [edi + 0x10], 0
lea ecx, [edi + 0x18]
push 0x4ae62c
call dword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____thiscall_std::_Yarn_char_::operator_char_const__]
mov ecx, dword [ebp - 0x94]
cmp ecx, edi
je 0x4516cb
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4516be
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov dword [ebp - 0x94], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
test edi, edi
je 0x4516e4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4516e4
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x20], 0xe
mov byte [ebp - 0x1f], 0x1b
mov byte [ebp - 0x1e], 0x5e
mov byte [ebp - 0x1d], 0x63
mov byte [ebp - 0x1c], 0x49
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], 0x78
mov byte [ebp - 0x19], 0x63
mov byte [ebp - 0x18], 0x49
mov byte [ebp - 0x17], 0x43
mov byte [ebp - 0x16], 0xd
mov byte [ebp - 0x15], 0x35
mov byte [ebp - 0x14], 0x2f
mov byte [ebp - 0x13], 0x79
mov byte [ebp - 0x12], 0
mov al, byte [ebp - 0x20]
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 7
jne 0x451761
xor ecx, ecx
mov byte [ebp - 0x11], 1
lea edi, [ecx + 0x7f]
mov al, byte [ebp + ecx - 0x20]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xe
jb 0x451741
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451767
sub ecx, edx
lea eax, [ebp - 0x20]
add eax, ecx
lea ecx, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00452eb0
push 0
push str.Microsoft_Software_Key_Storage_Provider
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 8
push eax
call sub.ncrypt.dll_NCryptOpenStorageProvider
test eax, eax
js 0x45186c
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push 0
cmovae eax, dword [ebp - 0x50]
push 0
push eax
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0xac]
call sub.ncrypt.dll_NCryptOpenKey
test eax, eax
jns 0x451930
push 0
push str.Microsoft_Software_Key_Storage_Provider
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0
push eax
call sub.ncrypt.dll_NCryptOpenStorageProvider
test eax, eax
js 0x45185c
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push 0
cmovae eax, dword [ebp - 0x50]
push 0
push eax
push 0x4ae738
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0xa8]
call sub.ncrypt.dll_NCryptCreatePersistedKey
test eax, eax
js 0x45185c
push 0
push 4
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0x1000
push eax
push str.Length
push dword [ebp - 0xa4]
call sub.ncrypt.dll_NCryptSetProperty
test eax, eax
js 0x45185c
push 0
push dword [ebp - 0xa4]
call sub.ncrypt.dll_NCryptFinalizeKey
test eax, eax
jns 0x451920
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x45186c
push eax
call sub.ncrypt.dll_NCryptFreeObject
mov edx, dword [ebp - 0x3c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp edx, 8
jb 0x4518bd
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4518b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451ad4
push edx
push ecx
call fcn.00499aee
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 7
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x40], eax
mov word [ebp - 0x50], ax
call fcn.0044d720
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x4518f2
push eax
call sub.ncrypt.dll_NCryptFreeObject
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x451902
push eax
call sub.ncrypt.dll_NCryptFreeObject
mov eax, esi
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.00499afc
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x451930
push eax
call sub.ncrypt.dll_NCryptFreeObject
mov eax, dword [ebx + 0x10]
dec eax
mov dword [ebp - 0x38], 0
shr eax, 9
inc eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
imul ecx, eax, 0x1f5
mov byte [ebp - 4], 9
test ecx, ecx
jne 0x45196e
mov dword [ebp - 0x28], ecx
mov byte [ebp + ecx - 0x38], cl
jmp 0x45197f
push 0
push ecx
lea ecx, [ebp - 0x38]
call fcn.0040ca60
mov eax, dword [ebp - 0xb0]
xor edi, edi
mov dword [ebp - 0xb4], edi
test eax, eax
je 0x451ada
xor eax, eax
mov dword [ebp - 0xb8], eax
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x4519a1
mov ecx, dword [ebx]
lea edx, [eax + ecx]
mov dword [ebp - 0xa8], 0
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa8]
sub ecx, eax
mov eax, 0x200
cmp ecx, 0x200
push 2
cmova ecx, eax
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
push esi
cmovae eax, dword [ebp - 0x38]
push 0x1f5
add eax, edi
push eax
push 0
push ecx
push edx
push dword [ebp - 0xa4]
call sub.ncrypt.dll_NCryptDecrypt
mov esi, dword [ebp - 0xbc]
test eax, eax
js 0x451a43
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xb8]
inc ecx
add edi, dword [ebp - 0xa8]
add eax, 0x200
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb8], eax
cmp ecx, dword [ebp - 0xb0]
jb 0x451997
mov eax, dword [ebp - 0x28]
cmp edi, eax
jbe 0x451ada
push 0
sub edi, eax
lea ecx, [ebp - 0x38]
push edi
call fcn.0040ca60
jmp 0x451aec
mov edx, dword [ebp - 0x24]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp edx, 0x10
jb 0x451a8a
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451a80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451ad4
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp edx, 8
jb 0x4518bd
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4518b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4518b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
mov dword [ebp - 0x28], edi
cmovae eax, dword [ebp - 0x38]
mov byte [eax + edi], 0
mov eax, dword [ebp - 0x38]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x14], eax
jmp 0x451a8a