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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebx, ecx
mov ebp, dword [esp + 0x30]
mov ecx, dword [ecx]
cmp dword [esp + 0x34], 0
mov esi, edx
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
je 0x83270f
mov eax, dword [esi + 0x1c]
cmp eax, dword [esp + 0x38]
je 0x83270f
cmp byte [ebp + 0x24], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
js 0x8324ab
mov ecx, ebx
call fcn.007fcfa0
mov esi, dword [esp + 4]
mov edi, eax
mov edx, 0x86
mov ecx, esi
push eax
push dword [esp + 0x3c]
call fcn.007d10d0
add esp, 8
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edx, 0x1f
push edi
push 0
push dword [esp + 0x10]
call fcn.007d10f0
add esp, 0xc
mov ecx, ebx
mov edx, edi
call fcn.007fc440
jmp 0x83270b
mov ecx, ebp
call fcn.00792930
movzx ecx, word [eax + 0x32]
mov esi, dword [ebx + 0x2c]
mov edi, eax
mov dword [esp + 0x18], ebx
lea edx, [esi + 1]
add esi, ecx
test ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [ebx + 0x2c], esi
mov esi, dword [esp + 4]
mov dword [esp], edx
je 0x83250c
xor ebp, ebp
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x34]
movsx edx, word [eax + ebp*2]
call fcn.007fc7b0
mov ecx, dword [esp]
cwde
mov edx, 0x59
lea ebx, [ebp + ecx]
mov ecx, esi
push ebx
push eax
push dword [esp + 0x40]
call fcn.007d10f0
add esp, 0xc
inc ebp
cmp ebp, dword [esp + 0x14]
jne 0x8324d8
mov edx, fcn.007985f0
xor eax, eax
movzx edi, byte [0xbba607]
mov ebp, esi
mov esi, dword [esp + 0x10]
mov ebx, dword [esp]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edi, eax
mov edi, dword [esp + 0x14]
jb 0x8326be
mov al, byte [0xbba607]
xor ecx, ecx
cmp edx, 1
mov ah, 1
seta cl
mov ebx, ecx
not ebx
lea ecx, [ebx + ecx*2]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba607], ah
jne 0x83254d
mov ecx, fcn.007985f0
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
mov ebx, edx
not ebx
lea edx, [ebx + edx*2]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x8325c5
mov ebx, dword [esp]
xor eax, eax
cmp ecx, 1
seta al
mov edx, eax
not edx
lea eax, [edx + eax*2]
movzx edx, byte [0xbba607]
and al, 7
movzx eax, al
bt edx, eax
jae 0x8325a0
jmp 0x8326be
xor eax, eax
cmp ecx, 1
movzx edx, byte [0xbba607]
mov ebx, dword [esp]
seta al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x832694
mov eax, fcn.007985f0
xor ecx, ecx
mov ebx, edi
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
xor eax, 0xaeb0cef7
lea ecx, [eax + ecx*2 + 0x210]
mov eax, dword [0xbba5f0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbba5f0], eax
not eax
imul edx, eax
mov eax, dword [str.1_ZNau_n]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [str.1_ZNau_n], eax
or edi, edx
not eax
mov edx, dword [0xbba5f8]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbba5f8], edx
or edi, eax
not edx
mov eax, dword [0xbba5fc]
imul edx, edi
lea edi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbba5fc], eax
or edi, edx
not eax
mov dl, 1
imul eax, edi
mov edi, ebx
mov ebx, dword [esp]
shl dl, cl
xor dword [0xbba600], eax
or byte [0xbba607], dl
mov eax, fcn.007985f0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
not eax
lea ecx, [eax + ecx*2]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbba607], al
mov ecx, ebp
mov edx, 0x1e
push edi
push ebx
push 0
push dword [esp + 0x14]
call fcn.0078dfd0
add esp, 0x10
mov edi, eax
mov ecx, ebp
mov edx, 0x44
push 0xffffffffffffffff
push 0xbba5f0
push 0
push 2
push 0xb
call fcn.007f75d0
add esp, 0x14
mov ebx, dword [esp + 0x18]
mov ecx, ebx
call fcn.007fc3c0
mov ecx, ebp
mov edx, edi
call fcn.007f75c0
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x14]
push 0
call fcn.007ffaf0
add esp, 4
mov dword [esp], eax
movzx eax, word [ebp + 0x2a]
test ax, ax
jle 0x83275a
xor edi, edi
mov ecx, dword [ebp + 4]
lea edx, [edi + edi*4]
cmp byte [ecx + edx*4 + 0xd], 0x45
jne 0x832752
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 4]
mov edx, 0x53
add eax, edi
push eax
call fcn.007f9600
add esp, 4
movzx eax, word [ebp + 0x2a]
inc edi
movsx ecx, ax
cmp edi, ecx
jl 0x83272a
mov edx, dword [esp]
mov ecx, ebx
push esi
push 2
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.007e5ea0
add esp, 0x10
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret