Function at 0x10005830
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002aa98
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x100357ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc8], edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [ebp - 0xc0], edx
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], eax
mov eax, ecx
lea edx, [eax + 2]
jmp 0x100058b0
mov di, word [eax]
add eax, 2
test di, di
jne 0x100058b0
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [ebp - 0x2c]
call fcn.10007f40
xor edi, edi
cmp esi, edi
je 0x100058ed
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100058d4
sub eax, edx
sar eax, 1
push eax
push esi
lea eax, [ebp - 0x2c]
call fcn.10007f40
cmp ebx, edi
je 0x1000590f
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100058f6
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [ebp - 0x2c]
call fcn.10007f40
mov edx, dword [ebp - 0xc8]
cmp edx, edi
je 0x10005939
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10005920
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [ebp - 0x2c]
call fcn.10007f40
mov edx, dword [ebp - 0xbc]
cmp edx, edi
je 0x10005969
mov eax, edx
lea esi, [eax + 2]
jmp 0x10005950
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10005950
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [ebp - 0x2c]
call fcn.10007f40
mov edx, dword [ebp - 0xc0]
cmp edx, edi
je 0x10005999
mov eax, edx
lea esi, [eax + 2]
jmp 0x10005980
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10005980
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [ebp - 0x2c]
call fcn.10007f40
mov edx, dword [ebp - 0xb8]
cmp edx, edi
je 0x100059c9
mov eax, edx
lea esi, [eax + 2]
jmp 0x100059b0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100059b0
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [ebp - 0x2c]
call fcn.10007f40
mov ecx, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x100059d9
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax + 2]
push ecx
lea esi, [ebp - 0xb4]
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xb4], 0x67452301
mov dword [ebp - 0xb0], 0xefcdab89
mov dword [ebp - 0xac], 0x98badcfe
mov dword [ebp - 0xa8], 0x10325476
call fcn.10008300
lea edi, [ebp - 0x48]
mov eax, esi
call fcn.10008d90
mov eax, dword [ebp - 0x48]
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jae 0x10005a3e
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call esi
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x10005a5c
lea ecx, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0xc4]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call esi
cmp dword [ebp - 0x34], edi
jb 0x10005a7e
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10012a23
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x18], ebx
jb 0x10005aa1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10012a23
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012a2e
mov esp, ebp
pop ebp
ret