Function at 0x7f5e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ecx]
mov ebx, edx
cmp byte [edi + 0x51], 0
jne 0x7f64fb
mov esi, ecx
lea eax, [ebx + 8]
xor edx, edx
push eax
call fcn.0080c090
add esp, 4
test eax, eax
je 0x7f64fb
cmp dword [eax + 0x38], 0
mov ebp, eax
je 0x7f6056
mov edx, fcn.007af400
movzx ecx, byte [0xbbbe57]
and edx, 1
inc edx
mov eax, edx
xor eax, fcn.007af400
sete al
not al
add al, 0x20
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7f6043
mov al, byte [0xbbbe57]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007af400
sete cl
not cl
add cl, 0x20
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbbe57], ah
jne 0x7f5e7a
mov ecx, fcn.007af400
movzx eax, al
and ecx, 1
inc ecx
mov edx, ecx
xor edx, fcn.007af400
sete dl
not dl
add dl, 0x20
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7f5eee
mov eax, ecx
movzx edx, byte [0xbbbe57]
xor eax, fcn.007af400
sete al
not al
add al, 0x20
and al, 7
movzx eax, al
bt edx, eax
jae 0x7f5eca
jmp 0x7f6043
xor ecx, fcn.007af400
movzx ecx, byte [0xbbbe57]
sete al
not al
add al, 0x20
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7f601d
mov eax, fcn.007af400
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.007af400
mov eax, dword [0xbbbe30]
sete cl
xor ecx, 0xf836238f
or ecx, 0x1020
xor eax, ecx
and cl, 7
mov dword [0xbbbe30], eax
not eax
mov edx, dword [0xbbbe34]
imul eax, eax, 0xf83633af
lea ebp, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbbbe34], edx
or eax, ebp
not edx
imul edx, eax
mov eax, dword [0xbbbe38]
lea ebp, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbbbe38], eax
or edx, ebp
not eax
imul eax, edx
mov edx, dword [0xbbbe3c]
lea ebp, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbbbe3c], edx
or eax, ebp
not edx
imul edx, eax
mov eax, dword [0xbbbe40]
mov ebp, edx
shl ebp, 4
xor eax, edx
shr edx, 0x1b
mov dword [0xbbbe40], eax
or edx, ebp
not eax
imul eax, edx
mov edx, dword [0xbbbe44]
mov ebp, eax
shl ebp, 5
xor edx, eax
shr eax, 0x1a
mov dword [0xbbbe44], edx
or eax, ebp
not edx
imul edx, eax
mov eax, dword [0xbbbe48]
mov ebp, edx
shl ebp, 6
xor eax, edx
shr edx, 0x19
mov dword [0xbbbe48], eax
or edx, ebp
not eax
imul eax, edx
mov edx, dword [0xbbbe4c]
mov ebp, eax
shl ebp, 7
xor edx, eax
shr eax, 0x18
mov dword [0xbbbe4c], edx
or eax, ebp
not edx
imul edx, eax
xor dword [0xbbbe50], edx
mov dl, 1
shl dl, cl
or byte [0xbbbe57], dl
mov eax, fcn.007af400
and eax, 1
inc eax
xor eax, fcn.007af400
mov al, 0xfe
sete cl
not cl
add cl, 0x20
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbbbe57], al
push 0xbbbe30
push esi
call fcn.0078de60
add esp, 8
jmp 0x7f64fb
cmp dword [ebp + 0xc], 0
je 0x7f6263
mov edx, 0x794f30
xor eax, eax
movzx ebp, byte [0xbbbe83]
and edx, 1
inc edx
mov ecx, edx
xor ecx, 0x794f30
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt ebp, eax
jb 0x7f6259
mov al, byte [0xbbbe83]
mov dword [esp], ebx
mov ebp, edx
xor ebx, ebx
mov ah, 1
xor ebp, 0x794f30
sete bl
mov ecx, ebx
xor ecx, 5
lea ecx, [ecx + ebx*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbbe83], ah
jne 0x7f6096
mov ecx, 0x794f30
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov ebx, ecx
xor ebx, 0x794f30
sete dl
mov ebx, edx
xor ebx, 5
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7f6113
mov ebx, dword [esp]
mov edx, ecx
xor eax, eax
movzx ebp, byte [0xbbbe83]
xor edx, 0x794f30
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2]
bt ebp, eax
jae 0x7f60ed
jmp 0x7f6259
xor eax, eax
xor ecx, 0x794f30
movzx edx, byte [0xbbbe83]
mov ebx, dword [esp]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x7f6231
mov eax, 0x794f30
xor ecx, ecx
and eax, 1
inc eax
xor eax, 0x794f30
sete cl
mov eax, ecx
xor eax, 0x6aa8a755
lea ecx, [eax + ecx*2 + 0x40]
mov eax, dword [0xbbbe60]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbbbe60], eax
not eax
imul edx, eax
mov eax, dword [0xbbbe64]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbbbe64], eax
or ebx, edx
not eax
mov edx, dword [0xbbbe68]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbbbe68], edx
or ebx, eax
not edx
mov eax, dword [0xbbbe6c]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbbbe6c], eax
or ebx, edx
not eax
mov edx, dword [0xbbbe70]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbbbe70], edx
or eax, ebx
not edx
mov ebp, dword [0xbbbe74]
imul edx, eax
mov ebx, edx
shl ebx, 5
xor ebp, edx
shr edx, 0x1a
mov dword [0xbbbe74], ebp
or edx, ebx
not ebp
imul ebp, edx
mov edx, dword [0xbbbe78]
mov ebx, ebp
shl ebx, 6
xor edx, ebp
shr ebp, 0x19
mov dword [0xbbbe78], edx
or ebp, ebx
not edx
mov ebx, dword [esp]
imul edx, ebp
xor dword [0xbbbe7c], edx
mov dl, 1
shl dl, cl
or byte [0xbbbe83], dl
mov eax, 0x794f30
xor ecx, ecx
and eax, 1
inc eax
xor eax, 0x794f30
sete cl
mov eax, ecx
xor eax, 5
lea ecx, [eax + ecx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbbbe83], al
push 0xbbbe60
jmp 0x7f6048
mov ecx, esi
mov edx, ebp
call fcn.0083ac70
test eax, eax
jne 0x7f64fb
mov ecx, esi
call fcn.007fc3c0
mov edx, dword [ebp + 0x48]
mov ecx, edi
call fcn.0078dee0
mov dword [esp + 0xc], eax
mov ecx, edi
mov edx, 0x50
push 0
call fcn.0078a8a0
add esp, 4
test eax, eax
je 0x7f64fb
mov edx, fcn.007831c0
mov dword [esp + 8], eax
imul edx, edx
movzx ecx, byte [0xbbbea7]
and edx, 3
cmp edx, 1
seta al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7f640d
mov al, byte [0xbbbea7]
cmp edx, 1
mov ah, 1
seta cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbbea7], ah
jne 0x7f62d1
mov ecx, fcn.007831c0
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
or dl, 2
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7f632b
cmp ecx, 1
movzx edx, byte [0xbbbea7]
seta al
or al, 2
movzx eax, al
bt edx, eax
jae 0x7f630f
jmp 0x7f640d
cmp ecx, 1
movzx edx, byte [0xbbbea7]
seta al
or al, 2
movzx eax, al
bt edx, eax
jb 0x7f63ec
mov eax, fcn.007831c0
xor ecx, ecx
mov dword [esp + 4], ebp
mov ebp, ebx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbbbe90]
seta cl
or ecx, 0x17ed3b72
add ecx, 0x800
xor eax, ecx
mov dword [0xbbbe90], eax
not eax
mov edx, dword [0xbbbe94]
imul eax, ecx
and cl, 7
lea ebx, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbbbe94], edx
or ebx, eax
not edx
mov eax, dword [0xbbbe98]
imul edx, ebx
lea ebx, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbbbe98], eax
or ebx, edx
not eax
mov edx, dword [0xbbbe9c]
imul eax, ebx
lea ebx, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbbbe9c], edx
or ebx, eax
not edx
mov al, 1
imul edx, ebx
mov ebx, ebp
mov ebp, dword [esp + 4]
shl al, cl
xor dword [0xbbbea0], edx
or byte [0xbbbea7], al
mov eax, fcn.007831c0
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbbbea7], al
mov ecx, dword [esp + 8]
mov dword [esi + 0xe4], ecx
mov dword [ecx + 0x20], 1
mov esi, ecx
movsx eax, word [ebp + 0x2a]
mov word [ecx + 0x2a], ax
lea ecx, [eax - 1]
sar ecx, 0x1f
shr ecx, 0x1d
lea eax, [eax + ecx - 1]
mov ecx, edi
sar eax, 3
lea edx, [eax + eax*4]
shl edx, 5
add edx, 0xa0
push 0
call fcn.0078a8a0
add esp, 4
mov dword [esi + 4], eax
push dword [ebp]
push 0xbbbe90
push edi
call fcn.0078df10
add esp, 0xc
test eax, eax
mov dword [esi], eax
je 0x7f64fb
mov eax, dword [esi + 4]
mov ecx, esi
test eax, eax
je 0x7f64fb
movsx ecx, word [ecx + 0x2a]
mov dword [esp], ebx
shl ecx, 2
lea ecx, [ecx + ecx*4]
push ecx
mov dword [esp + 8], ebp
push dword [ebp + 4]
push eax
call fcn.0098a270
mov edx, dword [esp + 0x14]
add esp, 0xc
cmp word [edx + 0x2a], 0
jle 0x7f64d6
xor ebx, ebx
mov esi, dword [edx + 4]
lea ebp, [ebx + ebx*4]
mov ecx, edi
mov edx, dword [esi + ebp*4]
call fcn.0078a6b0
mov edx, dword [esp + 8]
mov dword [esi + ebp*4], eax
mov dword [esi + ebp*4 + 8], 0
mov dword [esi + ebp*4 + 4], 0
inc ebx
movsx eax, word [edx + 0x2a]
cmp ebx, eax
jl 0x7f64a6
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 0x10]
mov ebx, dword [esp]
shl ecx, 4
mov eax, dword [eax + ecx + 0xc]
mov dword [edx + 0x48], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x34]
mov dword [edx + 0x34], eax
mov dword [edx + 0x20], 1
mov ecx, edi
mov edx, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.007cbc20