Function at 0x497e00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x5ec374]
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 0x497e84
call fcn.004983a0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push 0x20
push eax
call fcn.004d1b40
add esp, 0x1c
mov esi, 0xfa1
lea eax, [ebp - 0x34]
push eax
push 0x20
push eax
call fcn.004d1b40
add esp, 0xc
sub esi, 1
jne 0x497e51
push 0x20
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.00566850
add esp, 0xc
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045674d
mov esp, ebp
pop ebp
ret
call fcn.004983a0
xor ecx, ecx
add esp, 0x10
cmp ecx, 0x20
jge 0x497ea3
mov al, byte [ecx + 0x5f2354]
mov byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 0x20
jl 0x497e93
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.00498b20
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00498400
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.00498b20
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00498400
add esp, 0x14
sub esi, 1
jne 0x497f10
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 0x497fb3
xor edi, edi
xor esi, esi
nop word [eax + eax]
mov dl, byte [ebp + esi - 0x164]
mov eax, esi
and eax, 0x8000000f
jns 0x497fe5
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 0x498003
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 0x497fd0
xor esi, esi
mov edi, ebx
inc ebx
and ebx, 0x800000ff
jns 0x498036
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [ebp + ebx - 0x164]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x498052
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 0x498025
mov eax, dword [ebp - 0x1c0]
inc eax
mov dword [ebp - 0x1c0], eax
cmp eax, 0x14
jl 0x497f93
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.00498b20
push 0x20
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.00498b20
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00498400
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.00498b20
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00498400
add esp, 0x14
sub esi, 1
jne 0x498120
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.0045674d
mov esp, ebp
pop ebp
ret