Function at 0x4029d0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0xb8
mov eax, dword [0x42f278]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [0x4372e8]
cmp eax, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0xc4]
push esi
push edi
je 0x402b16
cmp eax, 0xd
je 0x402b16
xor ebx, ebx
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x94], al
add eax, 1
cmp eax, 0x10
jl 0x402a10
lea eax, [esp + 0x94]
push eax
mov eax, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x5c], 0x67452301
mov dword [esp + 0x60], 0xefcdab89
mov dword [esp + 0x64], 0x98badcfe
mov dword [esp + 0x68], 0x10325476
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.004062b0
lea edi, [esp + 0x84]
lea esi, [esp + 0x14]
call fcn.004063c0
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov dword [ebp + 0x4d], ecx
mov ecx, dword [esp + 0x90]
mov dword [ebp + 0x51], edx
mov dword [ebp + 0x55], eax
mov dword [ebp + 0x59], ecx
xor eax, eax
jmp 0x402aa0
mov dl, al
add dl, 0x30
mov byte [esp + eax + 0x70], dl
add eax, 1
cmp eax, 0x10
jl 0x402aa0
lea eax, [esp + 0x70]
mov byte [esp + 0x80], bl
push eax
xor ecx, ecx
mov ebx, ebp
call fcn.00401250
add esp, 4
mov ecx, 0x208
mov edi, 0x4392c0
mov esi, ebp
call fcn.004023e0
xor eax, eax
cmp dword [ebp + 0x64], 2
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], eax
je 0x402b0f
mov dword [ebp + 0x6d], eax
mov dword [ebp + 0x71], eax
mov dword [ebp + 0x75], eax
mov dword [ebp + 0x79], eax
mov dword [ebp + 0x7d], eax
mov dword [ebp + 0x81], eax
mov dword [ebp + 0x85], eax
mov dword [ebp + 0x89], eax
xor ebx, ebx
jmp 0x402c3a
xor ebx, ebx
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x94], al
add eax, 1
cmp eax, 0x10
jl 0x402b20
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], ebx
call fcn.00406b10
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x402b97
mov eax, dword [0x437790]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x402b97
push str.BCryptHashData
push eax
call edi
cmp eax, ebx
je 0x402b71
mov ecx, dword [esi + 4]
push ebx
push 0x10
lea edx, [esp + 0x9c]
push edx
push ecx
call eax
mov eax, dword [0x437790]
cmp eax, ebx
je 0x402b97
push str.BCryptFinishHash
push eax
call edi
cmp eax, ebx
je 0x402b97
mov ecx, dword [esi + 4]
push ebx
push 0x20
lea edx, [esp + 0xac]
push edx
push ecx
call eax
mov eax, esi
call fcn.00406bf0
push 0x20
lea edx, [esp + 0xa8]
push edx
lea eax, [ebp + 0x8d]
push eax
call fcn.00416910
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, al
add cl, 0x30
mov byte [esp + eax + 0x70], cl
add eax, 1
cmp eax, 0x10
jl 0x402bc0
cmp dword [ebp + 4], 0xb
mov byte [esp + 0x80], bl
je 0x402be7
mov dword [ebp + 0x28], 1
jmp 0x402bf4
push ebp
lea eax, [esp + 0x74]
call fcn.00401570
add esp, 4
mov ecx, 0x208
mov edi, 0x4392c0
mov esi, ebp
call fcn.004023e0
xor eax, eax
cmp dword [ebp + 0x64], 2
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], eax
je 0x402c3a
mov dword [ebp + 0x6d], eax
mov dword [ebp + 0x71], eax
mov dword [ebp + 0x75], eax
mov dword [ebp + 0x79], eax
mov dword [ebp + 0x7d], eax
mov dword [ebp + 0x81], eax
mov dword [ebp + 0x85], eax
mov dword [ebp + 0x89], eax
xor eax, eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], eax
mov esi, dword [ebp + 0x60]
cmp esi, ebx
mov dword [ebp + 0x28], ebx
je 0x402c72
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x402c62
push eax
call edi
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x402c6c
push eax
call edi
push esi
call edi
mov dword [ebp + 0x60], ebx
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004104f3
add esp, 0xb8
ret