Function at 0x4a78e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536de5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 0x18], 0
jne 0x4a7914
mov byte [ebp - 0xd], 0
jmp 0x4a7d8b
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
push esi
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
push edi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 2
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 3
xor edx, edx
mov byte [ebp - 0x24], 0x48
mov esi, 0xf
mov byte [ebp - 0x23], 0x50
mov byte [ebp - 0x22], 0x51
mov byte [ebp - 0x21], 0x5f
mov byte [ebp - 0x20], 0x15
mov byte [ebp - 0x1f], 0xb
mov byte [ebp - 0x1e], 6
mov byte [ebp - 0x1d], 0x21
mov al, byte [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov al, byte [ebp + edx - 0x24]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0xd2e67225
mov edx, 0xdc11f89e
cmovae ecx, esi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x1c]
mov cl, al
and cl, 0xf
lea eax, [edx + 0x25]
xor cl, al
xor cl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x24], cl
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 8
jb 0x4a7996
lea edx, [ebp - 0x24]
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4a79e0
mov edi, dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
mov esi, dword [ebp + 0x18]
sub edx, ecx
push edx
cmp edi, 0x10
lea ecx, [ebp + 8]
push eax
cmovae ecx, dword [ebp + 8]
mov edx, esi
push 0
call fcn.00490b10
add esp, 0xc
cmp eax, 0xffffffff
je 0x4a7a39
mov edx, 7
lea ecx, [ebp + 8]
cmp esi, edx
cmovb edx, esi
cmp edi, 0x10
cmovae ecx, dword [ebp + 8]
sub esi, edx
lea eax, [esi + 1]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.004fe500
add esp, 0xc
mov dword [ebp + 0x18], esi
mov byte [ebp - 0x2d], 8
xor edx, edx
mov byte [ebp - 0x2c], 0x18
mov esi, 0xf
mov byte [ebp - 0x2b], 0x18
mov byte [ebp - 0x2a], 0x1c
mov byte [ebp - 0x29], 0x18
mov byte [ebp - 0x28], 0x55
mov byte [ebp - 0x27], 0x4e
mov byte [ebp - 0x26], 0x54
mov byte [ebp - 0x25], 0x70
mov al, byte [ebp - 0x2d]
mov dword [ebp - 0x1c], edx
nop word [eax + eax]
mov al, byte [ebp + edx - 0x2d]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0xbe160769
mov edx, 0x2e603141
cmovae ecx, esi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x1c]
mov cl, al
and cl, 0xf
lea eax, [edx + 0x69]
xor cl, al
xor cl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x2d], cl
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 9
jb 0x4a7a70
lea edx, [ebp - 0x2d]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4a7ab5
mov edi, dword [ebp + 0x1c]
lea eax, [ebp - 0x2d]
mov esi, dword [ebp + 0x18]
sub edx, ecx
push edx
cmp edi, 0x10
lea ecx, [ebp + 8]
push eax
cmovae ecx, dword [ebp + 8]
mov edx, esi
push 0
call fcn.00490b10
add esp, 0xc
cmp eax, 0xffffffff
je 0x4a7b0e
mov edx, 8
lea ecx, [ebp + 8]
cmp esi, edx
cmovb edx, esi
cmp edi, 0x10
cmovae ecx, dword [ebp + 8]
sub esi, edx
lea eax, [esi + 1]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.004fe500
add esp, 0xc
mov dword [ebp + 0x18], esi
mov byte [ebp - 0xf], 0xdf
xor edx, edx
mov byte [ebp - 0xe], 0xf1
mov al, byte [ebp - 0xf]
mov dword [ebp - 0x1c], edx
nop
mov al, byte [ebp + edx - 0xf]
mov ecx, edx
and ecx, 0xf
mov byte [ebp - 0xd], al
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0x89aed71c
cmovae ecx, eax
mov eax, 0xd9b2ebfd
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x1c]
mov cl, al
and cl, 0xf
lea eax, [edx - 3]
xor cl, al
xor cl, byte [ebp - 0xd]
mov byte [ebp + edx - 0xf], cl
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 2
jb 0x4a7b20
lea edx, [ebp - 0xf]
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4a7b70
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0xf]
sub edx, ecx
cmp dword [ebp + 0x1c], 0x10
push edx
push eax
lea ecx, [ebp + 8]
mov edx, esi
cmovae ecx, dword [ebp + 8]
push 0
call fcn.00490b10
add esp, 0xc
mov edi, eax
cmp edi, 0xffffffff
lea eax, [ebp + 8]
cmove edi, esi
cmp esi, edi
mov ecx, edi
cmovb ecx, esi
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x60]
push eax
call fcn.0048a9b0
mov esi, dword [ebp + 0x18]
mov eax, esi
sub eax, edi
je 0x4a7beb
mov ecx, dword [ebp - 0x50]
mov edx, esi
sub edx, ecx
cmp esi, ecx
jb 0x4a7db9
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push edx
cmovae eax, dword [ebp + 8]
add eax, ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.0048a9b0
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp + 0x30]
cmp dword [esi + 0x2c], 0xa
jne 0x4a7c8f
test edx, edx
je 0x4a7c8f
mov byte [ebp - 0x11], 0xcf
xor edx, edx
mov byte [ebp - 0x10], 0xf1
mov esi, 0xf
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x1c], edx
mov al, byte [ebp + edx - 0x11]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0xd9b2ebfd
mov edx, 0x89aed71c
cmovae ecx, esi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x1c]
mov cl, al
and cl, 0xf
lea eax, [edx - 3]
xor cl, al
xor cl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x11], cl
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 2
jb 0x4a7c18
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x11]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a7c60
sub ecx, edx
lea eax, [ebp - 0x11]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.0048d360
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x48]
push eax
call fcn.0048d360
jmp 0x4a7ca8
lea ecx, [esi + 0x60]
lea eax, [ebp + 0x20]
cmp ecx, eax
je 0x4a7ca8
cmp dword [ebp + 0x34], 0x10
push edx
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.0048a9b0
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x50]
lea ecx, [esi + 0x30]
cmovae edx, dword [ebp - 0x60]
add eax, edx
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0x60]
cmovae edx, dword [ebp - 0x60]
push eax
push edx
call fcn.004a8320
cmp dword [ebp - 0x34], 0x10
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x38]
cmovae edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x18]
add eax, edx
cmp dword [ebp - 0x34], 0x10
lea edx, [ebp - 0x48]
push eax
cmovae edx, dword [ebp - 0x48]
lea ecx, [ecx + 0x48]
push edx
call fcn.004a8320
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
pop edi
pop esi
cmp ecx, 0x10
jb 0x4a7d33
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a7d29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a7dbe
push ecx
push edx
call fcn.004e6a11
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x4a7d79
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a7d6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a7dbe
push ecx
push edx
call fcn.004e6a11
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040b870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.0040b870
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x30
call fcn.0048e290
call fcn.00501f00
int3