Function at 0x10053740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006429a
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xdc], edi
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
mov dword [0x10076628], eax
test ecx, ecx
je 0x10054241
cmp dword [ebp + 0xc], 1
jne 0x10054241
mov eax, dword [edi + 4]
test eax, eax
je 0x100537aa
cmp ecx, eax
jne 0x100537aa
mov ecx, edi
call fcn.1004fa10
mov al, 1
jmp 0x10054243
mov eax, dword [edi + 8]
test eax, eax
je 0x100537c3
cmp ecx, eax
jne 0x100537c3
mov ecx, edi
call fcn.100526d0
mov al, 1
jmp 0x10054243
mov eax, dword [edi + 0x38]
test eax, eax
je 0x10053b4d
cmp ecx, eax
jne 0x10053b4d
push dword [edi + 0x24]
lea eax, [ebp - 0x94]
push eax
call fcn.10012c90
add esp, 8
cmp dword [ebp - 0x84], 4
mov dword [ebp - 4], 0
jne 0x100538fe
push dword [edi + 0x28]
lea eax, [ebp - 0x7c]
push eax
call fcn.10012c90
push dword [edi + 0x2c]
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
push eax
call fcn.10012c90
push dword [edi + 0x30]
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 2
push eax
call fcn.10012c90
push dword [edi + 0x34]
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 3
push eax
call fcn.10012c90
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.1004d230
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.1004d1f0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.1004d1f0
add esp, 0x44
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1004d1f0
add esp, 0xc
lea ecx, [ebp - 0x140]
call fcn.10001840
lea ecx, [ebp - 0x158]
call fcn.10001840
lea ecx, [ebp - 0x170]
call fcn.10001840
cmp dword [ebp - 0x3c], 0x14
je 0x10053a1e
lea ecx, [ebp - 0x4c]
call fcn.10001840
lea ecx, [ebp - 0xac]
call fcn.10001840
lea ecx, [ebp - 0xc4]
call fcn.10001840
lea ecx, [ebp - 0x64]
call fcn.10001840
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0
call fcn.10001840
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.1005ead0
cvtsd2ss xmm0, xmm0
xor ecx, ecx
addss xmm0, dword [0x1006ba98]
movss dword [edi + 0x1ac], xmm0
movaps xmm0, xmmword [str.6fYASDecF]
movups xmmword [ebp - 0x44], xmm0
nop dword [eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0xe
jb 0x10053930
lea eax, [ebp - 0x43]
mov byte [ebp - 0x35], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.100017e0
movaps xmm0, xmmword [0x1006bb60]
xor ecx, ecx
movups xmmword [ebp - 0x128], xmm0
mov byte [ebp - 4], 0xf
movaps xmm0, xmmword [0x1006bd00]
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0xe8], 0x150e090d
movaps xmm0, xmmword [0x1006bbe0]
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xe4], 0x4e130514
movaps xmm0, xmmword [0x1006bcc0]
movups xmmword [ebp - 0xf8], xmm0
mov word [ebp - 0xe0], 0x41
nop dword [eax + eax]
mov al, byte [ebp - 0x128]
xor byte [ebp + ecx - 0x127], al
inc ecx
cmp ecx, 0x48
jb 0x100539b0
lea eax, [ebp - 0x127]
mov byte [ebp - 0xdf], 0
push eax
lea ecx, [ebp - 0x7c]
call fcn.100017e0
push 0
push 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1001d450
add esp, 0x10
lea ecx, [ebp - 0x7c]
call fcn.10001840
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.10001840
mov ecx, edi
call fcn.10054b50
lea ecx, [ebp - 0x94]
call fcn.10001840
mov al, 1
jmp 0x10054243
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0xc5], 0xa1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.10006cf0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x2c], vtable.Packet.0
cmp eax, 0x989680
ja 0x10053ab6
mov ecx, dword [ebp - 0x20]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10053aaa
push esi
lea ecx, [ebp - 0x1c]
call fcn.10006e80
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0xc5]
mov byte [edx + ecx], al
inc dword [ebp - 0x20]
push 3
push 0
push 0xa6
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.10015240
mov ecx, eax
call fcn.10015240
mov ecx, eax
call fcn.10015240
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.10015390
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push eax
push ecx
call fcn.10013a20
add esp, 8
mov ecx, edi
call fcn.10054b50
lea ecx, [ebp - 0x2c]
call fcn.10005ec0
lea ecx, [ebp - 0x4c]
call fcn.10001840
lea ecx, [ebp - 0xac]
call fcn.10001840
lea ecx, [ebp - 0xc4]
call fcn.10001840
lea ecx, [ebp - 0x64]
call fcn.10001840
lea ecx, [ebp - 0x7c]
call fcn.10001840
lea ecx, [ebp - 0x94]
call fcn.10001840
mov al, 1
jmp 0x10054243
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x10053b66
cmp ecx, eax
jne 0x10053b66
mov ecx, edi
call fcn.10054b50
mov al, 1
jmp 0x10054243
mov eax, dword [edi + 0x54]
test eax, eax
je 0x10053c79
cmp ecx, eax
jne 0x10053c79
cmp dword [edi + 0x5c], 0
jbe 0x1005423d
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0xc5], 0xa1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0x11
call fcn.10006cf0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x2c], vtable.Packet.0
cmp eax, 0x989680
ja 0x10053c21
mov ecx, dword [ebp - 0x20]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10053c15
push esi
lea ecx, [ebp - 0x1c]
call fcn.10006e80
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0xc5]
mov byte [edx + ecx], al
inc dword [ebp - 0x20]
push dword [edi + 0x5c]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x13
push 2
push 0xa
push 0xa6
call fcn.10015240
mov ecx, eax
call fcn.10015240
mov ecx, eax
call fcn.10015240
mov ecx, eax
call fcn.100152e0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push eax
push ecx
call fcn.10013a20
add esp, 8
mov ecx, edi
call fcn.10054c40
lea ecx, [ebp - 0x2c]
call fcn.10005ec0
mov al, 1
jmp 0x10054243
mov eax, dword [edi + 0x58]
test eax, eax
je 0x10053c92
cmp ecx, eax
jne 0x10053c92
mov ecx, edi
call fcn.10054c40
mov al, 1
jmp 0x10054243
mov eax, dword [edi + 0x80]
test eax, eax
je 0x10053cae
cmp ecx, eax
jne 0x10053cae
mov ecx, edi
call fcn.10053350
mov al, 1
jmp 0x10054243
mov eax, dword [edi + 0x84]
test eax, eax
je 0x10053cca
cmp ecx, eax
jne 0x10053cca
mov ecx, edi
call fcn.10054ed0
mov al, 1
jmp 0x10054243
mov eax, dword [edi + 0x8c]
test eax, eax
je 0x10053cf1
cmp ecx, eax
jne 0x10053cf1
sub esp, 0x18
mov eax, esp
push dword [edi + 0x88]
push eax
call fcn.10012c90
add esp, 8
jmp 0x10053d7f
mov eax, dword [edi + 0x188]
test eax, eax
je 0x10053d0d
cmp ecx, eax
jne 0x10053d0d
mov ecx, edi
call fcn.10053040
mov al, 1
jmp 0x10054243
mov eax, dword [edi + 0x18c]
test eax, eax
je 0x10053d29
cmp ecx, eax
jne 0x10053d29
mov ecx, edi
call fcn.100549c0
mov al, 1
jmp 0x10054243
mov eax, dword [edi + 0x198]
test eax, eax
je 0x10053d4c
cmp ecx, eax
jne 0x10053d4c
mov eax, dword [edi + 0x19c]
cmp eax, dword [edi + 0x1a0]
jae 0x1005423d
inc eax
jmp 0x10053d6a
mov eax, dword [edi + 0x190]
test eax, eax
je 0x10053d9b
cmp ecx, eax
jne 0x10053d9b
mov eax, dword [edi + 0x19c]
cmp eax, 1
jbe 0x1005423d
dec eax
sub esp, 0x18
mov dword [edi + 0x19c], eax
mov ecx, esp
push 0x10065610
call fcn.100017e0
movzx eax, byte [edi + 0x1a4]
mov ecx, edi
push eax
push dword [edi + 0x19c]
call fcn.100550c0
mov al, 1
jmp 0x10054243
lea esi, [edi + 0x90]
xor cl, cl
mov eax, esi
mov byte [ebp - 0xc5], cl
mov dword [ebp - 0xcc], eax
mov edx, dword [eax]
test edx, edx
je 0x10053e3a
cmp dword [ebp + 8], edx
jne 0x10053e3a
mov edi, 6
push 2
push dword [esi]
call fcn.10012a70
add esp, 8
lea esi, [esi + 4]
sub edi, 1
jne 0x10053dc5
mov eax, dword [ebp - 0xcc]
push 3
push dword [eax]
call fcn.10012a70
mov edi, dword [ebp - 0xdc]
sub esp, 0x10
mov al, byte [ebp - 0xc5]
mov ecx, esp
push 0x10065610
mov dword [edi + 0x19c], 1
mov byte [edi + 0x1a4], al
call fcn.100017e0
movzx eax, byte [edi + 0x1a4]
mov ecx, edi
push eax
push dword [edi + 0x19c]
call fcn.100550c0
mov eax, dword [ebp - 0xcc]
lea esi, [edi + 0x90]
mov cl, byte [ebp - 0xc5]
inc cl
add eax, 4
mov byte [ebp - 0xc5], cl
mov dword [ebp - 0xcc], eax
cmp cl, 6
jb 0x10053db1
mov byte [ebp - 0xcc], 0
call fcn.1000cff0
push dword [edi + 0x18]
mov esi, eax
mov dword [ebp - 0xd0], edx
call fcn.10012750
add esp, 4
test al, al
je 0x10053ea2
push dword [ebp - 0xd0]
push esi
push dword [edi + 0x18]
call fcn.10012720
mov ecx, dword [ebp - 0xcc]
add esp, 0xc
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0xcc], ecx
push dword [edi + 0x1c]
call fcn.10012750
add esp, 4
test al, al
je 0x10053edc
push dword [ebp - 0xd0]
push esi
push dword [edi + 0x1c]
call fcn.10012720
mov ecx, dword [ebp - 0xcc]
add esp, 0xc
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xcc], cl
push dword [edi + 0x20]
call fcn.10012750
add esp, 4
test al, al
je 0x10053f05
push dword [ebp - 0xd0]
push esi
push dword [edi + 0x20]
call fcn.10012720
add esp, 0xc
test al, al
jne 0x1005423d
mov ecx, dword [ebp - 0xcc]
test cl, cl
jne 0x1005423d
mov ecx, dword [edi + 0xe0]
mov eax, 0x92492493
sub ecx, dword [edi + 0xdc]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1005423d
xor ecx, ecx
mov eax, 0x92492493
mov dword [ebp - 0xd8], ecx
mov ecx, dword [edi + 0xe0]
sub ecx, dword [edi + 0xdc]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1005423d
xor esi, esi
mov dword [ebp - 0xd0], esi
nop dword [eax]
mov eax, dword [edi + 0xdc]
mov ecx, dword [ebp + 8]
cmp dword [eax + esi + 0xc], 0
je 0x1005408e
cmp ecx, dword [eax + esi + 0xc]
jne 0x1005408e
mov eax, dword [esi + eax + 0x1c]
xor ecx, ecx
mov dword [edi + 0x5c], eax
mov eax, dword [edi + 0xdc]
mov dword [ebp - 0xcc], ecx
mov eax, dword [eax + esi + 0x20]
mov dword [ebp - 0xd4], eax
mov dword [edi + 0x60], eax
mov eax, dword [edi + 0xec]
sub eax, dword [edi + 0xe8]
sar eax, 6
test eax, eax
je 0x10054084
xor edx, edx
nop dword [eax]
mov eax, dword [edi + 0xe8]
mov esi, dword [edi + 0x5c]
cmp dword [eax + edx + 0x18], esi
mov esi, dword [ebp - 0xd0]
jne 0x10053ff6
mov ecx, eax
mov eax, dword [edi + 0x60]
cmp eax, dword [edx + ecx + 0x1c]
je 0x10054015
mov ecx, dword [ebp - 0xcc]
mov eax, dword [edi + 0xec]
inc ecx
sub eax, dword [edi + 0xe8]
add edx, 0x40
sar eax, 6
mov dword [ebp - 0xcc], ecx
cmp ecx, eax
jb 0x10053fd0
jmp 0x10054084
mov eax, dword [ebp - 0xd4]
dec eax
cmp eax, 0x5f5e0fe
ja 0x10054054
mov esi, dword [ebp - 0xcc]
add ecx, 0x34
shl esi, 6
add ecx, esi
push ecx
lea ecx, [edi + 0x70]
call fcn.1004ef20
mov eax, dword [edi + 0xe8]
add eax, esi
push eax
push dword [edi + 0x40]
call fcn.10013630
mov esi, dword [ebp - 0xd0]
add esp, 8
mov eax, dword [edi + 0xe8]
mov ecx, dword [ebp - 0xcc]
shl ecx, 6
mov eax, dword [eax + ecx + 0x20]
mov dword [edi + 0x64], eax
mov eax, dword [edi + 0xe8]
mov eax, dword [eax + ecx + 0x24]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0xe8]
mov eax, dword [ecx + eax + 0x28]
mov dword [edi + 0x6c], eax
mov ecx, edi
call fcn.100528a0
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0xdc]
cmp dword [eax + esi + 0x10], 0
je 0x10054203
cmp ecx, dword [eax + esi + 0x10]
jne 0x10054203
mov eax, dword [edi + 0xec]
xor ecx, ecx
sub eax, dword [edi + 0xe8]
sar eax, 6
mov dword [ebp - 0xd0], ecx
test eax, eax
je 0x10054203
xor edx, edx
nop word [eax + eax]
mov eax, dword [edi + 0xdc]
cmp dword [esi + eax + 0x20], 0
jbe 0x100540e7
cmp dword [eax + esi + 0x20], 0x5f5e100
jb 0x10054145
mov eax, dword [edi + 0xe8]
mov ecx, dword [edi + 0xdc]
mov eax, dword [edx + eax + 0x18]
cmp eax, dword [esi + ecx + 0x1c]
mov ecx, dword [ebp - 0xd0]
jne 0x10054123
mov eax, dword [edi + 0xe8]
mov edi, dword [edi + 0xdc]
mov eax, dword [edx + eax + 0x1c]
cmp eax, dword [esi + edi + 0x20]
mov edi, dword [ebp - 0xdc]
je 0x100541e3
mov eax, dword [edi + 0xec]
inc ecx
sub eax, dword [edi + 0xe8]
add edx, 0x40
sar eax, 6
mov dword [ebp - 0xd0], ecx
cmp ecx, eax
jb 0x100540d0
jmp 0x10054203
movaps xmm0, xmmword [0x1006bac0]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0xe
jb 0x10054152
lea eax, [ebp - 0x43]
mov byte [ebp - 0x35], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.100017e0
movaps xmm0, xmmword [0x1006bc90]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 4], 0x14
movaps xmm0, xmmword [0x1006bc20]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x757a20
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x22
jb 0x10054195
lea eax, [ebp - 0x33]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x7c]
call fcn.100017e0
push 0
push 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1001d450
add esp, 0x10
lea ecx, [ebp - 0x7c]
call fcn.10001840
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.10001840
jmp 0x10054203
mov eax, dword [edi + 0xe8]
shl ecx, 6
push dword [ecx + eax + 0x24]
push dword [ecx + eax + 0x20]
push dword [ecx + eax + 0x1c]
push dword [ecx + eax + 0x18]
mov ecx, edi
call fcn.1004f100
mov ecx, dword [edi + 0xe0]
mov eax, 0x92492493
sub ecx, dword [edi + 0xdc]
add esi, 0x38
inc dword [ebp - 0xd8]
imul ecx
mov dword [ebp - 0xd0], esi
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xd8], eax
jb 0x10053f70
mov al, 1
jmp 0x10054243
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret 8