Function at 0x7eddf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0xbcbae0]
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [esp + 0x10], eax
mov ebx, dword [ecx + 8]
test byte [edx + 5], 4
je 0x7ede36
mov eax, dword [edx + 8]
mov ecx, esi
mov edx, 0x45
mov esi, eax
neg esi
test ecx, ecx
mov ecx, ebx
cmove esi, eax
push dword [ebp + 0xc]
push esi
call fcn.007c57e0
jmp 0x7ee2e0
mov edi, ecx
mov ecx, dword [edx + 8]
lea edx, [esp + 8]
mov dword [esp + 4], ecx
call fcn.0078ceb0
mov ecx, eax
xor ecx, 3
or ecx, esi
setne cl
cmp eax, 2
je 0x7ede89
test cl, cl
je 0x7ede89
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test esi, esi
je 0x7ee2f6
mov esi, edx
mov dword [esp], edx
mov edx, ebx
mov ebx, 0x80000000
xor esi, ebx
mov ebx, edx
mov edx, dword [esp]
or esi, ecx
mov esi, dword [ebp + 8]
jne 0x7ee2f6
mov edx, fcn.0078d010
mov dword [esp], edi
mov edi, fcn.0078d010
or edx, 2
xor edi, 2
movzx ecx, byte [0xbb028f]
mov eax, edx
add eax, edi
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7edf8d
mov al, byte [0xbb028f]
mov ecx, edx
mov ah, 1
add ecx, edi
sete cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb028f], ah
jne 0x7edebd
mov ecx, fcn.0078d010
mov edx, fcn.0078d010
or ecx, 2
xor edx, 2
mov esi, ecx
add esi, edx
sete ah
or ah, 2
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7edf1c
mov eax, ecx
movzx esi, byte [0xbb028f]
add eax, edx
sete al
or al, 2
movzx eax, al
bt esi, eax
jae 0x7edf02
jmp 0x7edf8d
add ecx, edx
movzx ecx, byte [0xbb028f]
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7edf68
mov eax, fcn.0078d010
mov edx, fcn.0078d010
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
mov al, 1
sete cl
or ecx, 0x8f372e32
add ecx, 0x388
xor dword [0xbb0288], ecx
and cl, 7
shl al, cl
or byte [0xbb028f], al
mov eax, fcn.0078d010
mov ecx, fcn.0078d010
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbb028f], al
push 2
push 0xbb0288
mov esi, dword [esp + 0xc]
push esi
call fcn.00777e50
add esp, 0xc
test eax, eax
jne 0x7ee2d1
mov edx, fcn.007a5760
mov esi, fcn.007a5760
xor eax, eax
movzx edi, byte [0xbb0297]
or edx, 2
xor esi, 2
mov ecx, edx
add ecx, esi
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt edi, eax
jb 0x7ee0eb
mov al, byte [0xbb0297]
mov edi, edx
xor ecx, ecx
mov ah, 1
add edi, esi
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ebx + ecx*2]
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0297], ah
jne 0x7edfe4
mov ecx, fcn.007a5760
mov edx, fcn.007a5760
xor ebx, ebx
movzx eax, al
or ecx, 2
xor edx, 2
mov esi, ecx
add esi, edx
sete bl
mov esi, ebx
xor ebx, 1
lea ebx, [ebx + esi*2]
or bl, 4
xor bl, 7
movzx esi, bl
bt eax, esi
jae 0x7ee064
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbb0297]
sete al
mov ebx, eax
xor ebx, 1
lea eax, [ebx + eax*2]
or al, 4
movzx eax, al
bt esi, eax
jae 0x7ee03d
jmp 0x7ee0eb
xor eax, eax
add ecx, edx
movzx edx, byte [0xbb0297]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x7ee0bc
mov eax, fcn.007a5760
mov ecx, fcn.007a5760
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 0xa9c29a01
lea ecx, [eax + edx*2 + 0x85c]
mov al, 1
xor dword [0xbb0290], ecx
and cl, 7
shl al, cl
or byte [0xbb0297], al
mov eax, fcn.007a5760
mov ecx, fcn.007a5760
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 1
lea ecx, [eax + edx*2]
mov al, 0xfe
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb0297], al
mov eax, fcn.007d9920
mov edx, 3
movzx ecx, byte [0xbb02bf]
mov edi, dword [esp]
mov esi, dword [ebp + 8]
sub edx, eax
mov eax, edx
xor eax, fcn.007d9920
setne al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7ee2ad
mov al, byte [0xbb02bf]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007d9920
setne cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb02bf], ah
jne 0x7ee121
mov edx, fcn.007d9920
mov ecx, 3
movzx eax, al
sub ecx, edx
mov edx, ecx
xor edx, fcn.007d9920
setne dl
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ee18a
mov eax, ecx
movzx edx, byte [0xbb02bf]
xor eax, fcn.007d9920
setne al
or al, 4
movzx eax, al
bt edx, eax
jae 0x7ee16a
jmp 0x7ee2ad
xor ecx, fcn.007d9920
movzx ecx, byte [0xbb02bf]
setne al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7ee288
mov eax, fcn.007d9920
mov edx, 3
xor ecx, ecx
sub edx, eax
mov eax, dword [str.___L]
xor edx, fcn.007d9920
sete cl
xor ecx, 0x4023cd59
add ecx, 0x14c
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [str.___L], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb02a4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb02a4], eax
or esi, edx
not eax
mov edx, dword [0xbb02a8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb02a8], edx
or esi, eax
not edx
mov eax, dword [0xbb02ac]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb02ac], eax
or esi, edx
not eax
mov edx, dword [0xbb02b0]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb02b0], edx
or eax, esi
not edx
mov ebx, dword [0xbb02b4]
imul edx, eax
mov esi, edx
shl esi, 5
xor ebx, edx
shr edx, 0x1a
mov dword [0xbb02b4], ebx
or edx, esi
not ebx
mov esi, dword [ebp + 8]
imul ebx, edx
mov dl, 1
xor dword [0xbb02b8], ebx
shl dl, cl
or byte [0xbb02bf], dl
mov eax, fcn.007d9920
mov ecx, 3
sub ecx, eax
mov al, 0xfe
xor ecx, fcn.007d9920
setne cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb02bf], al
test esi, esi
mov eax, 0xbb0290
mov ecx, 0xc1f2c1
cmovne ecx, eax
push dword [esp + 4]
push ecx
push str.___L
push edi
call fcn.00782570
add esp, 0x10
jmp 0x7ee2e3
mov ecx, ebx
mov edx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.007ee360
add esp, 8
mov ecx, dword [esp + 0x10]
xor ecx, ebp
call fcn.00980459
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test esi, esi
je 0x7ee31b
xor esi, esi
neg ecx
mov edi, 0
sbb edi, edx
cmp eax, 3
mov eax, 0x80000000
cmove edi, eax
cmove ecx, esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov ecx, ebx
mov edx, 0x46
push 0xfffffffffffffff2
lea eax, [esp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.007f15d0
add esp, 0xc
jmp 0x7ee2e3