Function at 0x1098510
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x94
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
test eax, eax
je 0x1098542
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1098542
test ebx, ebx
je 0x1098540
push esi
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edi, esi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1098564
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x1098564
test ebx, ebx
je 0x1098562
push esi
push eax
lea eax, [edi + ebx]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add edi, esi
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x109864a
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], al
test ebx, ebx
je 0x109859e
mov ecx, dword [ebp + 0x1c]
push esi
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0108bba0
xor ecx, ecx
test ebx, ebx
je 0x10985b1
mov al, byte [ebp + ecx - 0x2c]
cmp al, 0x5e
jne 0x10985ae
mov al, 0x78
mov byte [edi + ebx], al
inc ecx
inc edi
cmp ecx, 0x10
jb 0x10985a0
xor eax, eax
mov dword [ebp - 8], eax
mov byte [ebp - 4], al
lea eax, [esi + 0x1c]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
shl ecx, 8
add edx, ecx
mov ecx, eax
shl edx, 8
shr ecx, 0x10
movzx ecx, cl
add edx, ecx
shl edx, 8
shr eax, 0x18
add edx, eax
shr edx, 0x10
mov dword [ebp + 0xc], edx
lea edx, [ebp - 8]
push edx
push 2
lea eax, [ebp + 0xc]
push eax
call fcn.0101ddb0
lea eax, [ebp - 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1098603
sub eax, edx
mov edx, 0
je 0x109862f
mov cl, byte [ebp + edx - 8]
test cl, cl
je 0x109862a
test ebx, ebx
je 0x1098629
cmp cl, 0x5e
jne 0x1098626
mov cl, 0x78
mov byte [edi + ebx], cl
inc edi
inc edx
cmp edx, eax
jb 0x1098613
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x109864a
test ebx, ebx
je 0x1098648
push esi
push eax
lea ecx, [edi + ebx]
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add edi, esi
mov esi, dword [ebp + 0x28]
xor eax, eax
cmp esi, eax
je 0x109877f
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], al
cmp ebx, eax
je 0x10986d3
mov edx, dword [ebp + 0x24]
push esi
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
push edx
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
call fcn.0108b9a0
lea ecx, [ebp - 0x94]
push ecx
call fcn.0108ba70
lea edx, [ebp - 0x2c]
push edx
push 0x10
lea eax, [ebp - 0x3c]
push eax
call fcn.0101ddb0
xor ecx, ecx
test ebx, ebx
je 0x10986e6
mov al, byte [ebp + ecx - 0x2c]
cmp al, 0x5e
jne 0x10986e3
mov al, 0x78
mov byte [edi + ebx], al
inc ecx
inc edi
cmp ecx, 0x10
jb 0x10986d5
xor eax, eax
mov dword [ebp - 8], eax
mov byte [ebp - 4], al
lea eax, [esi + 0x1c]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
shl ecx, 8
add edx, ecx
mov ecx, eax
shl edx, 8
shr ecx, 0x10
movzx ecx, cl
add edx, ecx
shl edx, 8
shr eax, 0x18
add edx, eax
shr edx, 0x10
mov dword [ebp + 0x1c], edx
lea edx, [ebp - 8]
push edx
push 2
lea eax, [ebp + 0x1c]
push eax
call fcn.0101ddb0
lea eax, [ebp - 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1098738
sub eax, edx
mov edx, 0
je 0x1098764
mov cl, byte [ebp + edx - 8]
test cl, cl
je 0x109875f
test ebx, ebx
je 0x109875e
cmp cl, 0x5e
jne 0x109875b
mov cl, 0x78
mov byte [edi + ebx], cl
inc edi
inc edx
cmp edx, eax
jb 0x1098748
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x109877f
test ebx, ebx
je 0x109877d
push esi
push eax
lea ecx, [edi + ebx]
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24