Function at 0x1003d69f
Capabilities:
Encode data using xor

Disassembly:
push 0xe4
mov eax, 0x10078f2a
call fcn.1004605f
mov esi, ecx
mov eax, dword [esi]
mov dword [0x1009eabc], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1003dc91
xor ebx, ebx
inc ebx
cmp dword [ebp + 0xc], ebx
jne 0x1003dc91
cmp dword [esi + 8], 0
je 0x1003dc9b
cmp eax, dword [esi + 8]
jne 0x1003dc9b
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x48]
call fcn.10010616
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x1003d797
mov cl, 0x30
mov dword [ebp - 0x6c], 0x57516430
mov byte [ebp - 0x68], bl
mov eax, ebx
xor byte [ebp + eax - 0x6b], cl
inc eax
cmp eax, 3
jae 0x1003d719
mov cl, byte [ebp - 0x6c]
jmp 0x1003d70a
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x68], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001f6a
mov byte [ebp - 4], 1
mov ecx, ebx
movaps xmm0, xmmword [0x1008e7d0]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0x545b12
mov al, byte [ebp - 0x8c]
xor byte [ebp + ecx - 0x8b], al
inc ecx
cmp ecx, 0x12
jb 0x1003d743
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x79], bl
push eax
lea ecx, [ebp - 0xb0]
call fcn.10001f6a
push ebx
push ebx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.10018621
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xb0]
call fcn.10001e1f
lea ecx, [ebp - 0x2c]
jmp 0x1003dc7e
cmp ecx, 0x20
jbe 0x1003d81a
mov cl, 0x10
mov dword [ebp - 0x6c], 0x77714410
mov byte [ebp - 0x68], bl
mov eax, ebx
xor byte [ebp + eax - 0x6b], cl
inc eax
cmp eax, 3
jae 0x1003d7b9
mov cl, byte [ebp - 0x6c]
jmp 0x1003d7aa
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x68], bl
push eax
lea ecx, [ebp - 0xb0]
call fcn.10001f6a
mov byte [ebp - 4], 3
mov ecx, ebx
movaps xmm0, xmmword [0x1008e740]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0x531a1312
mov word [ebp - 0x78], 0x5c
mov al, byte [ebp - 0x8c]
xor byte [ebp + ecx - 0x8b], al
inc ecx
cmp ecx, 0x14
jb 0x1003d7ec
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x77], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001f6a
mov byte [ebp - 4], 4
jmp 0x1003dc5b
mov edi, ebx
test ecx, ecx
je 0x1003d85d
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x48]
cmp edx, 0x10
lea eax, [ebp - 0x48]
cmovae eax, ebx
cmp byte [eax + edi], 0x20
je 0x1003d856
cmp edx, 0x10
lea eax, [ebp - 0x48]
cmovae eax, ebx
movsx eax, byte [eax + edi]
push eax
call fcn.10063ad1
pop ecx
test eax, eax
je 0x1003d882
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x48]
inc edi
cmp edi, ecx
jb 0x1003d826
xor ebx, ebx
mov cl, 4
mov dword [ebp - 0x6c], 0x69654304
mov dword [ebp - 0x68], 0x492461
mov eax, ebx
xor byte [ebp + eax - 0x6b], cl
inc eax
cmp eax, 6
jae 0x1003d93b
mov cl, byte [ebp - 0x6c]
jmp 0x1003d86f
xor ebx, ebx
mov dword [ebp - 0x6c], 0x73754014
mov cl, 0x14
mov byte [ebp - 0x68], bl
mov eax, ebx
xor byte [ebp + eax - 0x6b], cl
inc eax
cmp eax, 3
jae 0x1003d8a1
mov cl, byte [ebp - 0x6c]
jmp 0x1003d892
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x68], bl
push eax
lea ecx, [ebp - 0xb0]
call fcn.10001f6a
mov byte [ebp - 4], 5
mov ecx, ebx
movaps xmm0, xmmword [0x1008ef10]
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xc0], 0x5f524e1a
movaps xmm0, xmmword [0x1008ef00]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xbc], 0x5d5b4e1a
movaps xmm0, xmmword [0x1008f090]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xb8], 0x145e531a
mov word [ebp - 0xb4], 0x1b
mov al, byte [ebp - 0xf0]
xor byte [ebp + ecx - 0xef], al
inc ecx
cmp ecx, 0x3c
jb 0x1003d90a
lea eax, [ebp - 0xef]
mov byte [ebp - 0xb3], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001f6a
mov byte [ebp - 4], 6
jmp 0x1003dc5b
sub esp, 0x18
mov byte [ebp - 0x65], bl
lea eax, [ebp - 0x6b]
mov dword [ebp - 0x74], esp
mov ecx, esp
push eax
call fcn.10001f6a
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004ca6
mov byte [ebp - 4], bl
call fcn.1000d65a
add esp, 0x30
push 8
pop ebx
test al, al
jne 0x1003dbd1
mov byte [ebp - 0x66], al
mov cl, 0x11
mov dword [ebp - 0x6c], 0x7c705611
xor eax, eax
mov word [ebp - 0x68], 0x5c74
xor byte [ebp + eax - 0x6b], cl
inc eax
cmp eax, 5
jae 0x1003d99a
mov cl, byte [ebp - 0x6c]
jmp 0x1003d98b
sub esp, 0x18
mov byte [ebp - 0x66], 0
lea eax, [ebp - 0x6b]
mov dword [ebp - 0x98], esp
mov ecx, esp
push eax
call fcn.10001f6a
sub esp, 0x18
mov byte [ebp - 4], bl
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004ca6
mov byte [ebp - 4], 0
call fcn.1000d65a
add esp, 0x30
test al, al
jne 0x1003dbd1
mov cl, 0x6e
mov dword [ebp - 0x74], 0x23296e
xor eax, eax
xor byte [ebp + eax - 0x73], cl
inc eax
cmp eax, 2
jae 0x1003d9f1
mov cl, byte [ebp - 0x74]
jmp 0x1003d9e2
sub esp, 0x18
mov byte [ebp - 0x71], 0
lea eax, [ebp - 0x73]
mov dword [ebp - 0x98], esp
mov ecx, esp
push eax
call fcn.10001f6a
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004ca6
mov byte [ebp - 4], 0
call fcn.1000d65a
add esp, 0x30
test al, al
jne 0x1003dbd1
mov cl, 0x14
mov dword [ebp - 0x74], 0x79705514
mov word [ebp - 0x70], 0x7d
xor eax, eax
xor byte [ebp + eax - 0x73], cl
inc eax
cmp eax, 4
jae 0x1003da4f
mov cl, byte [ebp - 0x74]
jmp 0x1003da40
sub esp, 0x18
mov byte [ebp - 0x6f], 0
lea eax, [ebp - 0x73]
mov dword [ebp - 0x68], esp
mov ecx, esp
push eax
call fcn.10001f6a
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004ca6
mov byte [ebp - 4], 0
call fcn.1000d65a
add esp, 0x30
test al, al
jne 0x1003dbd1
mov cl, 0x12
mov dword [ebp - 0x74], 0x64775612
mov word [ebp - 0x70], 0x77
xor eax, eax
xor byte [ebp + eax - 0x73], cl
inc eax
cmp eax, 4
jae 0x1003daaa
mov cl, byte [ebp - 0x74]
jmp 0x1003da9b
sub esp, 0x18
mov byte [ebp - 0x6f], 0
lea eax, [ebp - 0x73]
mov dword [ebp - 0x68], esp
mov ecx, esp
push eax
call fcn.10001f6a
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004ca6
mov byte [ebp - 4], 0
call fcn.1000d65a
add esp, 0x30
test al, al
jne 0x1003dbd1
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x14], 0xa1
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x64]
call fcn.10008595
xor ebx, ebx
mov byte [ebp - 4], 0xe
inc ebx
mov dword [ebp - 0x64], vtable.Packet.0
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x64]
call fcn.10008688
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x14], 0xa6
call fcn.10008688
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0xf
push eax
lea ecx, [ebp - 0x64]
call fcn.10008688
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], bl
push eax
lea ecx, [ebp - 0x64]
call fcn.10008688
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x64]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.10014ce4
mov al, byte [esi + 0x18]
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10008688
mov al, byte [esi + 0x19]
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10008688
mov al, byte [esi + 0x1a]
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10008688
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub edx, ecx
call fcn.10011009
mov ecx, esi
call fcn.1003df09
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], vtable.ByteBuffer.0
call fcn.10008772
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.10001e1f
jmp 0x1003dd53
mov byte [ebp - 0x6c], bl
xor eax, eax
mov dword [ebp - 0x6b], 0x6f695c
xor byte [ebp + eax - 0x6b], bl
inc eax
cmp eax, 3
jae 0x1003dbec
mov bl, byte [ebp - 0x6c]
jmp 0x1003dbdd
lea eax, [ebp - 0x6b]
xor ebx, ebx
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 0x68], bl
call fcn.10001f6a
mov byte [ebp - 4], 0xc
mov ecx, ebx
movaps xmm0, xmmword [str._tHIS]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x544f4e
mov dword [ebp - 0x80], 0x4f4c4c41
mov dword [ebp - 0x7c], 0xe444557
mov word [ebp - 0x78], 1
mov al, byte [ebp - 0x94]
xor byte [ebp + ecx - 0x93], al
inc ecx
cmp ecx, 0x1c
jb 0x1003dc32
lea eax, [ebp - 0x93]
mov byte [ebp - 0x77], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001f6a
mov byte [ebp - 4], 0xd
push ebx
push ebx
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x2c]
call fcn.10018621
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001e1f
lea ecx, [ebp - 0xb0]
push ebx
push 1
call fcn.10001e1f
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10001e1f
xor al, al
call fcn.10046009
ret 8
cmp dword [esi + 0xc], 0
je 0x1003dd43
cmp eax, dword [esi + 0xc]
jne 0x1003dd43
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x14], 0xa1
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x30]
call fcn.10008595
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], vtable.Packet.0
call fcn.10008688
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x14], 0xa6
call fcn.10008688
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0xf
push eax
lea ecx, [ebp - 0x30]
call fcn.10008688
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 2
push eax
lea ecx, [ebp - 0x30]
call fcn.10008688
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub edx, ecx
call fcn.10011009
mov ecx, esi
call fcn.1003df09
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10008772
jmp 0x1003dd53
cmp dword [esi + 0x10], 0
je 0x1003dd53
cmp eax, dword [esi + 0x10]
jne 0x1003dd53
call fcn.1003df09
mov al, bl
jmp 0x1003dc93