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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x100f0e3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push ebx
mov ecx, dword [eax]
mov dword [ebp - 0x178], eax
push esi
mov dword [ebp - 0x174], ecx
mov esi, ecx
mov ecx, dword [eax + 8]
mov ebx, edx
mov dword [ebp - 0x148], ecx
mov ecx, dword [eax + 0xc]
push edi
mov edi, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x158], eax
lea eax, [ebx + 8]
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x144]
sub eax, ebx
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x140]
sub eax, ebx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], ecx
xor ecx, ecx
lea eax, [ebp - 0x13c]
sub eax, ebx
mov dword [ebp - 0x170], ebx
mov ebx, dword [ebp - 0x160]
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x164], eax
nop
mov edx, dword [ebx - 8]
mov eax, dword [ebp - 0x150]
xor eax, dword [ebp - 0x148]
mov dword [ebp + ecx*4 - 0x144], edx
and eax, edi
rol edi, 0x1e
xor eax, dword [ebp - 0x150]
mov ecx, esi
rol ecx, 5
add ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebx - 4]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x158], ecx
mov dword [ebp + eax*4 - 0x140], edx
mov eax, dword [ebp - 0x148]
rol ecx, 5
xor eax, edi
and eax, esi
rol esi, 0x1e
xor eax, dword [ebp - 0x148]
add ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebx]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x150], ecx
mov dword [eax + ebx], edx
rol ecx, 5
add ecx, edx
mov edx, dword [ebx + 4]
mov eax, edi
xor eax, esi
and eax, dword [ebp - 0x158]
lea ebx, [ebx + 0x14]
xor eax, edi
add eax, ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x148], ecx
mov ecx, dword [ebp - 0x14c]
rol eax, 0x1e
mov dword [ecx + ebx - 0x14], edx
mov ecx, dword [ebp - 0x148]
rol ecx, 5
mov dword [ebp - 0x158], eax
xor eax, esi
and eax, dword [ebp - 0x150]
add ecx, 0x5a827999
xor eax, esi
add ecx, edx
rol dword [ebp - 0x150], 0x1e
mov edx, dword [ebx - 0xc]
add eax, ecx
add edi, eax
mov eax, dword [ebp - 0x164]
mov ecx, edi
mov dword [eax + ebx - 0x14], edx
rol ecx, 5
mov eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x150]
add ecx, edx
and eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x148]
xor eax, dword [ebp - 0x158]
rol edx, 0x1e
add eax, ecx
mov ecx, dword [ebp - 0x154]
add esi, 0x5a827999
add ecx, 5
add esi, eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x154], ecx
cmp ecx, 0xf
jb 0x10038570
mov eax, dword [ebp - 0x150]
xor eax, edx
mov ebx, dword [ebp - 0x170]
mov edx, dword [ebp - 0x144]
xor edx, dword [ebp - 0x13c]
mov ebx, dword [ebx + 0x3c]
xor edx, dword [ebp - 0x124]
and eax, edi
rol edi, 0x1e
xor eax, dword [ebp - 0x150]
xor edx, dword [ebp - 0x110]
mov ecx, esi
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x108], ebx
rol ecx, 5
add ecx, ebx
add eax, ecx
rol edx, 1
mov ecx, dword [ebp - 0x158]
add ecx, 0x5a827999
add eax, ecx
mov dword [ebp - 0x158], eax
mov ecx, eax
mov eax, dword [ebp - 0x148]
rol ecx, 5
add ecx, edx
xor eax, edi
and eax, esi
xor eax, dword [ebp - 0x148]
mov dword [ebp - 0x164], edx
add eax, ecx
rol esi, 0x1e
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x104], edx
mov edx, dword [ebp - 0x140]
xor edx, dword [ebp - 0x138]
add ecx, 0x5a827999
xor edx, dword [ebp - 0x120]
add eax, ecx
xor edx, dword [ebp - 0x10c]
mov dword [ebp - 0x150], eax
mov ecx, eax
rol edx, 1
mov eax, edi
xor eax, esi
rol ecx, 5
and eax, dword [ebp - 0x158]
add ecx, edx
rol dword [ebp - 0x158], 0x1e
xor eax, edi
mov edi, dword [ebp - 0x158]
add eax, ecx
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x100], edx
mov edx, dword [ebp - 0x134]
xor edx, dword [ebp - 0x11c]
add ecx, 0x5a827999
xor edx, dword [ebp - 0x13c]
add eax, ecx
mov ecx, eax
mov dword [ebp - 0x15c], eax
xor edx, ebx
mov ebx, dword [ebp - 0x150]
rol edx, 1
mov eax, edi
xor eax, esi
rol ecx, 5
and eax, ebx
add ecx, edx
rol ebx, 0x1e
xor eax, esi
add eax, ecx
mov ecx, dword [ebp - 0x154]
add ecx, 0x5a827999
mov dword [ebp - 0xfc], edx
mov edx, dword [ebp - 0x130]
add eax, ecx
xor edx, dword [ebp - 0x118]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x150], ebx
xor edx, dword [ebp - 0x138]
mov ecx, eax
rol ecx, 5
xor edx, dword [ebp - 0x164]
mov esi, ebx
rol edx, 1
mov ebx, dword [ebp - 0x15c]
mov eax, edi
xor eax, esi
and eax, ebx
add ecx, edx
xor eax, edi
add eax, ecx
mov ecx, dword [ebp - 0x14c]
add ecx, 0x5a827999
add eax, ecx
rol ebx, 0x1e
lea ecx, [ebp - 0x114]
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x160], 4
jmp 0x10038886
mov ecx, dword [ebp - 0x154]
mov ebx, dword [ecx - 0x18]
mov edx, dword [ecx - 0x20]
lea eax, [ecx + 0x14]
xor edx, ebx
xor edx, dword [eax]
mov dword [ebp - 0x168], eax
xor edx, dword [ecx]
mov eax, esi
rol edx, 1
xor eax, dword [ebp - 0x15c]
mov dword [ecx + 0x20], edx
xor eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x164], edx
rol ecx, 5
add ecx, 0x6ed9eba1
add ecx, edx
rol dword [ebp - 0x148], 0x1e
add eax, ecx
add edi, eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x158], edi
mov edx, dword [eax - 0x1c]
xor edx, dword [eax + 0x18]
mov edi, dword [eax - 0x14]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0x158]
xor edx, edi
rol edx, 1
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x15c]
rol ecx, 5
xor eax, dword [ebp - 0x148]
add ecx, edx
xor eax, dword [ebp - 0x14c]
mov dword [ebp - 0x16c], edx
add eax, 0x6ed9eba1
add eax, ecx
rol dword [ebp - 0x14c], 0x1e
add esi, eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x150], esi
mov edx, dword [eax + 0x1c]
xor edx, dword [eax + 8]
mov esi, dword [eax - 0x10]
mov ecx, dword [ebp - 0x150]
xor edx, esi
xor edx, ebx
mov ebx, dword [ebp - 0x158]
rol edx, 1
mov dword [eax + 0x28], edx
mov eax, ebx
rol ecx, 5
xor eax, dword [ebp - 0x148]
add ecx, edx
rol ebx, 0x1e
xor eax, dword [ebp - 0x14c]
mov dword [ebp - 0x158], ebx
add eax, ecx
mov ecx, dword [ebp - 0x15c]
add ecx, 0x6ed9eba1
add ecx, eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x15c], ecx
mov edx, dword [eax - 0xc]
xor edx, dword [eax + 0xc]
rol ecx, 5
xor edx, dword [ebp - 0x164]
xor edx, edi
rol edx, 1
mov dword [eax + 0x2c], edx
mov edi, ebx
mov ebx, dword [ebp - 0x150]
mov eax, edi
xor eax, ebx
xor eax, dword [ebp - 0x14c]
add ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x6ed9eba1
add ecx, eax
rol ebx, 0x1e
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x148], ecx
rol ecx, 5
mov edx, dword [eax + 0x10]
xor edx, dword [eax - 8]
mov dword [ebp - 0x150], ebx
xor edx, dword [ebp - 0x16c]
xor edx, esi
mov esi, ebx
rol edx, 1
mov dword [eax + 0x30], edx
add ecx, edx
mov edx, dword [ebp - 0x14c]
mov eax, edi
xor eax, esi
xor eax, dword [ebp - 0x15c]
add edx, 0x6ed9eba1
add eax, ecx
mov ecx, dword [ebp - 0x15c]
add edx, eax
rol ecx, 0x1e
dec dword [ebp - 0x160]
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x154], eax
jne 0x10038880
lea ebx, [ebp - 0xc4]
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x160], 4
lea ebx, [ebx]
rol edx, 5
mov edi, dword [ebp - 0x154]
or ecx, dword [ebp - 0x148]
lea eax, [ebx + 0x14]
mov ebx, dword [ebx - 0x20]
xor ebx, dword [edi - 0x18]
and ecx, esi
xor ebx, dword [edi]
mov dword [ebp - 0x164], eax
xor ebx, dword [eax]
mov eax, edi
rol ebx, 1
mov dword [eax + 0x20], ebx
mov eax, dword [ebp - 0x15c]
and eax, dword [ebp - 0x148]
mov edi, dword [ebp - 0x148]
or ecx, eax
add ecx, ebx
rol edi, 0x1e
add ecx, dword [ebp - 0x158]
lea eax, [edx - 0x70e44324]
add eax, ecx
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x168], ebx
mov esi, dword [ecx - 0x1c]
xor esi, dword [ecx + 0x18]
mov ebx, dword [ecx - 0x14]
xor esi, dword [ecx + 4]
mov dword [ebp - 0x158], eax
xor esi, ebx
mov edx, eax
mov dword [ebp - 0x148], edi
mov eax, edi
rol esi, 1
mov dword [ecx + 0x24], esi
mov ecx, edi
rol edx, 5
or ecx, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x14c]
and ecx, dword [ebp - 0x15c]
and eax, edi
or eax, ecx
mov ecx, dword [ebp - 0x154]
rol edi, 0x1e
mov dword [ebp - 0x16c], esi
add esi, 0x8f1bbcdc
add eax, esi
mov esi, dword [ecx + 0x1c]
xor esi, dword [ecx + 8]
add eax, dword [ebp - 0x150]
mov dword [ebp - 0x14c], edi
mov edi, dword [ecx - 0x10]
add eax, edx
xor esi, edi
xor esi, dword [ecx - 0x18]
mov edx, eax
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x158]
rol esi, 1
mov dword [ecx + 0x28], esi
mov ecx, eax
rol edx, 5
or ecx, dword [ebp - 0x14c]
and eax, dword [ebp - 0x14c]
and ecx, dword [ebp - 0x148]
add edx, 0x8f1bbcdc
or ecx, eax
mov eax, dword [ebp - 0x158]
rol eax, 0x1e
add ecx, esi
add ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x158], eax
add ecx, edx
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x15c], ecx
mov esi, dword [edx - 0xc]
xor esi, dword [edx + 0xc]
xor esi, dword [ebp - 0x168]
xor esi, ebx
rol esi, 1
mov dword [edx + 0x2c], esi
mov ebx, dword [ebp - 0x150]
mov edx, ecx
rol edx, 5
mov ecx, eax
or ecx, ebx
and ecx, dword [ebp - 0x14c]
and eax, ebx
or ecx, eax
add ecx, esi
rol ebx, 0x1e
add ecx, dword [ebp - 0x148]
lea eax, [edx - 0x70e44324]
add eax, ecx
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x150], ebx
mov esi, dword [ecx + 0x10]
xor esi, dword [ecx - 8]
mov edx, eax
xor esi, dword [ebp - 0x16c]
mov dword [ebp - 0x148], eax
rol edx, 5
xor esi, edi
mov edi, dword [ebp - 0x158]
rol esi, 1
mov dword [ecx + 0x30], esi
mov ecx, ebx
or ecx, dword [ebp - 0x15c]
and ebx, dword [ebp - 0x15c]
and ecx, edi
or ecx, ebx
mov ebx, dword [ebp - 0x164]
add esi, 0x8f1bbcdc
add ecx, esi
add ecx, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x150]
add edx, ecx
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x14c], edx
rol ecx, 0x1e
dec dword [ebp - 0x160]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x154], ebx
jne 0x10038a50
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x160], 4
lea ecx, [ecx]
mov ebx, dword [ecx - 0x18]
mov edx, dword [ecx - 0x20]
xor edx, ebx
xor edx, dword [ecx + 0x14]
lea eax, [ecx + 0x14]
xor edx, dword [ecx]
mov dword [ebp - 0x164], eax
rol edx, 1
mov eax, dword [ebp - 0x150]
xor eax, dword [ebp - 0x15c]
mov dword [ecx + 0x20], edx
xor eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x14c]
add eax, edx
rol dword [ebp - 0x148], 0x1e
add eax, edi
mov dword [ebp - 0x168], edx
rol ecx, 5
add ecx, 0xca62c1d6
add eax, ecx
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], eax
mov edx, dword [ecx - 0x1c]
xor edx, dword [ecx + 0x18]
mov edi, dword [ecx - 0x14]
xor edx, dword [ecx + 4]
xor edx, edi
rol edx, 1
mov dword [ecx + 0x24], edx
mov ecx, eax
rol ecx, 5
mov eax, dword [ebp - 0x15c]
xor eax, dword [ebp - 0x148]
add ecx, 0xca62c1d6
xor eax, dword [ebp - 0x14c]
mov dword [ebp - 0x16c], edx
add eax, edx
rol dword [ebp - 0x14c], 0x1e
add eax, dword [ebp - 0x150]
add eax, ecx
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x150], eax
mov edx, dword [ecx + 0x1c]
xor edx, dword [ecx + 8]
mov esi, dword [ecx - 0x10]
xor edx, esi
xor edx, ebx
mov ebx, dword [ebp - 0x158]
rol edx, 1
mov dword [ecx + 0x28], edx
mov ecx, eax
rol ecx, 5
mov eax, ebx
xor eax, dword [ebp - 0x148]
rol ebx, 0x1e
xor eax, dword [ebp - 0x14c]
mov dword [ebp - 0x158], ebx
add eax, 0xca62c1d6
add eax, edx
add eax, dword [ebp - 0x15c]
add ecx, eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x15c], ecx
mov edx, dword [eax - 0xc]
xor edx, dword [eax + 0xc]
rol ecx, 5
xor edx, dword [ebp - 0x168]
xor edx, edi
rol edx, 1
mov dword [eax + 0x2c], edx
mov edi, ebx
mov ebx, dword [ebp - 0x150]
mov eax, edi
xor eax, ebx
xor eax, dword [ebp - 0x14c]
add eax, 0xca62c1d6
add eax, edx
add eax, dword [ebp - 0x148]
add ecx, eax
rol ebx, 0x1e
mov dword [ebp - 0x148], ecx
rol ecx, 5
mov eax, dword [ebp - 0x154]
add ecx, 0xca62c1d6
mov edx, dword [eax + 0x10]
xor edx, dword [eax - 8]
mov dword [ebp - 0x150], ebx
xor edx, dword [ebp - 0x16c]
xor edx, esi
mov esi, dword [ebp - 0x15c]
rol edx, 1
mov dword [eax + 0x30], edx
mov eax, edi
xor eax, ebx
xor eax, esi
add eax, edx
add eax, dword [ebp - 0x14c]
rol esi, 0x1e
add eax, ecx
dec dword [ebp - 0x160]
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x154], ecx
jne 0x10038c50
mov ecx, dword [ebp - 0x178]
add eax, dword [ebp - 0x174]
add dword [ecx + 0x10], edi
add dword [ecx + 8], esi
add dword [ecx + 0xc], ebx
mov dword [ecx], eax
mov eax, dword [ebp - 0x148]
add dword [ecx + 4], eax
cmp dword [ebp + 8], 0
pop edi
pop esi
pop ebx
je 0x10038e80
mov ecx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x44]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b7060
mov esp, ebp
pop ebp
ret 4