Function at 0x402f50
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0xbc
mov eax, dword [0x42f278]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xc0]
push ebx
push ebp
mov dword [esp + 8], eax
mov eax, dword [0x4372e8]
cmp eax, 0xc
push esi
push edi
mov ebx, ecx
je 0x4030a3
cmp eax, 0xd
je 0x4030a3
xor ebp, ebp
xor eax, eax
mov byte [esp + eax + 0x98], al
add eax, 1
cmp eax, 0x10
jl 0x402f90
lea ecx, [esp + 0x98]
push ecx
mov eax, 0x10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x60], 0x67452301
mov dword [esp + 0x64], 0xefcdab89
mov dword [esp + 0x68], 0x98badcfe
mov dword [esp + 0x6c], 0x10325476
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
call fcn.004062b0
lea edi, [esp + 0x88]
lea esi, [esp + 0x18]
call fcn.004063c0
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [ebx + 0x4d], edx
mov edx, dword [esp + 0x94]
mov dword [ebx + 0x51], eax
mov dword [ebx + 0x55], ecx
mov dword [ebx + 0x59], edx
xor eax, eax
jmp 0x403020
mov cl, al
add cl, 0x30
mov byte [esp + eax + 0x74], cl
add eax, 1
cmp eax, 0x10
jl 0x403020
lea edx, [esp + 0x74]
push edx
xor ecx, ecx
mov byte [esp + 0x88], 0
call fcn.00401250
mov eax, dword [ebx]
push eax
call fcn.00410ed0
mov ecx, dword [esp + 0x18]
mov dword [0x4377c0], eax
push ecx
mov eax, ebx
mov dword [0x4377c4], edx
call fcn.00402000
xor eax, eax
add esp, 0xc
cmp dword [ebx + 0x64], 2
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
je 0x40309c
mov dword [ebx + 0x6d], eax
mov dword [ebx + 0x71], eax
mov dword [ebx + 0x75], eax
mov dword [ebx + 0x79], eax
mov dword [ebx + 0x7d], eax
mov dword [ebx + 0x81], eax
mov dword [ebx + 0x85], eax
mov dword [ebx + 0x89], eax
xor ebp, ebp
jmp 0x4031dc
xor ebp, ebp
xor eax, eax
jmp 0x4030b0
mov byte [esp + eax + 0x98], al
add eax, 1
cmp eax, 0x10
jl 0x4030b0
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebp
call fcn.00406b10
mov esi, dword [esp + 0x14]
cmp esi, ebp
je 0x403127
mov eax, dword [0x437790]
cmp eax, ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x403127
push str.BCryptHashData
push eax
call edi
cmp eax, ebp
je 0x403101
mov edx, dword [esi + 4]
push ebp
push 0x10
lea ecx, [esp + 0xa0]
push ecx
push edx
call eax
mov eax, dword [0x437790]
cmp eax, ebp
je 0x403127
push str.BCryptFinishHash
push eax
call edi
cmp eax, ebp
je 0x403127
mov edx, dword [esi + 4]
push ebp
push 0x20
lea ecx, [esp + 0xb0]
push ecx
push edx
call eax
mov eax, esi
call fcn.00406bf0
push 0x20
lea eax, [esp + 0xac]
push eax
lea ecx, [ebx + 0x8d]
push ecx
call fcn.00416910
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov dl, al
add dl, 0x30
mov byte [esp + eax + 0x74], dl
add eax, 1
cmp eax, 0x10
jl 0x403150
cmp dword [ebx + 4], 0xb
mov byte [esp + 0x84], 0
je 0x403178
mov dword [ebx + 0x28], 1
jmp 0x403185
push ebx
lea eax, [esp + 0x78]
call fcn.00401570
add esp, 4
mov eax, dword [ebx]
push eax
call fcn.00410ed0
mov ecx, dword [esp + 0x14]
mov dword [0x4377c0], eax
push ecx
mov eax, ebx
mov dword [0x4377c4], edx
call fcn.00402000
xor eax, eax
add esp, 8
cmp dword [ebx + 0x64], 2
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
je 0x4031dc
mov dword [ebx + 0x6d], eax
mov dword [ebx + 0x71], eax
mov dword [ebx + 0x75], eax
mov dword [ebx + 0x79], eax
mov dword [ebx + 0x7d], eax
mov dword [ebx + 0x81], eax
mov dword [ebx + 0x85], eax
mov dword [ebx + 0x89], eax
xor eax, eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x60]
cmp esi, ebp
mov dword [ebx + 0x28], ebp
je 0x403214
mov eax, dword [esi + 0xc]
cmp eax, ebp
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x403204
push eax
call edi
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x40320e
push eax
call edi
push esi
call edi
mov dword [ebx + 0x60], ebp
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004104f3
add esp, 0xbc
ret