Function at 0x4f1bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov esi, esp
mov dword [esi + 0x50], ebp
mov edi, ecx
nop
mov dword [esi + 0x54], esp
mov dword [esi + 0x60], 0xffffffff
lea eax, [esi + 0x58]
mov dword [esi + 0x5c], 0x500950
mov ecx, dword fs:[0]
mov dword [esi + 0x58], ecx
mov dword fs:[0], eax
cmp dword [0x88abdc], 0
jne 0x4f1c2e
nop
mov dword [esi + 4], edi
push 0x4f8
call fcn.0071993d
add esp, 4
mov dword [esi + 0x60], 0
mov dword [esi], eax
mov ecx, eax
call fcn.00455c90
nop
mov eax, dword [esi]
mov dword [0x88abdc], eax
nop
mov edi, dword [esi + 4]
nop
mov eax, dword [0x88abdc]
mov dword [esi + 0x18], eax
mov ecx, dword [eax + 0x370]
lea ebx, [edi + 0x218]
mov eax, dword [edi + 0x14]
mov dword [esi], eax
mov dword [esi + 0x60], 0xffffffff
call dword [0x834360]
push ebx
push dword [esi]
call ecx
mov eax, dword [edi + 0x218]
or eax, dword [edi + 0x21c]
je 0x4f1cbf
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x364]
lea eax, [edi + 0x228]
mov dword [esi], eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov ebx, dword [edi + 0x14]
call dword [0x834360]
sub esp, 0x14
movsd xmm0, qword [esi + 0x48]
movsd qword [esp + 4], xmm0
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov dword [esp], ebx
mov dword [esp + 0x10], 0
call ecx
mov eax, dword [edi + 0x228]
or eax, dword [edi + 0x22c]
je 0x4f1cc6
xor eax, eax
jmp 0x4f21b7
nop
mov dword [esi + 0x28], 0
test byte [edi + 0x240], 4
jne 0x4f1ce7
lea ecx, [edi + 0x74]
push dword [edi + 0x218]
call fcn.004b0fb0
jmp 0x4f1d0d
nop
mov eax, dword [edi + 0x218]
mov ecx, dword [edi + 0x21c]
cmp eax, 0x1000
sbb ecx, 0
mov edx, 0x1000
cmovl edx, eax
lea ecx, [edi + 0x74]
push edx
call fcn.004b0fb0
nop
mov eax, dword [edi + 0x21c]
mov ecx, 0xfff
add ecx, dword [edi + 0x218]
adc eax, 0
mov edx, eax
sar edx, 0x1f
shr edx, 0x14
add edx, ecx
adc eax, 0
shld eax, edx, 0x14
lea ecx, [edi + 0x98]
push eax
call fcn.004ef290
mov eax, dword [edi + 0x14]
mov dword [esi], eax
mov dword [esi + 4], edi
mov ebx, dword [edi + 0x7c]
cmp ebx, 0x1000
mov edi, 0x1000
cmovb edi, ebx
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x35c]
test ebx, ebx
je 0x4f1d6b
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x78]
call dword [0x834360]
lea eax, [esi + 0x28]
push 0
push eax
push edi
push ebx
push dword [esi]
call ecx
test eax, eax
setne al
mov dword [esi + 0x18], eax
je 0x4f1d99
nop
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x9c]
mov byte [eax], 1
jmp 0x4f21b3
nop
mov edx, dword [esi + 4]
or byte [edx + 0xc], 0x20
lea eax, [edx + 0x24c]
cmp dword [edx + 0x260], 0x10
mov dword [esi + 0xc], eax
jb 0x4f1db9
mov eax, dword [edx + 0x24c]
mov dword [edx + 0x25c], 0
mov byte [eax], 0
lea eax, [esi + 0x30]
mov dword [esi + 8], eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
movzx eax, byte [0x849900]
cmp al, 0x8b
je 0x4f1e98
mov cl, 0xad
nop
mov al, 0x9e
lock cmpxchg byte [0x849900], cl
je 0x4f1e05
cmp al, 0x8b
jne 0x4f1df0
jmp 0x4f1e98
xor ecx, ecx
mov eax, 0xdfdbbfca
mov edi, 0xdfdbbfc8
nop word cs:[eax + eax]
nop
mov dword [esi], eax
mov eax, dword [esi]
mov edx, 0xaaaaaaab
mul edx
mov ebx, edx
mov eax, edi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
and edx, 0xfffffff0
lea eax, [edx + edx*2]
movzx edx, byte [ecx + 0x8498d0]
neg eax
xor dl, byte [ecx + eax - 0x1fa70017]
shr ebx, 1
and ebx, 0xfffffff0
lea eax, [ebx + ebx*2]
xor dl, 0x82
mov byte [ecx + 0x8498d0], dl
movzx edx, byte [ecx + 0x8498d1]
neg eax
xor dl, byte [ecx + eax - 0x1fa70016]
mov eax, dword [esi]
xor dl, 0x82
mov byte [ecx + 0x8498d1], dl
add ecx, 2
add eax, 2
add edi, 2
cmp ecx, 0x30
jne 0x4f1e20
mov al, 0x8b
xchg byte [0x849900], al
mov dword [esi + 0x60], 0xffffffff
nop
mov dword [esi + 0x60], 0xffffffff
sub esp, 0xc
movzx eax, byte [esi + 0x10]
mov byte [esp + 4], al
mov dword [esp + 8], 0x8498d0
mov dword [esp], 0x2f
lea ecx, [esi + 0x30]
call fcn.0045afa0
mov dword [esi + 0x2c], 0x751360
mov eax, dword [esi + 0x40]
mov dword [esi], eax
cmp dword [esi + 0x44], 0x10
jb 0x4f1eda
mov eax, dword [esi + 0x30]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x25c]
mov ecx, dword [eax + 0x260]
mov edx, ecx
sub edx, ebx
mov edi, dword [esi]
cmp edx, edi
jae 0x4f1f21
nop
mov dword [esi + 0x60], 2
sub esp, 0x10
movzx ecx, byte [esi + 0x10]
mov byte [esp + 4], cl
mov dword [esp + 0xc], edi
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov dword [esp], edi
mov ecx, dword [esi + 0xc]
call fcn.0045bd80
jmp 0x4f217d
add edi, ebx
mov dword [esi + 0x1c], edi
mov dword [eax + 0x25c], edi
cmp ecx, 0x10
jb 0x4f1f3a
mov ecx, dword [eax + 0x24c]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x14], ebx
lea edi, [ecx + ebx]
mov edx, edi
sub edx, dword [esi + 8]
jae 0x4f1f69
mov eax, dword [esi]
test eax, eax
je 0x4f2173
xor ebx, ebx
cmp eax, 8
jae 0x4f2025
mov eax, dword [esi + 8]
mov ecx, dword [esi]
jmp 0x4f2096
mov ebx, dword [esi]
test ebx, ebx
je 0x4f2173
cmp ebx, 4
jb 0x4f2106
mov ecx, dword [esi + 8]
sub ecx, edi
cmp ecx, 0x10
jb 0x4f2106
xor edi, edi
cmp ebx, 0x10
jb 0x4f1fd5
mov edi, ebx
and edi, 0xfffffff0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x1c]
add ecx, eax
add ecx, 0xfffffff0
mov eax, dword [esi + 8]
lea edx, [ebx + eax]
add edx, 0xfffffff0
mov eax, ecx
mov ebx, edi
neg ebx
xor ecx, ecx
nop
movups xmm0, xmmword [edx + ecx]
movups xmmword [eax + ecx], xmm0
add ecx, 0xfffffff0
cmp ebx, ecx
jne 0x4f1fb2
mov ebx, dword [esi]
cmp ebx, edi
je 0x4f2173
test bl, 0xc
je 0x4f2103
mov edx, ebx
and edx, 0xfffffffc
and ebx, 3
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x1c]
add eax, ecx
add eax, 0xfffffffc
mov dword [esi + 0x20], eax
neg edi
mov dword [esi + 0x24], edx
mov ecx, edx
neg ecx
mov eax, dword [esi + 8]
mov edx, dword [esi]
add eax, edx
add eax, 0xfffffffc
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
nop
mov edx, dword [esi + 4]
mov edx, dword [edx + edi]
mov dword [eax + edi], edx
add edi, 0xfffffffc
cmp ecx, edi
jne 0x4f2004
mov eax, dword [esi + 0x24]
cmp dword [esi], eax
jne 0x4f2106
jmp 0x4f2173
cmp edx, 0x20
mov eax, dword [esi + 8]
mov ecx, dword [esi]
jb 0x4f2096
xor ebx, ebx
cmp ecx, 0x20
jb 0x4f2075
mov ebx, ecx
and ebx, 0xffffffe0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
add edx, ecx
add edx, 0x10
mov ecx, ebx
xor ebx, ebx
nop
movups xmm0, xmmword [eax + ebx]
movups xmm1, xmmword [eax + ebx + 0x10]
movups xmmword [edx + ebx - 0x10], xmm0
movups xmmword [edx + ebx], xmm1
add ebx, 0x20
cmp ecx, ebx
jne 0x4f204a
mov ebx, ecx
mov ecx, dword [esi]
cmp ecx, ebx
je 0x4f2173
test cl, 0x18
je 0x4f2096
mov edx, ebx
mov ebx, ecx
and ebx, 0xfffffff8
nop
movsd xmm0, qword [eax + edx]
movsd qword [edi + edx], xmm0
add edx, 8
cmp ebx, edx
jne 0x4f207c
cmp ecx, ebx
je 0x4f2173
mov edx, ecx
mov dword [esi + 4], ebx
and edx, 3
je 0x4f20bc
mov ebx, dword [esi + 4]
nop word cs:[eax + eax]
nop
movzx ecx, byte [eax + ebx]
mov byte [edi + ebx], cl
inc ebx
dec edx
jne 0x4f20b0
mov edi, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, edi
cmp ecx, 0xfffffffc
ja 0x4f2173
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
add ecx, edx
add ecx, 3
nop
movzx edx, byte [eax + ebx]
mov byte [ecx + ebx - 3], dl
movzx edx, byte [eax + ebx + 1]
mov byte [ecx + ebx - 2], dl
movzx edx, byte [eax + ebx + 2]
mov byte [ecx + ebx - 1], dl
movzx edx, byte [eax + ebx + 3]
mov byte [ecx + ebx], dl
add ebx, 4
cmp edi, ebx
jne 0x4f20d7
jmp 0x4f2173
and ebx, 0xf
lea eax, [ebx - 1]
mov dword [esi], eax
mov ecx, ebx
and ecx, 3
je 0x4f2133
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
add edx, eax
dec edx
mov edi, dword [esi + 8]
nop
nop
movzx eax, byte [edi + ebx - 1]
mov byte [edx + ebx], al
lea eax, [ebx - 1]
dec ecx
mov ebx, eax
jne 0x4f2120
jmp 0x4f2138
mov eax, ebx
mov edi, dword [esi + 8]
cmp dword [esi], 3
jb 0x4f2173
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
add ecx, edx
dec ecx
mov edx, eax
nop
movzx ebx, byte [edi + eax - 1]
mov byte [ecx + eax], bl
movzx ebx, byte [edi + eax - 2]
mov byte [ecx + eax - 1], bl
movzx ebx, byte [edi + eax - 3]
mov byte [ecx + eax - 2], bl
movzx ebx, byte [edi + eax - 4]
mov byte [ecx + eax - 3], bl
add edx, 0xfffffffc
mov eax, edx
jne 0x4f2148
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
mov byte [eax + ecx], 0
mov eax, dword [esi + 0x44]
cmp eax, 0x10
jb 0x4f21b3
nop
mov ecx, dword [esi + 0x30]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x4f21a9
nop
mov edi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edi
cmp ecx, 0x20
jae 0x4f21ca
add eax, 0x24
mov edx, eax
mov ecx, edi
push edx
push ecx
call fcn.0071996d
add esp, 8
nop
mov eax, dword [esi + 0x18]
nop
mov ecx, dword [esi + 0x58]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
nop
mov dword [esi + 0x60], 1
call fcn.006fce21
nop word [eax + eax]
push ebp
sub esp, 0x14
lea esi, [ebp - 0x64]
mov ebp, dword [esi + 0x50]
call fcn.007311e0
nop
push ebp
sub esp, 0x14
lea esi, [ebp - 0x64]
mov ebp, dword [esi + 0x50]
lea ecx, [esi + 0x2c]
call fcn.004425f0
add esp, 0x14
pop ebp
ret