Function at 0x437cf0
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 0x439324
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 0x441558
lea ecx, [ebp - 0x28]
call fcn.004012e0
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 0x437dc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x80090016
je 0x437d7b
jmp 0x437f6e
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 0x437dc7
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 0x437dac
jmp 0x437f6e
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 0x437dc7
jmp 0x437f6e
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 0x437de7
jmp 0x437f6e
cmp dword [ebp + 0x18], 0
jne 0x437dfc
mov eax, dword [ebp + 0x10]
push eax
call fcn.0041fc38
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 0x437e19
jmp 0x437f6e
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 0x437e3b
jmp 0x437f6e
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 0x437e5d
jmp 0x437f6e
cmp dword [ebp + 0x14], 0
jne 0x437e72
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041fc38
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.00420b4a
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], 0
jmp 0x437ea2
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x14]
jae 0x437f33
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 0x437ee4
movzx eax, word [ebp - 0x3c]
sub eax, 0x57
mov dword [ebp - 0x48], eax
jmp 0x437eee
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 0x437f09
movzx ecx, word [ebp - 0x40]
sub ecx, 0x57
mov dword [ebp - 0x4c], ecx
jmp 0x437f13
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 0x437e99
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 0x437f51
jmp 0x437f6e
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.00401520
cmp dword [ebp - 0x10], 0
je 0x437f87
mov edx, dword [ebp - 0x10]
push edx
call fcn.00420a6d
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x18], 0
je 0x437f97
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 0x1c], 0
je 0x437fa7
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x20], 0
je 0x437fb9
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.00401a60
mov ecx, dword [ebp - 0x44]
or ecx, 1
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ae0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret