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

Disassembly:
push 0x68
mov eax, 0x1003ef79
call fcn.1003d701
mov ebx, ecx
mov dword [ebp - 0x64], ebx
cmp dword [0x10057860], 0
je 0x10016abd
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 2
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], 0
call fcn.10003da4
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, edx
movaps xmm0, xmmword [0x1004ce10]
mov esi, dword [ebx]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x3a20
mov byte [ebp - 0x12], dl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x100162a1
sub esp, 0x18
mov byte [ebp - 0x12], dl
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10003da4
mov ecx, esi
call fcn.1000c6eb
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0x74], ebx
test ebx, ebx
je 0x10016ab5
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push ebx
call esi
test eax, eax
jne 0x10016ab5
mov ecx, ebx
call fcn.1000d123
push eax
lea ecx, [ebp - 0x44]
call fcn.1000744d
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
pop ecx
mov ecx, eax
mov dword [ebp - 0x6c], ecx
test ecx, ecx
jne 0x1001632b
mov edx, 0x1006
lea ecx, [ebp - 0x28]
call fcn.100084b1
mov byte [ebp - 4], 1
jmp 0x10016aa0
movzx eax, byte [ebp + 8]
mov dword [ebp - 0x70], eax
sub eax, 5
je 0x1001634a
sub eax, 1
je 0x1001634a
sub eax, 1
je 0x1001634a
sub eax, 1
jne 0x1001646b
cmp byte [0x100578dc], 0
mov ebx, dword [0x10057860]
je 0x10016386
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x10016386
push 4
push edi
call esi
test eax, eax
jne 0x10016386
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x10016386
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10016405
sub eax, 1
jne 0x1001646b
mov ebx, dword [0x10057860]
cmp byte [0x100578dc], al
je 0x100163d5
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x100163d5
push 4
push edi
call esi
test eax, eax
jne 0x100163d5
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100163d5
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0xc9
je 0x100163ef
sub eax, 1
je 0x100163ef
sub eax, 1
je 0x100163ef
sub eax, 1
jne 0x1001646b
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.100084b1
mov byte [ebp - 4], 3
jmp 0x10016aa0
cmp byte [0x100578dc], 0
mov ebx, dword [0x10057860]
je 0x10016443
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x10016443
push 4
push edi
call esi
test eax, eax
jne 0x10016443
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10016443
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0x65
je 0x10016a8f
sub eax, 1
je 0x10016a8f
sub eax, 1
je 0x10016a8f
sub eax, 1
je 0x10016a8f
mov cl, byte [ebp + 8]
cmp cl, 8
jne 0x100165a2
cmp byte [0x100578dc], 0
mov ebx, dword [0x10057860]
je 0x100164b3
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x100164b3
push 4
push edi
call esi
test eax, eax
jne 0x100164b3
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x100164b3
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10016533
sub eax, 1
jne 0x100166ba
mov ebx, dword [0x10057860]
cmp byte [0x100578dc], al
je 0x10016502
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x10016502
push 4
push edi
call esi
test eax, eax
jne 0x10016502
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10016502
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0xcf
je 0x1001651d
dec eax
sub eax, 1
je 0x1001651d
dec eax
sub eax, 1
jne 0x100166ba
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.100084b1
mov byte [ebp - 4], 5
jmp 0x10016aa0
cmp byte [0x100578dc], 0
mov ebx, dword [0x10057860]
je 0x10016571
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x10016571
push 4
push edi
call esi
test eax, eax
jne 0x10016571
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10016571
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
push 0x6b
pop edx
sub eax, edx
je 0x1001658c
dec eax
sub eax, 1
je 0x1001658c
dec eax
sub eax, 1
jne 0x100167d0
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.100084b1
mov byte [ebp - 4], 4
jmp 0x10016aa0
cmp cl, 7
jne 0x100166ba
cmp byte [0x100578dc], 0
mov ebx, dword [0x10057860]
je 0x100165e7
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x100165e7
push 4
push edi
call esi
test eax, eax
jne 0x100165e7
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x100165e7
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x1001665b
sub eax, 1
jne 0x100167cd
mov ebx, dword [0x10057860]
cmp byte [0x100578dc], al
je 0x10016636
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x10016636
push 4
push edi
call esi
test eax, eax
jne 0x10016636
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10016636
mov ax, word [edi]
mov word [ebx + 0x3e], ax
mov eax, 0xcd
cmp word [ebx + 0x3e], ax
jne 0x100167cd
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.100084b1
mov byte [ebp - 4], 7
jmp 0x10016aa0
cmp byte [0x100578dc], 0
mov ebx, dword [0x10057860]
je 0x10016699
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x10016699
push 4
push edi
call esi
test eax, eax
jne 0x10016699
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10016699
mov ax, word [edi]
mov word [ebx + 0x3e], ax
cmp word [ebx + 0x3e], 0x69
jne 0x100167cd
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.100084b1
mov byte [ebp - 4], 6
jmp 0x10016aa0
cmp byte [ebp + 8], 6
jne 0x100167cd
cmp byte [0x100578dc], 0
mov ebx, dword [0x10057860]
je 0x10016700
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x10016700
push 4
push edi
call esi
test eax, eax
jne 0x10016700
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x10016700
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10016770
sub eax, 1
jne 0x100167cd
mov ebx, dword [0x10057860]
cmp byte [0x100578dc], al
je 0x1001674f
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x1001674f
push 4
push edi
call esi
test eax, eax
jne 0x1001674f
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x1001674f
mov ax, word [edi]
mov word [ebx + 0x3e], ax
mov eax, 0xcf
cmp word [ebx + 0x3e], ax
jne 0x100167cd
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.100084b1
mov byte [ebp - 4], 9
jmp 0x10016aa0
cmp byte [0x100578dc], 0
mov ebx, dword [0x10057860]
je 0x100167ae
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x100167ae
push 4
push edi
call esi
test eax, eax
jne 0x100167ae
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100167ae
mov ax, word [edi]
mov word [ebx + 0x3e], ax
push 0x6b
pop edx
cmp word [ebx + 0x3e], dx
jne 0x100167d0
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.100084b1
mov byte [ebp - 4], 8
jmp 0x10016aa0
push 0x6b
pop edx
mov eax, dword [ebp - 0x70]
sub eax, 5
je 0x10016875
sub eax, 1
je 0x10016849
sub eax, 1
je 0x1001681d
sub eax, 1
jne 0x10016ab5
mov edi, dword [ebp - 0x64]
mov cl, 0x29
mov dword [ebp - 0x1c], 0x5b5d5a29
mov dword [ebp - 0x18], 0x764e4740
mov word [ebp - 0x14], 0x1e
mov edi, dword [edi]
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x100168a7
mov cl, byte [ebp - 0x1c]
jmp 0x1001680a
mov edi, dword [ebp - 0x64]
mov cl, 0x54
mov dword [ebp - 0x1c], 0x26202754
xor eax, eax
mov dword [ebp - 0x18], 0xb333a3d
mov word [ebp - 0x14], 0x62
mov edi, dword [edi]
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x100168a7
mov cl, byte [ebp - 0x1c]
jmp 0x1001683a
mov edi, dword [ebp - 0x64]
mov cl, 0x50
mov dword [ebp - 0x1c], 0x22242350
xor eax, eax
mov dword [ebp - 0x18], 0xf373e39
mov word [ebp - 0x14], 0x65
mov edi, dword [edi]
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x100168a7
mov cl, byte [ebp - 0x1c]
jmp 0x10016866
mov edi, dword [ebp - 0x64]
mov cl, 0x19
mov word [ebp - 0x1c], 0x6a19
xor eax, eax
mov byte [ebp - 0x1a], 0x6d
mov byte [ebp - 0x19], dl
mov edi, dword [edi]
mov dword [ebp - 0x18], 0x467e7770
mov word [ebp - 0x14], 0x2d
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x100168a7
mov cl, byte [ebp - 0x1c]
jmp 0x10016898
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10003da4
mov ecx, edi
call fcn.1000c6eb
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x10016ab5
push 4
push ebx
call esi
test eax, eax
jne 0x10016ab5
mov ecx, ebx
call fcn.1000d123
push eax
lea ecx, [ebp - 0x44]
call fcn.1000744d
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmp byte [0x100578dc], 0
mov esi, eax
mov eax, dword [0x10057860]
pop ecx
mov dword [ebp - 0x2c], eax
je 0x1001694f
mov ecx, 0x10b8134
call fcn.1000d2b7
mov edi, eax
test edi, edi
je 0x1001694c
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001694c
push 4
add edi, 0x6e8
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001694c
mov ecx, dword [ebp - 0x2c]
mov al, byte [edi]
mov byte [ecx + 0x3c], al
mov eax, ecx
jmp 0x1001694f
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x3c]
cmp esi, eax
jl 0x1001696d
mov edx, 0x1131
lea ecx, [ebp - 0x28]
call fcn.100084b1
mov byte [ebp - 4], 0xa
jmp 0x10016aa0
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x2c], 0x32
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x60]
call fcn.10008232
push 1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], vtable.Packet.0
call fcn.10008386
mov al, byte [ebp + 8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x2c], al
lea eax, [ebp - 0x2c]
push 1
push eax
call fcn.10008386
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
sub edx, eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x68], eax
cmp edx, 0x4000
ja 0x100169e5
mov ecx, dword ds:[0x10042be4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x2c]
push dword [ebp - 0x68]
call dword [0x10042be0]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x74]
dec eax
mov edx, eax
mov dword [ebp - 0x6c], eax
call fcn.1000d1a3
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edi]
mov dword [eax + 0x158], ecx
mov eax, dword [edi]
cmp dword [eax + 0x158], 0
ja 0x10016a37
mov ecx, dword [edi + 0x18]
mov dl, 2
call fcn.1000c9eb
mov ecx, dword [edi + 0x1c]
mov dl, 2
call fcn.1000c9eb
mov ecx, dword [edi + 0x20]
mov dl, 2
call fcn.1000c9eb
mov ecx, dword [edi + 0x24]
mov dl, 2
call fcn.1000c9eb
inc esi
mov ecx, ebx
mov edx, esi
call fcn.1000d1a3
mov eax, dword [ebp - 0x70]
sub eax, 5
je 0x10016a76
sub eax, 1
je 0x10016a6c
sub eax, 1
je 0x10016a62
sub eax, 1
jne 0x10016a7e
mov eax, dword [edi]
mov dword [eax + 0x178], esi
jmp 0x10016a7e
mov eax, dword [edi]
mov dword [eax + 0x174], esi
jmp 0x10016a7e
mov eax, dword [edi]
mov dword [eax + 0x170], esi
jmp 0x10016a7e
mov eax, dword [edi]
mov dword [eax + 0x16c], esi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x60], vtable.ByteBuffer.0
call fcn.100082a9
jmp 0x10016ab5
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.100084b1
mov byte [ebp - 4], 2
mov edx, 0xffff3b3b
lea ecx, [ebp - 0x28]
call fcn.10007c25
lea ecx, [ebp - 0x28]
call fcn.10003ba2
lea ecx, [ebp - 0x44]
call fcn.10003ba2
call fcn.1003d6bf
ret 4