Function at 0x4401fe
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
call fcn.0043f39a
mov ecx, dword [0x54b070]
xor ebx, ebx
mov esi, str.CUS_STCA_LSan_Francisco_OBitTorrent_OUuTorrent_CNuTorrent
cmp ecx, ebx
je 0x440266
mov edx, dword [0x54b074]
cmp edx, ebx
je 0x440266
cmp dword [0x54825c], ebx
jne 0x440414
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x1001
push esi
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
call dword [0x5476c4]
mov dword [0x54825c], eax
cmp eax, ebx
je 0x440272
push ebx
push eax
call dword [0x5476cc]
mov dword [0x548260], eax
cmp dword [0x54825c], ebx
jne 0x440414
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push ebx
push 0xc
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0x4f95d4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0x4f95d8
call edi
test eax, eax
jne 0x4402af
push 8
push 0xc
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
call edi
test eax, eax
je 0x440404
lea eax, [ebp - 0x18]
push eax
push 0x4001
push 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x440404
push ebx
push 0x2000
push ebx
push 0x10000
push 2
call dword [0x5476d8]
mov dword [0x54825c], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 2
push esi
push 1
call dword [0x5476dc]
test eax, eax
jne 0x44030f
push ebx
push dword [0x54825c]
call dword [0x5476d0]
jmp 0x440404
mov ecx, dword [ebp - 4]
call fcn.0046b3f1
mov edi, eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
push 0x40000002
push esi
push 1
mov dword [ebp - 8], edi
call dword [0x5476dc]
mov eax, dword [ebp - 4]
push 7
pop ecx
push ebx
mov dword [ebp - 0x2c], eax
push ebx
xor eax, eax
mov dword [ebp - 0x28], edi
push ebx
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], str.Microsoft_RSA_SChannel_Cryptographic_Provider
mov dword [ebp - 0x4c], 0xc
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], str.1.2.840.113549.1.1.5
mov dword [ebp - 0x34], ebx
call dword [0x5476d4]
mov edi, eax
cmp edi, ebx
je 0x4403a8
lea eax, [ebp - 0x54]
push eax
push ebx
push 2
push edi
call dword [0x5476e4]
push 0x548260
push 4
push edi
push dword [0x54825c]
call dword [0x5476e0]
xor eax, eax
push 4
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x24]
push eax
push dword [0x54825c]
call dword [0x5476c8]
test eax, eax
je 0x4403f6
mov ecx, dword [ebp - 0x24]
call fcn.0046b3f1
push 4
push ebx
mov dword [ebp - 0x20], eax
push esi
lea eax, [ebp - 0x24]
push eax
push dword [0x54825c]
call dword [0x5476c8]
mov eax, dword [ebp - 0x20]
mov dword [0x54b070], eax
mov eax, dword [ebp - 0x24]
mov dword [0x54b074], eax
mov ecx, dword [ebp - 8]
cmp ecx, ebx
je 0x440404
mov dl, 1
call fcn.0046b3e9
lea ecx, [ebp - 0x14]
call fcn.0043f69c
lea ecx, [ebp - 0x1c]
call fcn.0043f666
pop edi
pop esi
pop ebx
leave
ret