Function at 0x102284f0
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
push dword [ecx + 0x28]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x28], eax
push dword [esi + 0x2c]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x2c], eax
push dword [esi + 0x30]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x30], eax
push dword [esi + 0x34]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x34], eax
push dword [esi + 0x38]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x38], eax
push dword [esi + 0x3c]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x3c], eax
push dword [esi + 0x40]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x40], eax
push dword [esi + 0x44]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x44], eax
push dword [esi + 0x48]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x48], eax
push dword [esi + 0x4c]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x4c], eax
push dword [esi + 0x50]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x50], eax
push dword [esi + 0x54]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x54], eax
push dword [esi + 0x58]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x58], eax
push dword [esi + 0x5c]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x5c], eax
push dword [esi + 0x60]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x60], eax
push dword [esi + 0x64]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov dword [esi + 0x64], eax
xor eax, eax
mov ecx, dword [esi + eax*4 + 0x48]
xor ecx, dword [esi + eax*4 + 0x5c]
xor ecx, dword [esi + eax*4 + 0x30]
xor ecx, dword [esi + eax*4 + 0x28]
rol ecx, 1
mov dword [esi + eax*4 + 0x68], ecx
inc eax
cmp eax, 0x40
jne 0x102285dd
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x1c], eax
mov edi, dword [esi + 0x20]
mov dword [ebp - 0x20], esi
mov ecx, dword [esi + 0x24]
xor ebx, ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], edx
mov eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x18]
mov ecx, edx
mov edx, edi
mov esi, dword [ebp - 0x14]
mov edi, ecx
mov dword [ebp - 0x34], edx
rol edx, 5
cmp ebx, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], esi
jae 0x1022867d
mov ecx, esi
mov esi, edi
and esi, eax
add edx, dword [ebp - 0x10]
mov edi, eax
not edi
and edi, ecx
add edx, esi
mov esi, 0x5a827999
add edi, edx
mov ecx, dword [ebp - 0x20]
add edi, dword [ecx + ebx*4 + 0x28]
add edi, esi
rol eax, 0x1e
inc ebx
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp - 0x34]
mov edx, eax
mov eax, ecx
cmp ebx, 0x50
jne 0x1022862a
jmp 0x102286b9
cmp ebx, 0x28
jae 0x10228690
xor edi, eax
xor edi, esi
add edx, dword [ebp - 0x10]
mov esi, 0x6ed9eba1
jmp 0x1022865a
cmp ebx, 0x3b
ja 0x102286a9
mov ecx, esi
or esi, edi
and esi, eax
mov edi, ecx
and edi, dword [ebp - 0x14]
or edi, esi
mov esi, 0x8f1bbcdc
jmp 0x102286b2
xor edi, eax
xor edi, esi
mov esi, 0xca62c1d6
mov ecx, dword [ebp - 0x10]
add edx, ecx
jmp 0x1022865a
mov ebx, dword [ebp - 0x20]
mov dword [ebx + 0x10], esi
mov esi, dword [ebp - 0x14]
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], edx
mov dword [ebx + 4], ecx
mov dword [ebx], edi
mov eax, edx
mov edx, dword [ebp - 0x18]
add edx, edi
mov dword [ebx + 0x14], edx
mov edx, dword [ebp - 0x28]
add edx, ecx
mov dword [ebx + 0x18], edx
mov edx, dword [ebp - 0x1c]
add edx, eax
mov dword [ebx + 0x1c], edx
mov eax, dword [ebp - 0x2c]
add eax, esi
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x24]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x168], 0
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret