Function at 0x4042b0
Capabilities:
Hash data via bcrypt
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x43e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x43f9dc]
push esi
mov esi, ecx
mov dword [ebp - 0x84], edx
push edi
mov dword [ebp - 0x88], ebx
push dword [esi + 4]
call fcn.00412fa9
mov edi, eax
add esp, 4
test edi, edi
je 0x40450d
push dword [esi + 4]
push 0
push edi
call fcn.00407d30
push dword [esi + 4]
push dword [esi + 8]
push edi
call fcn.004087b0
mov eax, dword [ebp - 0x84]
add esp, 0x18
add dword [edi], eax
test ebx, ebx
jne 0x40442b
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x3c], 0x67452301
mov dword [ebp - 0x38], 0xefcdab89
mov dword [ebp - 0x34], 0x98badcfe
mov dword [ebp - 0x30], 0x10325476
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push dword [esi + 4]
mov edx, edi
lea ecx, [ebp - 0x80]
call fcn.00405310
mov ecx, dword [ebp - 0x80]
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
sub eax, ecx
cmp edx, eax
jbe 0x404361
add edx, ecx
inc dword [ebp - 0x28]
jmp 0x404363
add edx, ecx
mov dword [ebp - 0x2c], edx
mov byte [ebp + ecx - 0x7c], 0x80
inc ecx
cmp dword [ebp - 0x80], 0x38
jl 0x404397
mov eax, 0x40
sub eax, ecx
push eax
lea eax, [ebp - 0x7c]
add eax, ecx
push 0
push eax
call fcn.00407d30
add esp, 0xc
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x80]
call fcn.004054e0
xor ecx, ecx
mov eax, 0x38
sub eax, ecx
push eax
lea eax, [ebp - 0x7c]
add eax, ecx
push 0
push eax
call fcn.00407d30
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x7c]
add esp, 0xc
lea eax, [ecx*8]
shr ecx, 0x1d
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
shl eax, 3
or ecx, eax
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x80]
call fcn.004054e0
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x88], eax
mov eax, dword [esi]
sub eax, 2
je 0x404402
sub eax, 1
je 0x404402
sub eax, 1
jne 0x404504
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x84]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x88]
mov dword [ecx], 0
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], ebx
jmp 0x404501
cmp dword [ebp - 0x88], 1
mov ebx, dword [esi + 4]
jne 0x40444c
lea eax, [ebp - 0x24]
mov edx, ebx
push eax
mov ecx, edi
call fcn.00404680
add esp, 4
jmp 0x4044cc
mov eax, dword [0x43f9e4]
test eax, eax
jne 0x404470
push eax
push eax
push str.SHA256
push 0x43f9e4
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
jne 0x4044cc
mov eax, dword [0x43f9e4]
push 0x20
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], 0
push ecx
push eax
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
jne 0x4044cc
push eax
push ebx
push edi
push dword [ebp - 0x84]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
jne 0x4044cc
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x84]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
jne 0x4044cc
push dword [ebp - 0x84]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov eax, dword [esi]
sub eax, 2
je 0x4044dd
sub eax, 1
je 0x4044dd
sub eax, 1
jne 0x404504
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x20], eax
push edi
call fcn.0040facf
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bb3
mov esp, ebp
pop ebp
ret 4