Function at 0x1001a050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042670
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x8c], edi
cmp dword [0x10052f20], 0
je 0x1001ab3c
push 0
lea eax, [ebp - 0x53]
mov word [ebp - 0x54], 0x69
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x53], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.10004510
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x1004ac20]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x766c
mov byte [ebp - 0x12], 0
nop word [eax + eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x1001a0e0
sub esp, 0x18
mov byte [ebp - 0x12], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1001a11c
mov eax, dword [edx]
jmp 0x1001a11e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x23], 0
jne 0x1001a12b
xor ecx, ecx
jmp 0x1001a13a
lea ecx, [ebp - 0x23]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a131
sub ecx, esi
push ecx
lea eax, [ebp - 0x23]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [edi]
call fcn.1000e680
add esp, 0x18
mov dword [ebp - 0x84], eax
test eax, eax
je case.default.0x1001a784
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call esi
test eax, eax
jne case.default.0x1001a784
mov ecx, dword [ebp - 0x84]
call fcn.1000ed20
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x1001a18d
push 0xffffffffffffffff
push 0
push eax
call fcn.10004610
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 ecx, eax
add esp, 4
mov dword [ebp - 0x80], ecx
test ecx, ecx
jne 0x1001a1c1
mov edx, 0x1006
lea ecx, [ebp - 0x28]
call fcn.10008820
mov byte [ebp - 4], 1
jmp 0x1001a6e7
mov eax, dword [ebp + 8]
sub al, 5
cmp al, 3
ja 0x1001a327
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a21f
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1001a21c
push 4
push eax
call esi
test eax, eax
jne 0x1001a21c
mov eax, dword [ebp - 0x4c]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x1001a21c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1001a21f
mov eax, dword [ebp - 0x48]
mov al, byte [eax + 0x38]
movzx eax, al
sub eax, 1
je 0x1001a2b2
sub eax, 1
jne 0x1001a327
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a28a
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1001a287
push 4
push eax
call esi
test eax, eax
jne 0x1001a287
mov eax, dword [ebp - 0x4c]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x1001a287
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001a28a
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 0x3e]
add eax, 0xffffff37
cmp eax, 3
ja 0x1001a327
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10008820
mov byte [ebp - 4], 3
jmp 0x1001a6e7
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a305
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1001a302
push 4
push eax
call esi
test eax, eax
jne 0x1001a302
mov eax, dword [ebp - 0x4c]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x1001a302
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001a305
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 0x3e]
add eax, 0xffffff9b
cmp eax, 3
ja 0x1001a327
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10008820
mov byte [ebp - 4], 2
jmp 0x1001a6e7
mov ecx, dword [ebp + 8]
cmp cl, 8
jne 0x1001a49e
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a384
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1001a381
push 4
push eax
call esi
test eax, eax
jne 0x1001a381
mov eax, dword [ebp - 0x4c]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x1001a381
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1001a384
mov eax, dword [ebp - 0x48]
mov al, byte [eax + 0x38]
movzx eax, al
sub eax, 1
je 0x1001a41e
sub eax, 1
jne 0x1001a76c
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a3ef
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1001a3ec
push 4
push eax
call esi
test eax, eax
jne 0x1001a3ec
mov eax, dword [ebp - 0x4c]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x1001a3ec
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001a3ef
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 0x3e]
sub eax, 0xcf
je 0x1001a408
sub eax, 2
je 0x1001a408
sub eax, 2
jne 0x1001a76c
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.10008820
mov byte [ebp - 4], 5
jmp 0x1001a6e7
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a471
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1001a46e
push 4
push eax
call esi
test eax, eax
jne 0x1001a46e
mov eax, dword [ebp - 0x4c]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x1001a46e
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001a471
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 0x3e]
sub eax, 0x6b
je 0x1001a488
sub eax, 2
je 0x1001a488
sub eax, 2
jne 0x1001a76c
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.10008820
mov byte [ebp - 4], 4
jmp 0x1001a6e7
cmp cl, 7
jne 0x1001a5ff
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a4f8
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1001a4f5
push 4
push eax
call esi
test eax, eax
jne 0x1001a4f5
mov eax, dword [ebp - 0x4c]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x1001a4f5
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1001a4f8
mov eax, dword [ebp - 0x48]
mov al, byte [eax + 0x38]
movzx eax, al
sub eax, 1
je 0x1001a58b
sub eax, 1
jne 0x1001a76c
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a563
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1001a560
push 4
push eax
call esi
test eax, eax
jne 0x1001a560
mov eax, dword [ebp - 0x4c]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x1001a560
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001a563
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 0x3e]
mov ecx, 0xcd
cmp ax, cx
jne 0x1001a76c
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10008820
mov byte [ebp - 4], 7
jmp 0x1001a6e7
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a5de
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1001a5db
push 4
push eax
call esi
test eax, eax
jne 0x1001a5db
mov eax, dword [ebp - 0x4c]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x1001a5db
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001a5de
mov eax, dword [ebp - 0x48]
cmp word [eax + 0x3e], 0x69
jne 0x1001a76c
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10008820
mov byte [ebp - 4], 6
jmp 0x1001a6e7
cmp cl, 6
jne 0x1001a76c
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a659
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1001a656
push 4
push eax
call esi
test eax, eax
jne 0x1001a656
mov eax, dword [ebp - 0x4c]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x1001a656
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1001a659
mov eax, dword [ebp - 0x48]
mov al, byte [eax + 0x38]
movzx eax, al
sub eax, 1
je 0x1001a6fc
sub eax, 1
jne 0x1001a76c
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a6c4
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1001a6c1
push 4
push eax
call esi
test eax, eax
jne 0x1001a6c1
mov eax, dword [ebp - 0x4c]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x1001a6c1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001a6c4
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 0x3e]
mov ecx, 0xcf
cmp ax, cx
jne 0x1001a76c
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10008820
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.10008300
lea ecx, [ebp - 0x28]
call fcn.10003a60
jmp case.default.0x1001a784
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a74f
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1001a74c
push 4
push eax
call esi
test eax, eax
jne 0x1001a74c
mov eax, dword [ebp - 0x4c]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x1001a74c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001a74f
mov eax, dword [ebp - 0x48]
cmp word [eax + 0x3e], 0x6b
jne 0x1001a76c
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10008820
mov byte [ebp - 4], 8
jmp 0x1001a6e7
mov eax, dword [ebp + 8]
movzx eax, al
add eax, 0xfffffffb
mov dword [ebp - 0x88], eax
cmp eax, 3
ja case.default.0x1001a784
jmp dword [eax*4 + 0x1001ab5c]
mov byte [ebp - 0x64], 0x17
mov al, 0x64
xor al, byte [ebp - 0x64]
mov cl, 0x63
xor cl, byte [ebp - 0x64]
mov ah, 0x7e
mov byte [ebp - 0x63], al
mov dl, 0x65
mov byte [ebp - 0x4e], 0x48
mov ch, 0x79
mov al, byte [ebp - 0x4e]
mov dh, 0x70
mov byte [ebp - 0x62], cl
mov cl, byte [ebp - 0x64]
xor al, cl
mov byte [ebp - 0x4d], 0x23
mov byte [ebp - 0x5d], al
xor ah, cl
mov al, byte [ebp - 0x4d]
xor dl, cl
xor ch, cl
mov byte [ebp - 0x5b], 0
xor dh, cl
mov byte [ebp - 0x60], ah
xor al, cl
mov byte [ebp - 0x61], dl
mov byte [ebp - 0x5c], al
lea eax, [ebp - 0x63]
mov byte [ebp - 0x5f], ch
mov byte [ebp - 0x5e], dh
mov byte [ebp - 0x5b], 0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10003b20
mov ecx, dword [edi]
call fcn.1000e680
mov edi, eax
mov dword [ebp - 0x4c], edi
jmp 0x1001a91d
mov byte [ebp - 0x70], 0x19
mov al, 0x6a
xor al, byte [ebp - 0x70]
mov cl, 0x6d
xor cl, byte [ebp - 0x70]
mov ah, 0x70
mov byte [ebp - 0x6f], al
mov dl, 0x6b
mov byte [ebp - 0x4d], 0x46
mov ch, 0x77
mov al, byte [ebp - 0x4d]
mov dh, 0x7e
mov byte [ebp - 0x6e], cl
mov cl, byte [ebp - 0x70]
xor al, cl
mov byte [ebp - 0x4e], 0x2c
mov byte [ebp - 0x69], al
xor ah, cl
mov al, byte [ebp - 0x4e]
xor dl, cl
xor ch, cl
mov byte [ebp - 0x67], 0
xor dh, cl
mov byte [ebp - 0x6c], ah
xor al, cl
mov byte [ebp - 0x6d], dl
mov byte [ebp - 0x68], al
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x6b], ch
mov byte [ebp - 0x6a], dh
mov byte [ebp - 0x67], 0
jmp 0x1001a7e1
mov byte [ebp - 0x7c], 0x70
mov al, 3
xor al, byte [ebp - 0x7c]
mov cl, 4
xor cl, byte [ebp - 0x7c]
mov ah, 0x19
mov byte [ebp - 0x7b], al
mov dl, 2
mov byte [ebp - 0x4d], 0x2f
mov ch, 0x1e
mov al, byte [ebp - 0x4d]
mov dh, 0x17
mov byte [ebp - 0x7a], cl
mov cl, byte [ebp - 0x7c]
xor al, cl
mov byte [ebp - 0x4e], 0x46
mov byte [ebp - 0x75], al
xor ah, cl
mov al, byte [ebp - 0x4e]
xor dl, cl
xor ch, cl
mov byte [ebp - 0x73], 0
xor dh, cl
mov byte [ebp - 0x78], ah
xor al, cl
mov byte [ebp - 0x79], dl
mov byte [ebp - 0x74], al
lea eax, [ebp - 0x7b]
mov byte [ebp - 0x77], ch
mov byte [ebp - 0x76], dh
mov byte [ebp - 0x73], 0
jmp 0x1001a7e1
mov byte [ebp - 0x1c], 0x53
mov al, 0x20
xor al, byte [ebp - 0x1c]
mov cl, 0x27
xor cl, byte [ebp - 0x1c]
mov ah, 0x3a
mov byte [ebp - 0x1b], al
mov ch, 0x3d
mov byte [ebp - 0x1a], cl
sub esp, 0x18
mov cl, byte [ebp - 0x1c]
mov dl, 0x21
mov byte [ebp - 0x4d], 0xc
xor ah, cl
mov al, byte [ebp - 0x4d]
xor ch, cl
xor al, cl
mov byte [ebp - 0x4e], 0x64
mov byte [ebp - 0x15], al
mov dh, 0x34
mov al, byte [ebp - 0x4e]
xor dl, cl
xor al, cl
mov byte [ebp - 0x18], ah
xor dh, cl
mov byte [ebp - 0x14], al
mov byte [ebp - 0x17], ch
lea eax, [ebp - 0x1b]
mov ecx, esp
mov byte [ebp - 0x13], 0
push eax
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x16], dh
mov byte [ebp - 0x13], 0
call fcn.10003b20
mov ecx, dword [edi]
call fcn.1000e680
mov edi, eax
mov dword [ebp - 0x4c], eax
add esp, 0x18
test edi, edi
je case.default.0x1001a784
push 4
push edi
call esi
test eax, eax
jne case.default.0x1001a784
mov ecx, edi
call fcn.1000ed20
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x1001a94d
push 0xffffffffffffffff
push 0
push eax
call fcn.10004610
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]
add esp, 4
mov edi, eax
cmp byte [0x10052fda], 0
mov eax, dword [0x10052f20]
mov dword [ebp - 0x48], eax
je 0x1001a9b5
mov ecx, 0x10b8134
call fcn.1000eed0
mov dword [ebp - 0x58], eax
test eax, eax
je 0x1001a9b2
push 4
push eax
call esi
test eax, eax
jne 0x1001a9b2
mov eax, dword [ebp - 0x58]
add eax, 0x6e8
push 4
push eax
mov dword [ebp - 0x58], eax
call esi
test eax, eax
jne 0x1001a9b2
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
mov al, byte [eax]
mov byte [ecx + 0x3c], al
mov eax, ecx
jmp 0x1001a9b5
mov eax, dword [ebp - 0x48]
mov al, byte [eax + 0x3c]
movzx eax, al
cmp edi, eax
jl 0x1001a9d5
mov edx, 0x1131
lea ecx, [ebp - 0x28]
call fcn.10008820
mov byte [ebp - 4], 0xa
jmp 0x1001a6e7
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x4d], 0x32
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.10008530
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub ecx, edx
mov dword [ebp - 0x2c], vtable.Packet.0
cmp ecx, 0x989680
ja 0x1001aa69
mov eax, dword [ebp - 0x20]
lea esi, [eax + 1]
cmp ecx, esi
jae 0x1001aa5f
push esi
lea ecx, [ebp - 0x1c]
call fcn.100086d0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov cl, byte [ebp - 0x4d]
mov byte [edx + eax], cl
inc eax
mov dword [ebp - 0x20], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.10008490
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
call fcn.1000efe0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
dec eax
mov edx, eax
mov dword [ebp - 0x80], eax
call fcn.1000eda0
mov esi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x80]
mov eax, dword [esi]
mov dword [eax + 0x158], ecx
mov eax, dword [esi]
cmp dword [eax + 0x158], 0
ja case.default.0x1001aaee
mov ecx, dword [esi + 0x18]
mov dl, 2
call fcn.1000e8f0
mov ecx, dword [esi + 0x1c]
mov dl, 2
call fcn.1000e8f0
mov ecx, dword [esi + 0x20]
mov dl, 2
call fcn.1000e8f0
mov ecx, dword [esi + 0x24]
mov dl, 2
call fcn.1000e8f0
mov ecx, dword [ebp - 0x4c]
inc edi
mov edx, edi
call fcn.1000eda0
mov eax, dword [ebp - 0x88]
jmp dword [eax*4 + 0x1001ab6c]
mov eax, dword [esi]
mov dword [eax + 0x16c], edi
jmp 0x1001ab1b
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.10008660
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1001ab3c
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10004c80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003fc80
mov esp, ebp
pop ebp
ret 4