Function at 0x100314e0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push 0xe4
mov eax, 0x10076153
call fcn.1003d3a0
mov esi, ecx
mov eax, dword [esi]
mov dword [0x1009ef78], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10031ae5
xor ebx, ebx
inc ebx
cmp dword [ebp + 0xc], ebx
jne 0x10031ae5
cmp eax, dword [esi + 0xc]
jne 0x10031aef
mov ecx, dword [esi + 8]
call fcn.1000d8b9
push eax
lea ecx, [ebp - 0x48]
call fcn.10003ba2
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x100315b1
mov cl, 0x55
mov dword [ebp - 0x6c], 0x32340155
mov byte [ebp - 0x68], bl
mov edx, ebx
xor cl, byte [ebp + edx - 0x6b]
mov byte [ebp + edx - 0x6b], cl
inc edx
cmp edx, 3
jae 0x10031556
mov cl, byte [ebp - 0x6c]
jmp 0x10031543
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x68], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004179
mov byte [ebp - 4], 1
mov edx, ebx
movaps xmm0, xmmword [0x10090120]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0x111e57
mov cl, byte [ebp - 0x8c]
xor byte [ebp + edx - 0x8b], cl
inc edx
cmp edx, 0x12
jb 0x10031580
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x79], bl
push eax
lea ecx, [ebp - 0xb0]
call fcn.10004179
mov byte [ebp - 4], 2
jmp 0x10031aa6
cmp ecx, 0x20
jbe 0x1003163c
mov cl, 0x3f
mov dword [ebp - 0x6c], 0x585e6b3f
mov byte [ebp - 0x68], bl
mov edx, ebx
xor cl, byte [ebp + edx - 0x6b]
mov byte [ebp + edx - 0x6b], cl
inc edx
cmp edx, 3
jae 0x100315db
mov cl, byte [ebp - 0x6c]
jmp 0x100315c8
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x68], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004179
mov byte [ebp - 4], 3
mov edx, ebx
movaps xmm0, xmmword [0x10090750]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0x3c757c7d
mov word [ebp - 0x78], 0x33
mov cl, byte [ebp - 0x8c]
xor byte [ebp + edx - 0x8b], cl
inc edx
cmp edx, 0x14
jb 0x1003160b
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x77], bl
push eax
lea ecx, [ebp - 0xb0]
call fcn.10004179
mov byte [ebp - 4], 4
jmp 0x10031aa6
mov edi, ebx
test ecx, ecx
je 0x1003167d
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 0x10031678
cmp edx, 0x10
lea eax, [ebp - 0x48]
cmovae eax, ebx
movsx eax, byte [eax + edi]
push eax
call fcn.1005c25a
pop ecx
test eax, eax
je 0x100316ab
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x48]
inc edi
cmp edi, ecx
jb 0x10031648
push 0x2b
pop ebx
mov dl, 0x4e
mov dword [ebp - 0x6c], 0x232f094e
mov byte [ebp - 0x68], bl
xor ecx, ecx
mov word [ebp - 0x67], 0x36e
mov byte [ebp - 0x65], 0
xor byte [ebp + ecx - 0x6b], dl
inc ecx
cmp ecx, 6
jae 0x1003176b
mov dl, byte [ebp - 0x6c]
jmp 0x10031698
xor ebx, ebx
mov dword [ebp - 0x6c], 0x90f3a6e
mov dl, 0x6e
mov byte [ebp - 0x68], bl
mov ecx, ebx
xor byte [ebp + ecx - 0x6b], dl
inc ecx
cmp ecx, 3
jae 0x100316ca
mov dl, byte [ebp - 0x6c]
jmp 0x100316bb
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x68], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004179
mov byte [ebp - 4], 5
mov ecx, ebx
movaps xmm0, xmmword [0x1008fc40]
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xc0], 0x3f322e7a
movaps xmm0, xmmword [0x1008fc30]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xbc], 0x3d3b2e7a
movaps xmm0, xmmword [0x1008fd90]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xb8], 0x743e337a
mov word [ebp - 0xb4], 0x7b
mov al, byte [ebp + ecx - 0xef]
xor al, byte [ebp - 0xf0]
mov byte [ebp + ecx - 0xef], al
inc ecx
cmp ecx, 0x3c
jb 0x10031730
lea eax, [ebp - 0xef]
mov byte [ebp - 0xb3], bl
push eax
lea ecx, [ebp - 0xb0]
call fcn.10004179
mov byte [ebp - 4], 6
jmp 0x10031aa6
sub esp, 0x18
mov byte [ebp - 0x65], 0
lea eax, [ebp - 0x6b]
mov dword [ebp - 0x74], esp
mov ecx, esp
push eax
call fcn.10004179
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10003ba2
mov byte [ebp - 4], 0
call fcn.1000bc2f
add esp, 0x30
test al, al
jne 0x10031a18
mov cl, 0x65
mov dword [ebp - 0x6c], 0x8042265
mov word [ebp - 0x68], 0x2800
xor edx, edx
mov byte [ebp - 0x66], al
xor cl, byte [ebp + edx - 0x6b]
mov byte [ebp + edx - 0x6b], cl
inc edx
cmp edx, 5
jae 0x100317cd
mov cl, byte [ebp - 0x6c]
jmp 0x100317ba
sub esp, 0x18
mov byte [ebp - 0x66], 0
lea eax, [ebp - 0x6b]
mov dword [ebp - 0x98], esp
mov ecx, esp
push eax
call fcn.10004179
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10003ba2
mov byte [ebp - 4], 0
call fcn.1000bc2f
add esp, 0x30
test al, al
jne 0x10031a18
push 0x65
pop ecx
mov byte [ebp - 0x74], cl
xor edx, edx
mov word [ebp - 0x73], 0x2822
mov byte [ebp - 0x71], al
xor cl, byte [ebp + edx - 0x73]
mov byte [ebp + edx - 0x73], cl
inc edx
cmp edx, 2
jae 0x1003182f
mov cl, byte [ebp - 0x74]
jmp 0x1003181c
sub esp, 0x18
mov byte [ebp - 0x71], 0
lea eax, [ebp - 0x73]
mov dword [ebp - 0x98], esp
mov ecx, esp
push eax
call fcn.10004179
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10003ba2
mov byte [ebp - 4], 0
call fcn.1000bc2f
add esp, 0x30
test al, al
jne 0x10031a18
mov cl, 0x52
mov dword [ebp - 0x74], 0x3f361352
mov word [ebp - 0x70], 0x3b
xor edx, edx
xor cl, byte [ebp + edx - 0x73]
mov byte [ebp + edx - 0x73], cl
inc edx
cmp edx, 4
jae 0x10031891
mov cl, byte [ebp - 0x74]
jmp 0x1003187e
sub esp, 0x18
mov byte [ebp - 0x6f], 0
lea eax, [ebp - 0x73]
mov dword [ebp - 0x68], esp
mov ecx, esp
push eax
call fcn.10004179
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10003ba2
mov byte [ebp - 4], 0
call fcn.1000bc2f
add esp, 0x30
test al, al
jne 0x10031a18
mov cl, 0x63
mov dword [ebp - 0x74], 0x15062763
mov word [ebp - 0x70], 6
xor edx, edx
xor cl, byte [ebp + edx - 0x73]
mov byte [ebp + edx - 0x73], cl
inc edx
cmp edx, 4
jae 0x100318f0
mov cl, byte [ebp - 0x74]
jmp 0x100318dd
sub esp, 0x18
mov byte [ebp - 0x6f], 0
lea eax, [ebp - 0x73]
mov dword [ebp - 0x68], esp
mov ecx, esp
push eax
call fcn.10004179
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10003ba2
mov byte [ebp - 4], 0
call fcn.1000bc2f
add esp, 0x30
test al, al
jne 0x10031a18
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.10008c46
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.10008df0
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x14], 0xa4
call fcn.10008df0
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0x10
push eax
lea ecx, [ebp - 0x64]
call fcn.10008df0
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 3
push eax
lea ecx, [ebp - 0x64]
call fcn.10008df0
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x64]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.10008bed
mov al, byte [esi + 0x18]
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10008df0
mov al, byte [esi + 0x19]
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10008df0
mov al, byte [esi + 0x1a]
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10008df0
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub edx, ecx
call fcn.1000e069
mov ecx, esi
call fcn.10031ce5
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], vtable.ByteBuffer.0
call fcn.10008d84
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.1000402e
jmp 0x10031b97
mov byte [ebp - 0x6c], bl
xor ecx, ecx
mov dword [ebp - 0x6b], 0x4c4a7f
xor bl, byte [ebp + ecx - 0x6b]
mov byte [ebp + ecx - 0x6b], bl
inc ecx
cmp ecx, 3
jae 0x10031a37
mov bl, byte [ebp - 0x6c]
jmp 0x10031a24
lea eax, [ebp - 0x6b]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x68], bl
call fcn.10004179
mov byte [ebp - 4], 0xc
mov edx, ebx
movaps xmm0, xmmword [0x1008fc10]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x27736869
mov dword [ebp - 0x80], 0x686b6b66
mov dword [ebp - 0x7c], 0x29636270
mov word [ebp - 0x78], 0x26
mov cl, byte [ebp - 0x94]
xor byte [ebp + edx - 0x93], cl
inc edx
cmp edx, 0x1c
jb 0x10031a7a
lea eax, [ebp - 0x93]
mov byte [ebp - 0x77], bl
push eax
lea ecx, [ebp - 0xb0]
call fcn.10004179
mov byte [ebp - 4], 0xd
push ebx
push ecx
and dword [esp], 0
lea eax, [ebp - 0x2c]
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0xb0]
push eax
push eax
call dword [0x1008e474]
push ebx
push 1
lea ecx, [ebp - 0xb0]
call fcn.1000402e
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000402e
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.1000402e
xor al, al
call fcn.1003d34a
ret 8
cmp eax, dword [esi + 0x10]
jne 0x10031b8d
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.10008c46
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.10008df0
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x14], 0xa4
call fcn.10008df0
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0x10
push eax
lea ecx, [ebp - 0x30]
call fcn.10008df0
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 4
push eax
lea ecx, [ebp - 0x30]
call fcn.10008df0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub edx, ecx
call fcn.1000e069
mov ecx, esi
call fcn.10031ce5
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10008d84
jmp 0x10031b97
cmp eax, dword [esi + 4]
jne 0x10031b97
call fcn.10031ce5
mov al, bl
jmp 0x10031ae7