Function at 0x437ce0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439314
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x44c654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
push 0x441790
lea ecx, [ebp - 0x28]
call fcn.00401340
mov dword [ebp - 4], 0
push 0
push 0x18
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x437db7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x80090016
je 0x437d6b
jmp 0x437f5e
push 8
push 0x18
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x437db7
push 0x10
push 0x18
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x437d9c
jmp 0x437f5e
push 8
push 0x18
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x437db7
jmp 0x437f5e
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0x800c
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x437dd7
jmp 0x437f5e
cmp dword [ebp + 0x18], 0
jne 0x437dec
mov eax, dword [ebp + 0x10]
push eax
call fcn.0041fc48
add esp, 4
mov dword [ebp + 0x18], eax
push 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x437e09
jmp 0x437f5e
lea ecx, [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
push 0x6610
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x437e2b
jmp 0x437f5e
mov dword [ebp - 0x2c], 2
push 0
lea ecx, [ebp - 0x2c]
push ecx
push 4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
jne 0x437e4d
jmp 0x437f5e
cmp dword [ebp + 0x14], 0
jne 0x437e62
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041fc48
add esp, 4
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx + 0x10]
push edx
call fcn.00420b5a
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], 0
jmp 0x437e92
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x14]
jae 0x437f23
mov edx, dword [ebp - 0x34]
shl edx, 1
mov eax, dword [ebp + 0xc]
mov cx, word [eax + edx*2]
mov word [ebp - 0x3c], cx
mov edx, dword [ebp - 0x34]
shl edx, 1
mov eax, dword [ebp + 0xc]
mov cx, word [eax + edx*2 + 2]
mov word [ebp - 0x40], cx
movzx edx, word [ebp - 0x3c]
cmp edx, 0x39
jle 0x437ed4
movzx eax, word [ebp - 0x3c]
sub eax, 0x57
mov dword [ebp - 0x48], eax
jmp 0x437ede
movzx ecx, word [ebp - 0x3c]
sub ecx, 0x30
mov dword [ebp - 0x48], ecx
mov dl, byte [ebp - 0x48]
mov byte [ebp - 0x35], dl
movzx eax, word [ebp - 0x40]
cmp eax, 0x39
jle 0x437ef9
movzx ecx, word [ebp - 0x40]
sub ecx, 0x57
mov dword [ebp - 0x4c], ecx
jmp 0x437f03
movzx edx, word [ebp - 0x40]
sub edx, 0x30
mov dword [ebp - 0x4c], edx
mov al, byte [ebp - 0x4c]
mov byte [ebp - 0x36], al
movzx ecx, byte [ebp - 0x35]
shl ecx, 4
movzx edx, byte [ebp - 0x36]
add ecx, edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x34]
mov byte [eax], cl
jmp 0x437e89
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 1
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x437f41
jmp 0x437f5e
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
xor edx, edx
mov eax, dword [ebp - 0x24]
mov word [eax], dx
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004015a0
cmp dword [ebp - 0x10], 0
je 0x437f77
mov edx, dword [ebp - 0x10]
push edx
call fcn.00420a7d
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x18], 0
je 0x437f87
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 0x1c], 0
je 0x437f97
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x20], 0
je 0x437fa9
push 0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402890
mov ecx, dword [ebp - 0x44]
or ecx, 1
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004013c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret