Function at 0x413a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4908f5
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4be4bc]
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0x88]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x8c], 0
call fcn.004116e0
mov byte [ebp - 0x20], 0xe
lea ecx, [ebp - 0x20]
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 dword [ebp - 4], 1
mov byte [ebp - 0x11], 0
call fcn.00413a40
mov edx, eax
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413b43
sub ecx, ebx
lea eax, [ecx + edx]
push eax
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x88]
call fcn.004148a0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [ebp - 4], 2
mov byte [esi], 0
push 0
push str.Microsoft_Software_Key_Storage_Provider
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 3
push eax
mov dword [ebp - 0x90], 0
call sub.ncrypt.dll_NCryptOpenStorageProvider
test eax, eax
js 0x413c72
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 0
cmovae eax, dword [ebp - 0x38]
push 0
push eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x94]
call sub.ncrypt.dll_NCryptOpenKey
test eax, eax
jns 0x413be5
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00414cd0
add esp, 8
test al, al
je 0x413c72
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x413bef
mov eax, dword [edi]
push 2
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0
push 0
push dword [edi + 0x10]
lea ebx, [edi + 0x10]
push eax
push dword [ebp - 0x8c]
call sub.ncrypt.dll_NCryptDecrypt
test eax, eax
js 0x413c72
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x90]
cmp eax, ecx
ja 0x413c34
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x413c2e
mov ecx, dword [esi]
mov byte [ecx + eax], 0
jmp 0x413c40
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00413530
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x413c4a
mov eax, dword [esi]
cmp dword [edi + 0x14], 0x10
jb 0x413c52
mov edi, dword [edi]
push 2
lea ecx, [ebp - 0x90]
push ecx
push dword [ebp - 0x90]
push eax
push 0
push dword [ebx]
push edi
push dword [ebp - 0x8c]
call sub.ncrypt.dll_NCryptDecrypt
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x413c82
push eax
call sub.ncrypt.dll_NCryptFreeObject
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x413c92
push eax
call sub.ncrypt.dll_NCryptFreeObject
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x413cce
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413cc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x413cc4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.00411bf0
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.0048cbb4
mov esp, ebp
pop ebp
ret