Function at 0x1003e463
Capabilities:
Encode data using xor

Disassembly:
push 0xe4
mov eax, 0x100499b0
call fcn.10044ac9
mov esi, ecx
mov eax, dword [esi]
mov dword [0x1005b63c], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1003ea69
xor ebx, ebx
inc ebx
cmp dword [ebp + 0xc], ebx
jne 0x1003ea69
cmp dword [esi + 8], 0
je 0x1003ea73
cmp eax, dword [esi + 8]
jne 0x1003ea73
push dword [esi + 4]
lea eax, [ebp - 0x48]
push eax
call fcn.1000e9a9
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
xor ebx, ebx
mov dword [ebp - 4], ebx
test ecx, ecx
jne 0x1003e561
mov cl, 0x7e
mov dword [ebp - 0x6c], 0x191f2a7e
mov byte [ebp - 0x68], bl
mov eax, ebx
xor byte [ebp + eax - 0x6b], cl
inc eax
cmp eax, 3
jae 0x1003e4e0
mov cl, byte [ebp - 0x6c]
jmp 0x1003e4d1
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x68], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.100012e0
movaps xmm0, xmmword [0x10050e00]
mov ecx, ebx
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0x505f16
mov al, byte [ebp - 0x8c]
xor byte [ebp + ecx - 0x8b], al
inc ecx
cmp ecx, 0x12
jb 0x1003e50a
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x79], bl
push eax
lea ecx, [ebp - 0xb0]
call fcn.100012e0
push ebx
push ebx
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1001685b
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ebx
push 1
call fcn.10001cd4
lea ecx, [ebp - 0x2c]
jmp 0x1003ea56
cmp ecx, 0x20
jbe 0x1003e5e4
mov cl, 0x2c
mov dword [ebp - 0x6c], 0x4b4d782c
mov byte [ebp - 0x68], bl
mov eax, ebx
xor byte [ebp + eax - 0x6b], cl
inc eax
cmp eax, 3
jae 0x1003e583
mov cl, byte [ebp - 0x6c]
jmp 0x1003e574
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x68], bl
push eax
lea ecx, [ebp - 0xb0]
call fcn.100012e0
movaps xmm0, xmmword [0x10050e10]
mov ecx, ebx
mov byte [ebp - 4], 3
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0x5e171e1f
mov word [ebp - 0x78], 0x51
mov al, byte [ebp - 0x8c]
xor byte [ebp + ecx - 0x8b], al
inc ecx
cmp ecx, 0x14
jb 0x1003e5b6
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x77], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.100012e0
mov byte [ebp - 4], 4
jmp 0x1003ea30
mov edi, ebx
test ecx, ecx
je 0x1003e628
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 0x1003e621
cmp edx, 0x10
lea eax, [ebp - 0x48]
cmovae eax, ebx
movsx eax, byte [eax + edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
pop ecx
test eax, eax
je 0x1003e64d
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x48]
inc edi
cmp edi, ecx
jb 0x1003e5f0
xor ebx, ebx
mov cl, 0x58
mov dword [ebp - 0x6c], 0x35391f58
mov dword [ebp - 0x68], 0x15783d
mov eax, ebx
xor byte [ebp + eax - 0x6b], cl
inc eax
cmp eax, 6
jae 0x1003e706
mov cl, byte [ebp - 0x6c]
jmp 0x1003e63a
xor ebx, ebx
mov dword [ebp - 0x6c], 0x7c7a4f1b
mov cl, 0x1b
mov byte [ebp - 0x68], bl
mov eax, ebx
xor byte [ebp + eax - 0x6b], cl
inc eax
cmp eax, 3
jae 0x1003e66c
mov cl, byte [ebp - 0x6c]
jmp 0x1003e65d
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x68], bl
push eax
lea ecx, [ebp - 0xb0]
call fcn.100012e0
movaps xmm0, xmmword [str.sRS]
mov ecx, ebx
movups xmmword [ebp - 0xf0], xmm0
mov byte [ebp - 4], 5
movaps xmm0, xmmword [0x10050e30]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xc0], 0x5855491d
movaps xmm0, xmmword [0x10050e40]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xbc], 0x5a5c491d
mov dword [ebp - 0xb8], 0x1359541d
mov word [ebp - 0xb4], 0x1c
mov al, byte [ebp - 0xf0]
xor byte [ebp + ecx - 0xef], al
inc ecx
cmp ecx, 0x3c
jb 0x1003e6d5
lea eax, [ebp - 0xef]
mov byte [ebp - 0xb3], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.100012e0
mov byte [ebp - 4], 6
jmp 0x1003ea30
sub esp, 0x18
mov byte [ebp - 0x65], bl
lea eax, [ebp - 0x6b]
mov dword [ebp - 0x74], esp
mov ecx, esp
push eax
call fcn.100012e0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.1000325c
mov byte [ebp - 4], bl
call fcn.1000b0da
add esp, 0x30
push 0x4c
pop ebx
test al, al
jne 0x1003e9a6
mov byte [ebp - 0x66], al
mov cl, 0x6c
mov dword [ebp - 0x6c], 0x10d2b6c
xor eax, eax
mov word [ebp - 0x68], 0x2109
xor byte [ebp + eax - 0x6b], cl
inc eax
cmp eax, 5
jae 0x1003e765
mov cl, byte [ebp - 0x6c]
jmp 0x1003e756
sub esp, 0x18
mov byte [ebp - 0x66], 0
lea eax, [ebp - 0x6b]
mov dword [ebp - 0x98], esp
mov ecx, esp
push eax
call fcn.100012e0
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.1000325c
mov byte [ebp - 4], 0
call fcn.1000b0da
add esp, 0x30
test al, al
jne 0x1003e9a6
mov cl, 0x4f
mov dword [ebp - 0x74], 0x2084f
xor eax, eax
xor byte [ebp + eax - 0x73], cl
inc eax
cmp eax, 2
jae 0x1003e7bd
mov cl, byte [ebp - 0x74]
jmp 0x1003e7ae
sub esp, 0x18
mov byte [ebp - 0x71], 0
lea eax, [ebp - 0x73]
mov dword [ebp - 0x98], esp
mov ecx, esp
push eax
call fcn.100012e0
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.1000325c
mov byte [ebp - 4], 0
call fcn.1000b0da
add esp, 0x30
test al, al
jne 0x1003e9a6
mov byte [ebp - 0x6f], al
mov cl, 0x28
mov word [ebp - 0x74], 0x6928
xor eax, eax
mov byte [ebp - 0x72], bl
mov word [ebp - 0x71], 0x4145
xor byte [ebp + eax - 0x73], cl
inc eax
cmp eax, 4
jae 0x1003e820
mov cl, byte [ebp - 0x74]
jmp 0x1003e811
sub esp, 0x18
mov byte [ebp - 0x6f], 0
lea eax, [ebp - 0x73]
mov dword [ebp - 0x68], esp
mov ecx, esp
push eax
call fcn.100012e0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.1000325c
mov byte [ebp - 4], 0
call fcn.1000b0da
add esp, 0x30
test al, al
jne 0x1003e9a6
mov cl, 0x49
mov dword [ebp - 0x74], 0x3f2c0d49
mov word [ebp - 0x70], 0x2c
xor eax, eax
xor byte [ebp + eax - 0x73], cl
inc eax
cmp eax, 4
jae 0x1003e87b
mov cl, byte [ebp - 0x74]
jmp 0x1003e86c
sub esp, 0x18
mov byte [ebp - 0x6f], 0
lea eax, [ebp - 0x73]
mov dword [ebp - 0x68], esp
mov ecx, esp
push eax
call fcn.100012e0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.1000325c
mov byte [ebp - 4], 0
call fcn.1000b0da
add esp, 0x30
test al, al
jne 0x1003e9a6
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.100047ff
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.1000540b
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x14], 0xa6
call fcn.1000540b
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0xf
push eax
lea ecx, [ebp - 0x64]
call fcn.1000540b
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], bl
push eax
lea ecx, [ebp - 0x64]
call fcn.1000540b
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x64]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.100104d0
mov al, byte [esi + 0x18]
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.1000540b
mov al, byte [esi + 0x19]
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.1000540b
mov al, byte [esi + 0x1a]
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.1000540b
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.1000f4f9
pop ecx
pop ecx
mov ecx, esi
call fcn.1003dfef
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], vtable.ByteBuffer.0
call fcn.100053e5
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.10001cd4
jmp 0x1003eb2f
mov byte [ebp - 0x6c], bl
xor eax, eax
mov dword [ebp - 0x6b], 0x2b2d18
xor byte [ebp + eax - 0x6b], bl
inc eax
cmp eax, 3
jae 0x1003e9c1
mov bl, byte [ebp - 0x6c]
jmp 0x1003e9b2
lea eax, [ebp - 0x6b]
xor ebx, ebx
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 0x68], bl
call fcn.100012e0
movaps xmm0, xmmword [0x10050e50]
mov ecx, ebx
mov byte [ebp - 4], 0xc
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x57031819
mov dword [ebp - 0x80], 0x181b1b16
mov dword [ebp - 0x7c], 0x59131200
mov word [ebp - 0x78], 0x56
mov al, byte [ebp - 0x94]
xor byte [ebp + ecx - 0x93], al
inc ecx
cmp ecx, 0x1c
jb 0x1003ea07
lea eax, [ebp - 0x93]
mov byte [ebp - 0x77], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.100012e0
mov byte [ebp - 4], 0xd
push ebx
push ebx
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1001685b
add esp, 0x10
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.10001cd4
lea ecx, [ebp - 0xb0]
push ebx
push 1
call fcn.10001cd4
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10001cd4
xor al, al
call fcn.10044a84
ret 8
cmp dword [esi + 0xc], 0
je 0x1003eb1f
cmp eax, dword [esi + 0xc]
jne 0x1003eb1f
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.100047ff
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.1000540b
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x14], 0xa6
call fcn.1000540b
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0xf
push eax
lea ecx, [ebp - 0x30]
call fcn.1000540b
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 2
push eax
lea ecx, [ebp - 0x30]
call fcn.1000540b
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x20]
call fcn.1000f4f9
pop ecx
pop ecx
mov ecx, esi
call fcn.1003dfef
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.100053e5
jmp 0x1003eb2f
cmp dword [esi + 0x10], 0
je 0x1003eb2f
cmp eax, dword [esi + 0x10]
jne 0x1003eb2f
call fcn.1003dfef
mov al, bl
jmp 0x1003ea6b