Function at 0xabd58c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14
call fcn.00b5e1fc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x174]
mov edi, dword [esi + 0x38]
mov ebx, dword [esi + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x164]
mov edx, dword [esi + 0x160]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
add ecx, edi
adc eax, ebx
mov dword [ebp - 0x10], edx
cmp eax, 0xf
ja 0xabd81b
jb 0xabd5e6
cmp ecx, 0xffffffe0
ja 0xabd81b
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x16c]
test eax, eax
je 0xabd60d
lea ecx, [esi + 0x60]
lea eax, [esi + 0x40]
push ecx
push eax
call edx
add esp, 8
mov dword [esi + 0x16c], 0
mov ecx, dword [esi + 0xc]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 8]
bswap eax
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x168]
test eax, eax
mov dword [ebp - 4], eax
je 0xabd681
jmp 0xabd633
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0xabd665
mov cl, byte [ebx]
mov dl, byte [eax + esi + 0x10]
xor dl, cl
inc ebx
mov byte [edi], dl
mov dl, byte [eax + esi + 0x40]
xor dl, cl
inc edi
mov byte [eax + esi + 0x40], dl
mov edx, dword [ebp + 0x14]
dec edx
inc eax
and eax, 0xf
mov dword [ebp + 0x14], edx
mov dword [ebp - 4], eax
jne 0xabd630
mov dword [ebp + 0xc], ebx
jmp 0xabd670
test eax, eax
mov dword [ebp + 0xc], ebx
jne 0xabd80c
lea eax, [esi + 0x60]
lea ecx, [esi + 0x40]
push eax
push ecx
call dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add esp, 8
mov edx, dword [ebp + 0x14]
cmp edx, 0xc00
jb 0xabd722
mov eax, 0xaaaaaaab
mul edx
shr edx, 0xb
mov dword [ebp - 0x10], edx
push 0xc00
lea eax, [esi + 0x60]
push ebx
push eax
lea eax, [esi + 0x40]
push eax
call dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp + 0x10], 0xc0
mov edx, dword [ebp - 8]
lea eax, [esi + 0x10]
push edx
push eax
push esi
call dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add esp, 0xc
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov dword [esi + 0xc], eax
mov edx, ebx
xor eax, eax
mov ecx, edi
sub edx, edi
mov ebx, dword [esi + eax + 0x10]
add eax, 4
xor ebx, dword [edx + ecx]
add ecx, 4
cmp eax, 0x10
mov dword [ecx - 4], ebx
jb 0xabd6de
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
add edi, 0x10
add ebx, 0x10
dec eax
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], eax
jne 0xabd6b8
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
sub ecx, 0xc00
dec eax
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0x10], eax
jne 0xabd69d
mov eax, dword [ebp - 4]
mov edx, ecx
mov ecx, edx
and ecx, 0xfffffff0
je 0xabd7b6
push ecx
lea eax, [esi + 0x60]
push ebx
lea ecx, [esi + 0x40]
push eax
push ecx
call dword [ebp - 0x14]
mov eax, dword [ebp + 0x14]
add esp, 0x10
cmp eax, 0x10
jb 0xabd7b0
shr eax, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
lea eax, [esi + 0x10]
push edx
push eax
push esi
call dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add esp, 0xc
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov dword [esi + 0xc], eax
mov edx, ebx
xor eax, eax
mov ecx, edi
sub edx, edi
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0xc], edx
jmp 0xabd77c
mov edx, dword [ebp + 0xc]
mov edx, dword [ecx + edx]
mov ecx, dword [esi + eax + 0x10]
xor edx, ecx
mov ecx, dword [ebp + 0x10]
add eax, 4
mov dword [ecx], edx
add ecx, 4
cmp eax, 0x10
mov dword [ebp + 0x10], ecx
jb 0xabd779
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
add edi, 0x10
add ebx, 0x10
sub ecx, 0x10
dec eax
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0x14], eax
jne 0xabd74b
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
test edx, edx
je 0xabd80c
mov eax, dword [ebp - 8]
lea ecx, [esi + 0x10]
push eax
push ecx
push esi
call dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add esp, 0xc
inc ecx
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 8]
bswap eax
mov edx, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
dec edx
sub ebx, edi
lea ecx, [eax + edi]
mov dword [ebp + 0xc], ebx
lea edi, [edx + 1]
jmp 0xabd7ef
mov ebx, dword [ebp + 0xc]
mov dl, byte [ecx + ebx]
mov bl, byte [esi + eax + 0x40]
xor bl, dl
mov byte [esi + eax + 0x40], bl
mov bl, byte [esi + eax + 0x10]
xor bl, dl
inc eax
mov byte [ecx], bl
inc ecx
dec edi
mov dword [ebp - 4], eax
jne 0xabd7ec
mov dword [esi + 0x168], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret