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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x100e3008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x170], eax
mov eax, dword [ecx]
mov dword [ebp - 0x16c], eax
push ebx
push esi
mov esi, eax
mov dword [ebp - 0x174], ecx
mov eax, dword [ecx + 8]
lea ebx, [edx + 8]
mov dword [ebp - 0x148], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x144]
sub eax, edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x140]
sub eax, edx
push edi
mov edi, dword [ecx + 4]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x150], ecx
xor ecx, ecx
sub eax, edx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x154], eax
nop dword [eax + eax]
mov edx, dword [ebx - 8]
lea ebx, [ebx + 0x14]
mov eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x148]
mov dword [ebp + ecx*4 - 0x144], edx
and eax, edi
xor eax, dword [ebp - 0x14c]
mov ecx, esi
rol ecx, 5
add ecx, edx
rol edi, 0x1e
add eax, ecx
mov edx, dword [ebx - 0x18]
mov ecx, dword [ebp - 0x150]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x150], ecx
rol ecx, 5
add ecx, edx
mov dword [ebp + eax*4 - 0x140], edx
mov eax, dword [ebp - 0x148]
xor eax, edi
mov edx, dword [ebx - 0x14]
and eax, esi
rol esi, 0x1e
xor eax, dword [ebp - 0x148]
add eax, ecx
mov ecx, dword [ebp - 0x14c]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x14c], ecx
rol ecx, 5
add ecx, edx
mov dword [ebx + eax - 0x14], edx
mov eax, edi
xor eax, esi
mov edx, dword [ebx - 0x10]
and eax, dword [ebp - 0x150]
xor eax, edi
add eax, ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x148], ecx
mov ecx, dword [ebp - 0x158]
rol eax, 0x1e
mov dword [ebp - 0x150], eax
xor eax, esi
and eax, dword [ebp - 0x14c]
rol dword [ebp - 0x14c], 0x1e
xor eax, esi
mov dword [ebx + ecx - 0x14], edx
add esi, 0x5a827999
mov ecx, dword [ebp - 0x148]
rol ecx, 5
add ecx, 0x5a827999
add ecx, edx
mov edx, dword [ebx - 0xc]
add eax, ecx
add edi, eax
mov eax, dword [ebp - 0x154]
mov ecx, edi
rol ecx, 5
add ecx, edx
mov dword [ebx + eax - 0x14], edx
mov eax, dword [ebp - 0x150]
xor eax, dword [ebp - 0x14c]
and eax, dword [ebp - 0x148]
xor eax, dword [ebp - 0x150]
mov edx, dword [ebp - 0x148]
add eax, ecx
mov ecx, dword [ebp - 0x15c]
add esi, eax
rol edx, 0x1e
add ecx, 5
mov dword [ebp - 0x148], edx
cmp ecx, 0xf
mov dword [ebp - 0x15c], ecx
jl 0x10045e10
mov ebx, dword [ebp - 0x164]
mov ecx, esi
mov eax, dword [ebp - 0x14c]
xor eax, edx
rol ecx, 5
mov edx, dword [ebp - 0x144]
and eax, edi
xor eax, dword [ebp - 0x14c]
mov ebx, dword [ebx + 0x3c]
add ecx, ebx
xor edx, dword [ebp - 0x13c]
add eax, ecx
xor edx, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x150]
xor edx, dword [ebp - 0x110]
add ecx, 0x5a827999
add eax, ecx
rol edx, 1
mov dword [ebp - 0x150], eax
mov ecx, eax
mov eax, dword [ebp - 0x148]
rol ecx, 5
add ecx, edx
rol edi, 0x1e
xor eax, edi
mov dword [ebp - 0x164], edx
and eax, esi
mov dword [ebp - 0x104], edx
xor eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x140]
add eax, ecx
xor edx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x14c]
xor edx, dword [ebp - 0x120]
add ecx, 0x5a827999
xor edx, dword [ebp - 0x10c]
add eax, ecx
mov dword [ebp - 0x158], eax
mov ecx, eax
rol esi, 0x1e
mov eax, edi
xor eax, esi
rol ecx, 5
and eax, dword [ebp - 0x150]
rol dword [ebp - 0x150], 0x1e
xor eax, edi
rol edx, 1
add ecx, edx
mov dword [ebp - 0x108], ebx
xor ebx, dword [ebp - 0x134]
add eax, ecx
mov ecx, dword [ebp - 0x148]
xor ebx, dword [ebp - 0x11c]
add ecx, 0x5a827999
xor ebx, dword [ebp - 0x13c]
add eax, ecx
mov ecx, eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x160], edi
mov edi, dword [ebp - 0x150]
mov eax, edi
mov dword [ebp - 0x100], edx
xor eax, esi
mov edx, dword [ebp - 0x158]
and eax, edx
rol ecx, 5
xor eax, esi
rol ebx, 1
add ecx, ebx
rol edx, 0x1e
add eax, ecx
mov dword [ebp - 0x158], edx
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x164]
add ecx, 0x5a827999
xor edx, dword [ebp - 0x130]
add eax, ecx
xor edx, dword [ebp - 0x118]
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0x14c], eax
xor edx, dword [ebp - 0x138]
mov ecx, eax
mov ebx, dword [ebp - 0x154]
mov eax, edi
xor eax, dword [ebp - 0x158]
rol ecx, 5
and eax, ebx
rol edx, 1
xor eax, edi
add ecx, edx
mov dword [ebp - 0xf8], edx
add eax, ecx
mov dword [ebp - 0x160], 4
mov ecx, esi
lea esi, [ebp - 0x12c]
add ecx, 0x5a827999
mov dword [ebp - 0x15c], esi
add ecx, eax
rol ebx, 0x1e
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x154], ebx
mov edx, dword [esi + 0x2c]
xor edx, dword [esi + 0x18]
xor edx, dword [esi - 8]
mov ebx, dword [esi]
xor edx, ebx
mov eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x154]
xor eax, dword [ebp - 0x14c]
rol dword [ebp - 0x14c], 0x1e
add eax, 0x6ed9eba1
rol edx, 1
mov dword [esi + 0x38], edx
rol ecx, 5
add ecx, edx
mov dword [ebp - 0x164], edx
mov edx, dword [esi + 0x30]
add eax, ecx
xor edx, dword [esi + 0x1c]
add edi, eax
xor edx, dword [esi - 4]
mov eax, dword [ebp - 0x154]
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x148]
mov dword [ebp - 0x150], edi
mov edi, dword [esi + 4]
xor edx, edi
mov ecx, dword [ebp - 0x150]
rol edx, 1
rol ecx, 5
add ecx, edx
rol dword [ebp - 0x148], 0x1e
add eax, ecx
mov dword [esi + 0x3c], edx
mov ecx, dword [ebp - 0x158]
mov esi, dword [esi + 8]
add ecx, 0x6ed9eba1
add ecx, eax
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x158], ecx
rol ecx, 5
mov edx, dword [eax + 0x34]
xor edx, dword [eax + 0x20]
xor edx, esi
xor edx, ebx
mov ebx, eax
mov eax, dword [ebp - 0x150]
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x148]
rol dword [ebp - 0x150], 0x1e
rol edx, 1
add ecx, edx
mov dword [ebx + 0x40], edx
mov edx, dword [ebx + 0x24]
add eax, ecx
xor edx, dword [ebx + 0xc]
xor edx, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x154]
xor edx, edi
mov edi, dword [ebp - 0x150]
add ecx, 0x6ed9eba1
add ecx, eax
rol edx, 1
mov dword [ebp - 0x154], ecx
mov eax, edi
xor eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x148]
rol dword [ebp - 0x158], 0x1e
rol ecx, 5
add ecx, edx
mov dword [ebx + 0x44], edx
mov edx, dword [ebx + 0x28]
add eax, ecx
xor edx, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x14c]
xor edx, dword [ebp - 0x168]
add ecx, 0x6ed9eba1
add ecx, eax
xor edx, esi
mov dword [ebp - 0x14c], ecx
rol edx, 1
rol ecx, 5
mov eax, edi
xor eax, dword [ebp - 0x158]
add ecx, edx
xor eax, dword [ebp - 0x154]
mov esi, ebx
add eax, ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x6ed9eba1
add ecx, eax
mov eax, dword [ebp - 0x154]
mov dword [esi + 0x48], edx
add esi, 0x14
rol eax, 0x1e
sub dword [ebp - 0x160], 1
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x15c], esi
jne 0x10046111
lea edx, [ebp - 0xdc]
mov dword [ebp - 0x15c], 4
mov dword [ebp - 0x160], edx
nop dword [eax]
mov ebx, dword [edx + 0x2c]
xor ebx, dword [edx + 0x18]
xor ebx, dword [edx - 8]
xor ebx, dword [edx]
mov esi, dword [ebp - 0x14c]
rol ebx, 1
mov dword [edx + 0x38], ebx
mov edx, ecx
mov ecx, eax
rol edx, 5
or ecx, esi
mov dword [ebp - 0x168], ebx
and ecx, dword [ebp - 0x158]
and eax, esi
or ecx, eax
rol esi, 0x1e
add ecx, ebx
mov dword [ebp - 0x14c], esi
add ecx, edi
lea eax, [edx - 0x70e44324]
add eax, ecx
mov edi, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x160]
mov edx, eax
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x14c]
rol edx, 5
mov esi, dword [ecx + 0x30]
xor esi, dword [ecx + 0x1c]
xor esi, dword [ecx - 4]
mov ebx, dword [ecx + 4]
xor esi, ebx
rol esi, 1
mov dword [ecx + 0x3c], esi
mov ecx, eax
or ecx, edi
mov dword [ebp - 0x164], esi
and ecx, dword [ebp - 0x154]
and eax, edi
or eax, ecx
rol edi, 0x1e
mov ecx, dword [ebp - 0x160]
add eax, 0x8f1bbcdc
add eax, esi
mov dword [ebp - 0x148], edi
add eax, dword [ebp - 0x158]
add eax, edx
mov esi, dword [ecx + 0x34]
mov edx, eax
xor esi, dword [ecx + 0x20]
mov edi, dword [ecx + 8]
xor esi, edi
xor esi, dword [ecx]
rol esi, 1
mov dword [ecx + 0x40], esi
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x150]
mov ecx, eax
or ecx, dword [ebp - 0x148]
and ecx, dword [ebp - 0x14c]
and eax, dword [ebp - 0x148]
or ecx, eax
rol edx, 5
mov eax, dword [ebp - 0x150]
add ecx, esi
add ecx, dword [ebp - 0x154]
add edx, 0x8f1bbcdc
add ecx, edx
rol eax, 0x1e
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x150], eax
mov esi, dword [edx + 0x24]
xor esi, dword [edx + 0xc]
xor esi, dword [ebp - 0x168]
xor esi, ebx
rol esi, 1
mov dword [edx + 0x44], esi
mov edx, ecx
rol edx, 5
mov ecx, eax
mov ebx, dword [ebp - 0x158]
or ecx, ebx
and ecx, dword [ebp - 0x148]
and eax, ebx
or ecx, eax
rol ebx, 0x1e
add ecx, esi
mov dword [ebp - 0x158], ebx
add ecx, dword [ebp - 0x14c]
lea eax, [edx - 0x70e44324]
add eax, ecx
mov ecx, dword [ebp - 0x160]
mov edx, eax
mov dword [ebp - 0x14c], eax
mov eax, ebx
rol edx, 5
and eax, dword [ebp - 0x154]
add edx, 0x8f1bbcdc
mov esi, dword [ecx + 0x28]
xor esi, dword [ecx + 0x10]
xor esi, dword [ebp - 0x164]
xor esi, edi
mov edi, dword [ebp - 0x150]
rol esi, 1
mov dword [ecx + 0x48], esi
mov ecx, ebx
or ecx, dword [ebp - 0x154]
and ecx, edi
or ecx, eax
mov eax, dword [ebp - 0x154]
add ecx, esi
rol eax, 0x1e
add ecx, dword [ebp - 0x148]
add ecx, edx
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x160]
add edx, 0x14
mov dword [ebp - 0x148], ecx
sub dword [ebp - 0x15c], 1
mov dword [ebp - 0x160], edx
jne 0x100462c0
lea esi, [ebp - 0x8c]
mov dword [ebp - 0x160], 4
mov dword [ebp - 0x15c], esi
jmp 0x100464b6
mov ecx, dword [ebp - 0x148]
mov edx, dword [esi + 0x2c]
xor edx, dword [esi + 0x18]
xor edx, dword [esi - 8]
mov ebx, dword [esi]
xor edx, ebx
mov eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x154]
xor eax, dword [ebp - 0x14c]
rol dword [ebp - 0x14c], 0x1e
rol edx, 1
add eax, edx
mov dword [esi + 0x38], edx
add eax, edi
mov dword [ebp - 0x168], edx
mov edx, dword [esi + 0x30]
xor edx, dword [esi + 0x1c]
xor edx, dword [esi - 4]
mov edi, dword [esi + 4]
xor edx, edi
rol ecx, 5
add ecx, 0xca62c1d6
rol edx, 1
add eax, ecx
mov dword [esi + 0x3c], edx
mov dword [ebp - 0x150], eax
mov ecx, eax
mov eax, dword [ebp - 0x154]
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x148]
add eax, edx
mov esi, dword [esi + 8]
add eax, dword [ebp - 0x158]
rol dword [ebp - 0x148], 0x1e
rol ecx, 5
mov dword [ebp - 0x164], edx
add ecx, 0xca62c1d6
add ecx, eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x158], ecx
rol ecx, 5
add ecx, 0xca62c1d6
mov edx, dword [eax + 0x34]
xor edx, dword [eax + 0x20]
xor edx, esi
xor edx, ebx
mov ebx, eax
mov eax, dword [ebp - 0x150]
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x148]
rol dword [ebp - 0x150], 0x1e
rol edx, 1
add eax, edx
mov dword [ebx + 0x40], edx
add eax, dword [ebp - 0x154]
mov edx, dword [ebx + 0x24]
add eax, ecx
xor edx, dword [ebx + 0xc]
mov ecx, eax
xor edx, edi
mov dword [ebp - 0x154], eax
xor edx, dword [ebp - 0x168]
mov edi, dword [ebp - 0x150]
mov eax, edi
xor eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x148]
rol dword [ebp - 0x158], 0x1e
rol edx, 1
add eax, edx
mov dword [ebx + 0x44], edx
mov edx, dword [ebx + 0x28]
xor edx, dword [ebx + 0x10]
add eax, dword [ebp - 0x14c]
xor edx, esi
xor edx, dword [ebp - 0x164]
mov esi, ebx
rol ecx, 5
add ecx, 0xca62c1d6
add eax, ecx
rol edx, 1
mov dword [ebp - 0x14c], eax
mov dword [esi + 0x48], edx
mov ebx, dword [ebp - 0x158]
mov ecx, eax
mov eax, edi
rol ecx, 5
xor eax, ebx
add ecx, 0xca62c1d6
xor eax, dword [ebp - 0x154]
add esi, 0x14
add eax, edx
mov dword [ebp - 0x15c], esi
add eax, dword [ebp - 0x148]
add eax, ecx
mov ecx, dword [ebp - 0x154]
rol ecx, 0x1e
sub dword [ebp - 0x160], 1
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x154], ecx
jne 0x100464b0
add eax, dword [ebp - 0x16c]
mov esi, dword [ebp - 0x170]
mov edx, dword [ebp - 0x174]
mov dword [esi], eax
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x14c]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
add eax, ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 8], eax
xor ecx, ebp
mov eax, dword [edx + 0xc]
add eax, ebx
mov dword [esi + 0xc], eax
mov eax, dword [edx + 0x10]
add eax, edi
pop edi
mov dword [esi + 0x10], eax
pop esi
pop ebx
call fcn.1009bd8a
mov esp, ebp
pop ebp
ret 0xc