Function at 0x10014f5c
Capabilities:
Encode data using xor

Disassembly:
push 0x94
mov eax, 0x1003a8c1
call fcn.10039093
mov ebx, ecx
mov dword [ebp - 0x70], ebx
cmp dword [0x100500a0], 0
je 0x100157fd
lea eax, [ebp - 0x67]
mov word [ebp - 0x68], 0x42
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x67], 0
call fcn.100040a5
and dword [ebp - 4], 0
xor edx, edx
movaps xmm0, xmmword [0x10047f70]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x4a50
mov byte [ebp - 0x16], 0
mov cl, byte [ebp - 0x28]
xor byte [ebp + edx - 0x27], cl
inc edx
cmp edx, 0x11
jb 0x10014fae
sub esp, 0x18
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.100040a5
mov ecx, dword [ebx]
call fcn.1000ae52
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0xa0], ebx
test ebx, ebx
je 0x100157f1
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push ebx
call esi
test eax, eax
jne 0x100157f1
mov ecx, ebx
call fcn.1000b88d
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x10015012
push 0xffffffffffffffff
push 0
push eax
call fcn.10003d30
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x9c], eax
pop ecx
test eax, eax
jne 0x10015045
mov edx, 0x1006
lea ecx, [ebp - 0x2c]
call fcn.10006676
mov byte [ebp - 4], 1
jmp 0x1001546c
mov al, byte [ebp + 8]
sub al, 5
cmp al, 3
ja 0x10015161
cmp byte [0x100500bb], 0
mov ebx, dword [0x100500a0]
je 0x1001508e
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x1001508e
push 4
push edi
call esi
test eax, eax
jne 0x1001508e
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x1001508e
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10015101
sub eax, 1
jne 0x10015161
mov ebx, dword [0x100500a0]
cmp byte [0x100500bb], al
je 0x100150dd
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x100150dd
push 4
push edi
call esi
test eax, eax
jne 0x100150dd
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100150dd
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
add eax, 0xffffff37
cmp eax, 3
ja 0x10015161
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10006676
mov byte [ebp - 4], 3
jmp 0x1001546c
cmp byte [0x100500bb], 0
mov ebx, dword [0x100500a0]
je 0x1001513f
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x1001513f
push 4
push edi
call esi
test eax, eax
jne 0x1001513f
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x1001513f
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
add eax, 0xffffff9b
cmp eax, 3
ja 0x10015161
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10006676
mov byte [ebp - 4], 2
jmp 0x1001546c
mov cl, byte [ebp + 8]
cmp cl, 8
jne 0x10015296
cmp byte [0x100500bb], 0
mov ebx, dword [0x100500a0]
je 0x100151a9
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x100151a9
push 4
push edi
call esi
test eax, eax
jne 0x100151a9
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x100151a9
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10015229
sub eax, 1
jne 0x100154e2
mov ebx, dword [0x100500a0]
cmp byte [0x100500bb], al
je 0x100151f8
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x100151f8
push 4
push edi
call esi
test eax, eax
jne 0x100151f8
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100151f8
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0xcf
je 0x10015213
dec eax
sub eax, 1
je 0x10015213
dec eax
sub eax, 1
jne 0x100154e2
mov edx, 0x1007
lea ecx, [ebp - 0x2c]
call fcn.10006676
mov byte [ebp - 4], 5
jmp 0x1001546c
cmp byte [0x100500bb], 0
mov ebx, dword [0x100500a0]
je 0x10015267
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x10015267
push 4
push edi
call esi
test eax, eax
jne 0x10015267
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10015267
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0x6b
je 0x10015280
dec eax
sub eax, 1
je 0x10015280
dec eax
sub eax, 1
jne 0x100154e2
mov edx, 0x1007
lea ecx, [ebp - 0x2c]
call fcn.10006676
mov byte [ebp - 4], 4
jmp 0x1001546c
cmp cl, 7
jne 0x100153b1
cmp byte [0x100500bb], 0
mov ebx, dword [0x100500a0]
je 0x100152db
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x100152db
push 4
push edi
call esi
test eax, eax
jne 0x100152db
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x100152db
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10015352
sub eax, 1
jne 0x100154e2
mov ebx, dword [0x100500a0]
cmp byte [0x100500bb], al
je 0x1001532a
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x1001532a
push 4
push edi
call esi
test eax, eax
jne 0x1001532a
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x1001532a
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
mov ecx, 0xcd
cmp ax, cx
jne 0x100154e2
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10006676
mov byte [ebp - 4], 7
jmp 0x1001546c
cmp byte [0x100500bb], 0
mov ebx, dword [0x100500a0]
je 0x10015390
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x10015390
push 4
push edi
call esi
test eax, eax
jne 0x10015390
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10015390
mov ax, word [edi]
mov word [ebx + 0x3e], ax
cmp word [ebx + 0x3e], 0x69
jne 0x100154e2
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10006676
mov byte [ebp - 4], 6
jmp 0x1001546c
cmp cl, 6
jne 0x100154e2
cmp byte [0x100500bb], 0
mov ebx, dword [0x100500a0]
je 0x100153f6
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x100153f6
push 4
push edi
call esi
test eax, eax
jne 0x100153f6
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x100153f6
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x1001548a
sub eax, 1
jne 0x100154e2
mov ebx, dword [0x100500a0]
cmp byte [0x100500bb], al
je 0x10015449
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x10015449
push 4
push edi
call esi
test eax, eax
jne 0x10015449
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10015449
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
mov ecx, 0xcf
cmp ax, cx
jne 0x100154e2
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10006676
mov byte [ebp - 4], 9
mov edx, 0xffff3b3b
lea ecx, [ebp - 0x2c]
call fcn.10005e6e
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003f51
jmp 0x100157f1
cmp byte [0x100500bb], 0
mov ebx, dword [0x100500a0]
je 0x100154c8
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x100154c8
push 4
push edi
call esi
test eax, eax
jne 0x100154c8
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100154c8
mov ax, word [edi]
mov word [ebx + 0x3e], ax
cmp word [ebx + 0x3e], 0x6b
jne 0x100154e2
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10006676
mov byte [ebp - 4], 8
jmp 0x1001546c
movzx eax, byte [ebp + 8]
mov dword [ebp - 0x98], eax
sub eax, 5
je 0x100155f3
sub eax, 1
je 0x100155a4
sub eax, 1
je 0x1001555d
sub eax, 1
jne 0x100157f1
mov cl, 0x43
mov dword [ebp - 0x7c], 0x31373043
mov dword [ebp - 0x78], 0x1c242d2a
xor edx, edx
mov word [ebp - 0x74], 0x74
xor cl, byte [ebp + edx - 0x7b]
mov byte [ebp + edx - 0x7b], cl
inc edx
cmp edx, 8
jae 0x10015537
mov cl, byte [ebp - 0x7c]
jmp 0x10015524
mov byte [ebp - 0x73], 0
lea eax, [ebp - 0x7b]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.100040a5
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
call fcn.1000ae52
mov ebx, eax
mov dword [ebp - 0x64], ebx
jmp 0x1001563f
xor ebx, ebx
mov dword [ebp - 0x88], 0x6000774
mov cl, 0x74
mov dword [ebp - 0x84], 0x2b131a1d
mov word [ebp - 0x80], 0x42
mov edx, ebx
xor cl, byte [ebp + edx - 0x87]
mov byte [ebp + edx - 0x87], cl
inc edx
cmp edx, 8
jae 0x10015599
mov cl, byte [ebp - 0x88]
jmp 0x1001557d
mov byte [ebp - 0x7f], bl
lea eax, [ebp - 0x87]
jmp 0x1001553e
mov cl, 0x43
mov dword [ebp - 0x94], 0x31373043
mov dword [ebp - 0x90], 0x1c242d2a
xor edx, edx
mov word [ebp - 0x8c], 0x76
xor cl, byte [ebp + edx - 0x93]
mov byte [ebp + edx - 0x93], cl
inc edx
cmp edx, 8
jae 0x100155e1
mov cl, byte [ebp - 0x94]
jmp 0x100155c5
mov byte [ebp - 0x8b], 0
lea eax, [ebp - 0x93]
jmp 0x1001553e
mov cl, 0x17
mov dword [ebp - 0x20], 0x65636417
mov dword [ebp - 0x1c], 0x4870797e
xor edx, edx
mov word [ebp - 0x18], 0x23
xor cl, byte [ebp + edx - 0x1f]
mov byte [ebp + edx - 0x1f], cl
inc edx
cmp edx, 8
jae 0x1001561e
mov cl, byte [ebp - 0x20]
jmp 0x1001560b
sub esp, 0x18
mov byte [ebp - 0x17], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.100040a5
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
call fcn.1000ae52
mov ebx, eax
mov dword [ebp - 0x64], eax
add esp, 0x18
test ebx, ebx
je 0x100157f1
push 4
push ebx
call esi
test eax, eax
jne 0x100157f1
mov ecx, ebx
call fcn.1000b88d
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x1001566f
push 0xffffffffffffffff
push 0
push eax
call fcn.10003d30
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmp byte [0x100500bb], 0
mov ebx, eax
mov eax, dword [0x100500a0]
pop ecx
mov dword [ebp - 0x6c], eax
je 0x100156cc
mov ecx, 0x10b8134
call fcn.1000ba22
mov edi, eax
test edi, edi
je 0x100156c9
push 4
push edi
call esi
test eax, eax
jne 0x100156c9
push 4
add edi, 0x6e8
push edi
call esi
test eax, eax
jne 0x100156c9
mov ecx, dword [ebp - 0x6c]
mov al, byte [edi]
mov byte [ecx + 0x3c], al
mov eax, ecx
jmp 0x100156cc
mov eax, dword [ebp - 0x6c]
mov al, byte [eax + 0x3c]
movzx eax, al
cmp ebx, eax
jl 0x100156ec
mov edx, 0x1131
lea ecx, [ebp - 0x2c]
call fcn.10006676
mov byte [ebp - 4], 0xa
jmp 0x1001546c
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x14], 0x32
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x60]
call fcn.100063e7
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], vtable.Packet.0
call fcn.1000658b
mov al, byte [ebp + 8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.1000658b
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
sub edx, ecx
call fcn.1000bafc
mov edi, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
dec edi
mov edx, edi
call fcn.1000b906
mov esi, dword [ebp - 0x70]
mov eax, dword [esi]
mov dword [eax + 0x158], edi
mov eax, dword [esi]
cmp dword [eax + 0x158], 0
ja 0x10015797
mov ecx, dword [esi + 0x18]
mov dl, 2
call fcn.1000b156
mov ecx, dword [esi + 0x1c]
mov dl, 2
call fcn.1000b156
mov ecx, dword [esi + 0x20]
mov dl, 2
call fcn.1000b156
mov ecx, dword [esi + 0x24]
mov dl, 2
call fcn.1000b156
mov ecx, dword [ebp - 0x64]
inc ebx
mov edx, ebx
call fcn.1000b906
mov eax, dword [ebp - 0x98]
sub eax, 5
je 0x100157da
sub eax, 1
je 0x100157d0
sub eax, 1
je 0x100157c6
sub eax, 1
jne 0x100157e2
mov eax, dword [esi]
mov dword [eax + 0x178], ebx
jmp 0x100157e2
mov eax, dword [esi]
mov dword [eax + 0x174], ebx
jmp 0x100157e2
mov eax, dword [esi]
mov dword [eax + 0x170], ebx
jmp 0x100157e2
mov eax, dword [esi]
mov dword [eax + 0x16c], ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x60], vtable.ByteBuffer.0
call fcn.10006523
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.10003f51
call fcn.1003903d
ret 4