Function at 0x4137c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cf66
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
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 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 0x413822
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x413bc2
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.00438e6f
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 0x4138f5
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 0x4138fd
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 0x413961
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 0x4439ac
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 0x41398b
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x41397e
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 0x4139a4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4139a4
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 0x413a21
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 0x413a01
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413a27
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.00417bf0
push 0
push 0x443a68
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 8
push eax
call sub.ncrypt.dll_NCryptOpenStorageProvider
test eax, eax
js 0x413b2c
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 0x413bf0
push 0
push 0x443a68
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0
push eax
call sub.ncrypt.dll_NCryptOpenStorageProvider
test eax, eax
js 0x413b1c
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push 0
cmovae eax, dword [ebp - 0x50]
push 0
push eax
push 0x443ab8
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0xa8]
call sub.ncrypt.dll_NCryptCreatePersistedKey
test eax, eax
js 0x413b1c
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 0x413b1c
push 0
push dword [ebp - 0xa4]
call sub.ncrypt.dll_NCryptFinalizeKey
test eax, eax
jns 0x413be0
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x413b2c
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 0x413b7d
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413b73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413d94
push edx
push ecx
call fcn.00438e9f
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.00404df0
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x413bb2
push eax
call sub.ncrypt.dll_NCryptFreeObject
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x413bc2
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.0043910c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x413bf0
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 0x413c2e
mov dword [ebp - 0x28], ecx
mov byte [ebp + ecx - 0x38], cl
jmp 0x413c3f
push 0
push ecx
lea ecx, [ebp - 0x38]
call fcn.00410470
mov eax, dword [ebp - 0xb0]
xor edi, edi
mov dword [ebp - 0xb4], edi
test eax, eax
je 0x413d9a
xor eax, eax
mov dword [ebp - 0xb8], eax
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x413c61
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 0x413d03
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 0x413c57
mov eax, dword [ebp - 0x28]
cmp edi, eax
jbe 0x413d9a
push 0
sub edi, eax
lea ecx, [ebp - 0x38]
push edi
call fcn.00410470
jmp 0x413dac
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 0x413d4a
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413d40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413d94
push edx
push ecx
call fcn.00438e9f
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 0x413b7d
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413b73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x413b73
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 0x413d4a