Function at 0x49d520
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x5c9440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x54]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
cmp dword [eax + 0x1005c], 2
push ecx
push dword [ebp + 0x10]
mov dword [ebp - 0x1c8], ebx
push dword [ebp + 0xc]
push eax
jne 0x49d5a4
call fcn.0049dac0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push 0x20
push eax
call fcn.004d7240
add esp, 0x1c
mov esi, 0xfa1
lea eax, [ebp - 0x34]
push eax
push 0x20
push eax
call fcn.004d7240
add esp, 0xc
sub esi, 1
jne 0x49d571
push 0x20
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.00548ca0
add esp, 0xc
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045db8e
mov esp, ebp
pop ebp
ret
call fcn.0049dac0
xor ecx, ecx
add esp, 0x10
cmp ecx, 0x20
jge 0x49d5c3
mov al, byte [ecx + 0x5cf444]
mov byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 0x20
jl 0x49d5b3
push 0x20
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1bc], 0x67452301
push eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1b8], 0xefcdab89
push eax
mov dword [ebp - 0x1b4], 0x98badcfe
mov dword [ebp - 0x1b0], 0x10325476
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
call fcn.0049e240
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0049db20
add esp, 0x14
mov esi, 0x32
nop dword [eax]
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1bc], 0x67452301
push eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1b8], 0xefcdab89
push eax
mov dword [ebp - 0x1b4], 0x98badcfe
mov dword [ebp - 0x1b0], 0x10325476
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
call fcn.0049e240
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0049db20
add esp, 0x14
sub esi, 1
jne 0x49d630
movups xmm0, xmmword [ebp - 0x54]
xor eax, eax
movups xmm1, xmmword [ebp - 0x14]
mov dword [ebp - 0x1c0], eax
movups xmmword [ebp - 0x34], xmm0
push edi
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ebp - 0x24], xmm0
movsx eax, al
xor ebx, ebx
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pxor xmm0, xmm1
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp + eax - 0x164], al
inc eax
cmp eax, 0x100
jl 0x49d6d3
xor edi, edi
xor esi, esi
nop word [eax + eax]
mov dl, byte [ebp + esi - 0x164]
mov eax, esi
and eax, 0x8000000f
jns 0x49d705
dec eax
or eax, 0xfffffff0
inc eax
movzx eax, byte [ebp + eax - 0x64]
add eax, edi
movzx ecx, dl
add ecx, eax
mov edi, ecx
and edi, 0x800000ff
jns 0x49d723
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebp + edi - 0x164]
mov byte [ebp + esi - 0x164], al
inc esi
mov byte [ebp + edi - 0x164], dl
cmp esi, 0x100
jl 0x49d6f0
xor esi, esi
mov edi, ebx
inc ebx
and ebx, 0x800000ff
jns 0x49d756
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [ebp + ebx - 0x164]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x49d772
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [ebp + edi - 0x164]
mov byte [ebp + ebx - 0x164], al
mov byte [ebp + edi - 0x164], cl
movzx eax, byte [ebp + ebx - 0x164]
add eax, edx
movzx eax, al
movzx eax, byte [ebp + eax - 0x164]
xor byte [ebp + esi - 0x34], al
inc esi
cmp esi, 0x20
jl 0x49d745
mov eax, dword [ebp - 0x1c0]
inc eax
mov dword [ebp - 0x1c0], eax
cmp eax, 0x14
jl 0x49d6b3
push 0x20
lea eax, [ebp - 0x54]
mov dword [ebp - 0x1bc], 0x67452301
push eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1b8], 0xefcdab89
push eax
mov dword [ebp - 0x1b4], 0x98badcfe
mov dword [ebp - 0x1b0], 0x10325476
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
call fcn.0049e240
push 0x20
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.0049e240
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0049db20
add esp, 0x20
mov esi, 0x32
pop edi
nop word [eax + eax]
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1bc], 0x67452301
push eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1b8], 0xefcdab89
push eax
mov dword [ebp - 0x1b4], 0x98badcfe
mov dword [ebp - 0x1b0], 0x10325476
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
call fcn.0049e240
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0049db20
add esp, 0x14
sub esi, 1
jne 0x49d840
mov eax, dword [ebp - 0x1c8]
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
movups xmmword [eax], xmm0
pop ebx
call fcn.0045db8e
mov esp, ebp
pop ebp
ret