Function at 0x82bb60
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov ecx, dword [ecx]
mov esi, edx
mov dword [esp + 0x10], ecx
call fcn.007f7590
test esi, esi
mov dword [esp + 0x18], esi
je 0x82c096
mov esi, dword [esp + 0x44]
mov ecx, 1
mov ebx, dword [esp + 0x48]
mov edi, fcn.00810cd0
mov edx, 0x99
mov ebp, eax
not edi
mov dword [esp + 4], ebp
sub ecx, esi
cmp esi, 1
mov esi, dword [esp + 0x18]
adc edx, 0
mov dword [esp + 0x24], ecx
lea ecx, [ebx + 1]
and edi, 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
mov eax, dword [esi + 0x2c]
xor ecx, ecx
cmp byte [esi + 0x60], 0
mov dword [esp], esi
mov dword [esp + 0xc], eax
jne 0x82bdb8
mov ecx, esi
call fcn.0082b800
mov ecx, eax
test eax, eax
jg 0x82bbe8
mov esi, dword [esp]
jmp 0x82bdb8
mov esi, dword [esp]
xor ebp, ebp
mov dword [esp + 8], ecx
cmp ebp, 1
jne 0x82bd64
mov ecx, edi
xor eax, eax
movzx edx, byte [0xbb9c33]
add ecx, fcn.00810cd0
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x82bd57
mov al, byte [0xbb9c33]
mov edx, edi
xor ecx, ecx
add edx, fcn.00810cd0
sete cl
mov edx, ecx
not edx
lea ecx, [ecx + edx*2 + 4]
mov dl, 1
and cl, 7
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb9c33], dl
jne 0x82bc29
mov edx, edi
xor ecx, ecx
mov esi, dword [esp]
movzx eax, al
add edx, fcn.00810cd0
sete cl
mov edx, ecx
not edx
lea ecx, [ecx + edx*2 + 4]
and cl, 7
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x82bca8
mov ecx, edi
xor eax, eax
movzx edx, byte [0xbb9c33]
add ecx, fcn.00810cd0
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jae 0x82bc7d
jmp 0x82bd57
mov ecx, edi
xor eax, eax
movzx edx, byte [0xbb9c33]
add ecx, fcn.00810cd0
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x82bd32
mov ecx, edi
xor eax, eax
mov esi, dword [esp]
add ecx, fcn.00810cd0
sete al
mov ecx, eax
not ecx
and ecx, 0x283
lea ecx, [eax + ecx*2 + 0x2b14ac6c]
mov eax, dword [0xbb9c24]
xor eax, ecx
mov dword [0xbb9c24], eax
not eax
mov edx, dword [0xbb9c28]
imul eax, ecx
and cl, 7
lea ebx, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb9c28], edx
or ebx, eax
not edx
mov al, 1
imul edx, ebx
mov ebx, dword [esp + 0x48]
shl al, cl
xor dword [0xbb9c2c], edx
or byte [0xbb9c33], al
mov ecx, edi
xor eax, eax
add ecx, fcn.00810cd0
sete al
mov ecx, eax
not ecx
lea ecx, [eax + ecx*2 + 4]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb9c33], al
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x20], 0xbb9c24
je 0x82bd82
lea eax, [ebp + ebx]
mov ebx, dword [esi + 0x50]
mov ecx, dword [esp + 4]
mov edx, 0x59
add ebx, ebp
push eax
push ebx
mov ebx, dword [esp + 0x50]
push dword [esp + 0x48]
jmp 0x82bd9b
mov eax, dword [esi + 0x50]
mov ecx, dword [esp + 4]
mov edx, 0x59
inc eax
push dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 0x30]
call fcn.007d10f0
mov esi, dword [esp + 0xc]
add esp, 0xc
mov ecx, dword [esp + 8]
inc ebp
cmp ebp, ecx
jne 0x82bbf1
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x58], 0
jne 0x82beb5
mov eax, dword [esp + 0xc]
test byte [eax + 5], 0x10
je 0x82beb5
cmp byte [esi + 0x11], 0x5a
je 0x82beb5
mov ecx, ebp
mov edx, 0x32
push ebx
call fcn.007f9600
add esp, 4
cmp dword [esp + 0x44], 0
jne 0x82be63
mov esi, dword [esp]
mov dword [esp + 8], eax
mov edx, 0x52
mov ecx, ebp
mov eax, dword [esi + 0x40]
inc eax
push 1
push eax
call fcn.007d10d0
add esp, 8
mov edx, 0x4e
mov ecx, ebp
push dword [esi + 0x40]
push ebx
call fcn.007d10d0
add esp, 8
mov eax, dword [esi + 0x40]
mov ecx, dword [esp + 4]
mov edx, 0x5b
lea ebp, [eax + 2]
push ebp
mov ebp, dword [esp + 8]
push 2
push eax
call fcn.007d10f0
add esp, 0xc
mov eax, dword [esi + 0x40]
mov edx, 0x83
mov ecx, ebp
add eax, 2
push eax
push dword [esi + 0x3c]
call fcn.007d10d0
mov edx, dword [esp + 0x10]
add esp, 8
jmp 0x82bea5
mov edx, 0x18
mov ecx, ebp
push 1
push ebx
push 0
mov esi, dword [esp + 0xc]
push dword [esi + 0x3c]
mov ebx, eax
call fcn.0078dfd0
add esp, 0x10
mov edx, 0x7a
mov ecx, ebp
push dword [esi + 0x3c]
call fcn.007f9600
add esp, 4
mov ecx, ebp
call fcn.007fdcb0
lea edx, [eax - 2]
mov ecx, ebp
call fcn.007f75c0
mov edx, ebx
mov ecx, ebp
call fcn.007f75c0
mov ebx, dword [esp + 0x48]
jmp 0x82c088
mov eax, dword [esi + 0x40]
test eax, eax
je 0x82bedb
add eax, dword [esp + 0x24]
mov ecx, ebp
mov edx, 0x52
push 1
push eax
call fcn.007d10d0
mov esi, dword [esp + 8]
add esp, 8
jmp 0x82c08b
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x10], 0x5d4790
je 0x82c08b
cmp dword [esi + 0x28], 0
mov dword [esp + 8], ecx
jne 0x82bf00
mov dword [esp + 0x1c], 0
jmp 0x82bf5c
mov ebx, dword [esp + 0x10]
mov esi, ecx
mov ecx, ebx
call fcn.007fcfa0
mov ebp, eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, 0x59
mov eax, dword [eax + 0x50]
add eax, esi
push ebp
push eax
push dword [esp + 0x48]
call fcn.007d10f0
add esp, 0xc
mov ecx, dword [esp + 4]
mov edx, 0x14
push 1
push 0
push ebp
call fcn.007d10f0
add esp, 0xc
mov ecx, ebx
mov edx, ebp
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 4]
mov dword [esp + 0x1c], eax
call fcn.007fc440
mov esi, dword [esp]
cmp byte [esi + 0x60], 0
mov eax, ebx
je 0x82bfde
mov ecx, ebp
call fcn.007fdcb0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x48]
mov ebx, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, ebx
mov edx, dword [eax]
mov dword [esp + 8], edx
call fcn.007fa700
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + 0x14]
mov ecx, ebx
push 0
push 0
mov esi, eax
push eax
call fcn.007fa730
add esp, 0xc
mov ecx, ebp
mov edx, 0xffffffff
call fcn.007f77c0
mov edx, dword [esp + 0x14]
mov ecx, ebp
mov ebp, eax
call fcn.007f77c0
mov ebx, dword [esp + 0x48]
cmp eax, ebp
ja 0x82bfdc
mov edx, dword [esp]
cmp byte [eax], 0x59
jne 0x82bfd5
mov ecx, dword [eax + 4]
cmp ecx, dword [edx + 0x30]
jne 0x82bfd5
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
add eax, 0x14
cmp eax, ebp
jbe 0x82bfc1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
test byte [ecx + 4], 0x20
je 0x82c01b
mov eax, dword [esp]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 4]
call fcn.0081c7c0
mov ecx, dword [esp + 4]
mov edx, 0x51
push 0xfffffffffffffffe
push eax
push 0
push 0
push 0
call fcn.007f75d0
add esp, 0x14
mov ebp, dword [esp + 4]
mov esi, dword [esp]
mov edx, dword [esp + 0x20]
mov ecx, ebp
push dword [esi + 0x34]
push dword [esp + 0x18]
push dword [esp + 0x4c]
call fcn.007d10f0
add esp, 0xc
mov edx, dword [esp + 0xc]
mov ecx, ebp
push 0xfffffffffffffff8
call fcn.007f7b70
add esp, 4
movzx edx, byte [esp + 8]
mov ecx, ebp
call fcn.0078e010
cmp byte [esi + 0x60], 0
je 0x82c075
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push dword [esp + 8]
call fcn.007faa50
mov esi, dword [esp + 4]
add esp, 4
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 4]
test edx, edx
je 0x82c08b
mov ecx, ebp
call fcn.007f75c0
mov esi, dword [esp]
mov esi, dword [esi + 0x24]
test esi, esi
jne 0x82bbbd
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret