Function at 0x6086b0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x7e3000]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov eax, 0x3d2d
mov word [ebp - 0x38], ax
mov ecx, 0x3d49
mov word [ebp - 0x36], cx
mov edx, 0x3d3f
mov word [ebp - 0x34], dx
mov eax, 0x3d5e
mov word [ebp - 0x32], ax
mov ecx, 0x3d2e
mov word [ebp - 0x30], cx
mov edx, 0x3d47
mov word [ebp - 0x2e], dx
mov eax, 0x3d74
mov word [ebp - 0x2c], ax
mov ecx, 0x3d46
mov word [ebp - 0x2a], cx
mov edx, 0x3d68
mov word [ebp - 0x28], dx
mov eax, 0x3d0c
mov word [ebp - 0x26], ax
mov ecx, 0x3d60
mov word [ebp - 0x24], cx
mov edx, 0x3d0c
mov word [ebp - 0x22], dx
mov eax, 0x3d0c
mov word [ebp - 0x20], ax
mov dword [ebp - 0x4c], 0xc
jmp 0x608763
mov ecx, dword [ebp - 0x4c]
sub ecx, 1
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x4c], 0
jle 0x608785
mov edx, dword [ebp - 0x4c]
movzx eax, word [ebp + edx*2 - 0x38]
mov ecx, dword [ebp - 0x4c]
movzx edx, word [ebp + ecx*2 - 0x3a]
xor eax, edx
mov ecx, dword [ebp - 0x4c]
mov word [ebp + ecx*2 - 0x38], ax
jmp 0x60875a
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x38]
xor ecx, 0x3d6c
mov edx, 2
imul eax, edx, 0
mov word [ebp + eax - 0x38], cx
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x1c], 0xb2
mov byte [ebp - 0x1b], 0xc0
mov byte [ebp - 0x1a], 0xb9
mov byte [ebp - 0x19], 0xc9
mov byte [ebp - 0x18], 0xbd
mov byte [ebp - 0x17], 0xfc
mov byte [ebp - 0x16], 0x9f
mov byte [ebp - 0x15], 0xee
mov byte [ebp - 0x14], 0x9b
mov byte [ebp - 0x13], 0xf2
mov byte [ebp - 0x12], 0x80
mov byte [ebp - 0x11], 0xe5
mov byte [ebp - 0x10], 0xa6
mov byte [ebp - 0xf], 0xc9
mov byte [ebp - 0xe], 0xa7
mov byte [ebp - 0xd], 0xd3
mov byte [ebp - 0xc], 0xb6
mov byte [ebp - 0xb], 0xce
mov byte [ebp - 0xa], 0xba
mov byte [ebp - 9], 0xed
mov byte [ebp - 8], 0xed
mov dword [ebp - 0x50], 0x14
jmp 0x608818
mov edx, dword [ebp - 0x50]
sub edx, 1
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0
jle 0x608839
mov eax, dword [ebp - 0x50]
movsx ecx, byte [ebp + eax - 0x1c]
mov edx, dword [ebp - 0x50]
movsx eax, byte [ebp + edx - 0x1d]
xor ecx, eax
mov edx, dword [ebp - 0x50]
mov byte [ebp + edx - 0x1c], cl
jmp 0x60880f
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x1c]
xor edx, 0xf1
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x1c], dl
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x58], eax
push 0xf0000000
push 0x18
push 0
push 0
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x60888c
jmp 0x608924
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
push 0x8003
mov eax, dword [ebp - 0x40]
push eax
call fcn.00607a40
add esp, 0x14
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x6088b0
jmp 0x608924
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00607c10
add esp, 0x10
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x6088d1
jmp 0x608924
lea ecx, [ebp - 0x44]
push ecx
push 1
mov edx, dword [ebp - 0x3c]
push edx
push 0x660e
mov eax, dword [ebp - 0x40]
push eax
call fcn.00607dd0
add esp, 0x14
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x6088f7
jmp 0x608924
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
push 1
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.00607fa0
add esp, 0x18
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x60891c
jmp 0x608924
xor ecx, ecx
jne 0x6086dc
cmp dword [ebp - 0x44], 0
je 0x608936
mov edx, dword [ebp - 0x44]
push edx
call fcn.00608160
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x608948
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00608320
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x60895c
push 0
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.006084e0
add esp, 8
mov eax, dword [ebp - 0x48]
jmp 0x608963
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00755942
mov esp, ebp
pop ebp
ret