Function at 0x549a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79f53f
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push esi
push edi
mov eax, dword [0x82f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0xc0], esi
mov eax, dword [0x83df7c]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x549af9
push 0x28
call fcn.0076d2e3
add esp, 4
mov dword [ebp - 0x2c], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [eax], xmm0
mov ecx, eax
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.0048cfa0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], eax
mov dword [0x83df7c], eax
cmp edi, 3
jne 0x549c44
mov dword [ebp - 0x44], 9
xor ecx, ecx
mov dword [ebp - 0x40], 0xcc00f9
mov dword [ebp - 0x3c], 0xd400ce
mov dword [ebp - 0x38], 0xc900cf
mov dword [ebp - 0x34], 0xcd00df
mov dword [ebp - 0x30], 0xc100b4
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x549b30
xor ecx, ecx
mov dword [ebp - 0x48], 7
mov word [ebp + eax*2 - 0x40], cx
xor eax, eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x40]
mov word [ebp - 0x5c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x549b60
sub ecx, edx
lea eax, [ebp - 0x40]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004044f0
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x28], 0xb
mov dword [ebp - 0x24], 0xd800f5
mov dword [ebp - 0x20], 0xcc00d6
mov dword [ebp - 0x1c], 0xcf00dd
mov dword [ebp - 0x18], 0xeb00db
mov dword [ebp - 0x14], 0xb100b9
mov dword [ebp - 0x10], 0xc300a7
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x24], ax
inc ecx
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jb 0x549bc0
xor ecx, ecx
mov dword [ebp - 0x30], 7
mov word [ebp + eax*2 - 0x24], cx
xor eax, eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x24]
mov word [ebp - 0x44], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x549bf0
sub ecx, edx
lea eax, [ebp - 0x24]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.004044f0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0048d320
lea ecx, [ebp - 0x44]
call fcn.00404490
lea ecx, [ebp - 0x5c]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 0xf
jne 0x549d94
mov dword [ebp - 0x28], 0xb
xor ecx, ecx
mov dword [ebp - 0x24], 0xd800f5
mov dword [ebp - 0x20], 0xcc00d6
mov dword [ebp - 0x1c], 0xcf00dd
mov dword [ebp - 0x18], 0xf900db
mov dword [ebp - 0x14], 0xad00a9
mov dword [ebp - 0x10], 0xc300a7
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x24], ax
inc ecx
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jb 0x549c80
xor ecx, ecx
mov dword [ebp - 0x30], 7
mov word [ebp + eax*2 - 0x24], cx
xor eax, eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x24]
mov word [ebp - 0x44], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x549cb0
sub ecx, edx
lea eax, [ebp - 0x24]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.004044f0
mov dword [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x28], 0xb
mov dword [ebp - 0x24], 0xd800f5
mov dword [ebp - 0x20], 0xcc00d6
mov dword [ebp - 0x1c], 0xcf00dd
mov dword [ebp - 0x18], 0xeb00db
mov dword [ebp - 0x14], 0xb100b9
mov dword [ebp - 0x10], 0xc300a7
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x24], ax
inc ecx
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jb 0x549d10
xor ecx, ecx
mov dword [ebp - 0x48], 7
mov word [ebp + eax*2 - 0x24], cx
xor eax, eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x24]
mov word [ebp - 0x5c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x549d40
sub ecx, edx
lea eax, [ebp - 0x24]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004044f0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.0048d320
lea ecx, [ebp - 0x5c]
call fcn.00404490
lea ecx, [ebp - 0x44]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 2
jne 0x549e96
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0x10
mov dword [ebp - 0xb8], 0xcb00fa
mov dword [ebp - 0xb4], 0xcc00d5
mov dword [ebp - 0xb0], 0xd800cf
mov dword [ebp - 0xac], 0xfa00cc
mov dword [ebp - 0xa8], 0xb500b8
mov dword [ebp - 0xa4], 0xad00a7
mov dword [ebp - 0xa0], 0xac00b7
mov dword [ebp - 0x9c], 0xa900a9
mov dword [ebp - 0x98], 0xc8
call fcn.00403e20
push eax
lea ecx, [ebp - 0x44]
call fcn.004040b0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0xb
mov dword [ebp - 0x24], 0xd800f5
mov dword [ebp - 0x20], 0xcc00d6
mov dword [ebp - 0x1c], 0xcf00dd
mov dword [ebp - 0x18], 0xeb00db
mov dword [ebp - 0x14], 0xb100b9
mov dword [ebp - 0x10], 0xc300a7
call fcn.00403e20
push eax
lea ecx, [ebp - 0x5c]
call fcn.004040b0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.0048d320
lea ecx, [ebp - 0x5c]
call fcn.00404490
lea ecx, [ebp - 0x44]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 1
jne 0x549f74
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0xb
mov dword [ebp - 0x74], 0xc900f9
mov dword [ebp - 0x70], 0xd700ca
mov dword [ebp - 0x6c], 0xde00d5
mov dword [ebp - 0x68], 0xcb00df
mov dword [ebp - 0x64], 0xae00a9
mov dword [ebp - 0x60], 0xc300ac
call fcn.00403e20
push eax
lea ecx, [ebp - 0x44]
call fcn.004040b0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 0xb
mov dword [ebp - 0x90], 0xd800f5
mov dword [ebp - 0x8c], 0xcc00d6
mov dword [ebp - 0x88], 0xcf00dd
mov dword [ebp - 0x84], 0xeb00db
mov dword [ebp - 0x80], 0xb100b9
mov dword [ebp - 0x7c], 0xc300a7
call fcn.00403e20
push eax
lea ecx, [ebp - 0x5c]
call fcn.004040b0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.0048d320
lea ecx, [ebp - 0x5c]
call fcn.00404490
lea ecx, [ebp - 0x44]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret