Function at 0x100224b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067095
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x74], esi
cmp dword [0x1007f860], 0
je 0x100231fb
xorps xmm0, xmm0
mov word [ebp - 0x64], 9
lea ecx, [ebp - 0x63]
mov byte [ebp - 0x63], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x4c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022511
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.100051a0
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x100750b0]
mov eax, dword [esi]
mov dword [ebp - 0x7c], eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x2933
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 0x10022550
sub esp, 0x18
mov byte [ebp - 0x12], 0
mov ecx, esp
lea edx, [ebp - 0x23]
xorps xmm0, xmm0
lea edi, [edx + 1]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x10022580
sub edx, edi
lea eax, [ebp - 0x23]
push edx
push eax
call fcn.100051a0
mov ecx, dword [ebp - 0x7c]
call fcn.10012c60
add esp, 0x18
mov dword [ebp - 0x80], eax
test eax, eax
je case.default.0x10022c4c
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call edi
test eax, eax
jne case.default.0x10022c4c
mov ecx, dword [ebp - 0x80]
call fcn.10012f10
lea ecx, [ebp - 0x60]
cmp ecx, eax
je 0x100225e0
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x100225d6
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10004eb0
cmp dword [ebp - 0x4c], 0xf
lea eax, [ebp - 0x60]
cmova eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x10022674
mov edx, 0x1006
lea ecx, [ebp - 0x28]
call fcn.1000ca00
mov ecx, 0x10b81f8
mov byte [ebp - 4], 1
call fcn.10013040
test eax, eax
je 0x10022638
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x10022638
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x28]
push eax
call dword [0x10073580]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe case.default.0x10022c4c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022668
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10022668
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
jmp 0x100231c4
mov eax, dword [ebp + 8]
movzx eax, al
add eax, 0xfffffffb
mov dword [ebp - 0x7c], eax
cmp eax, 3
ja case.default.0x100227f8
jmp dword [eax*4 + 0x10023218]
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x64], eax
je 0x100226e1
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x68], eax
test eax, eax
je 0x100226de
push 4
push eax
call edi
test eax, eax
jne 0x100226de
mov eax, dword [ebp - 0x68]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x100226de
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x100226e1
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 0x38]
sub eax, 1
je 0x10022799
sub eax, 1
jne case.default.0x100227f8
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x64], eax
je 0x1002274a
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10022747
push 4
push eax
call edi
test eax, eax
jne 0x10022747
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x10022747
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1002274a
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + 0x3e]
add eax, 0xffffff37
cmp eax, 3
ja case.default.0x100227f8
jmp dword [eax*4 + 0x10023228]
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.1000ca00
mov byte [ebp - 4], 3
mov ecx, 0x10b81f8
call fcn.10013040
test eax, eax
je 0x10022638
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x10022638
jmp 0x10022625
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x64], eax
je 0x100227ec
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x68], eax
test eax, eax
je 0x100227e9
push 4
push eax
call edi
test eax, eax
jne 0x100227e9
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x100227e9
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x100227ec
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + 0x3e]
add eax, 0xffffff9b
cmp eax, 3
ja case.default.0x100227f8
jmp dword [eax*4 + 0x10023238]
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.1000ca00
mov byte [ebp - 4], 2
jmp 0x10022774
mov ecx, dword [ebp + 8]
cmp cl, 8
jne 0x1002298a
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x64], eax
je 0x10022872
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1002286f
push 4
push eax
call edi
test eax, eax
jne 0x1002286f
mov eax, dword [ebp - 0x68]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1002286f
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x10022872
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 0x38]
sub eax, 1
je 0x1002290a
sub eax, 1
jne 0x10022ae6
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x64], eax
je 0x100228db
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x68], eax
test eax, eax
je 0x100228d8
push 4
push eax
call edi
test eax, eax
jne 0x100228d8
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x100228d8
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x100228db
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + 0x3e]
sub eax, 0xcf
je 0x100228f4
sub eax, 2
je 0x100228f4
sub eax, 2
jne 0x10022ae6
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.1000ca00
mov byte [ebp - 4], 5
jmp 0x10022774
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x64], eax
je 0x1002295d
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1002295a
push 4
push eax
call edi
test eax, eax
jne 0x1002295a
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1002295a
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1002295d
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + 0x3e]
sub eax, 0x6b
je 0x10022974
sub eax, 2
je 0x10022974
sub eax, 2
jne 0x10022ae6
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.1000ca00
mov byte [ebp - 4], 4
jmp 0x10022774
cmp cl, 7
jne 0x10022ae6
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x64], eax
je 0x100229e4
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x68], eax
test eax, eax
je 0x100229e1
push 4
push eax
call edi
test eax, eax
jne 0x100229e1
mov eax, dword [ebp - 0x68]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x100229e1
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x100229e4
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 0x38]
sub eax, 1
je 0x10022a72
sub eax, 1
jne 0x10022c40
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x64], eax
je 0x10022a4d
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10022a4a
push 4
push eax
call edi
test eax, eax
jne 0x10022a4a
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x10022a4a
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x10022a4d
mov eax, dword [ebp - 0x64]
mov ecx, 0xcd
cmp word [eax + 0x3e], cx
jne 0x10022c40
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.1000ca00
mov byte [ebp - 4], 7
jmp 0x10022774
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x64], eax
je 0x10022ac5
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10022ac2
push 4
push eax
call edi
test eax, eax
jne 0x10022ac2
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x10022ac2
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x10022ac5
mov eax, dword [ebp - 0x64]
cmp word [eax + 0x3e], 0x69
jne 0x10022c40
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.1000ca00
mov byte [ebp - 4], 6
jmp 0x10022774
mov eax, dword [ebp + 8]
cmp al, 6
jne 0x10022c40
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x64], eax
je 0x10022b42
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10022b3f
push 4
push eax
call edi
test eax, eax
jne 0x10022b3f
mov eax, dword [ebp - 0x68]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x10022b3f
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x10022b42
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 0x38]
sub eax, 1
je 0x10022bd0
sub eax, 1
jne 0x10022c40
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x64], eax
je 0x10022bab
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10022ba8
push 4
push eax
call edi
test eax, eax
jne 0x10022ba8
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x10022ba8
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x10022bab
mov eax, dword [ebp - 0x64]
mov ecx, 0xcf
cmp word [eax + 0x3e], cx
jne 0x10022c40
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.1000ca00
mov byte [ebp - 4], 9
jmp 0x10022774
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x64], eax
je 0x10022c23
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10022c20
push 4
push eax
call edi
test eax, eax
jne 0x10022c20
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x10022c20
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x10022c23
mov eax, dword [ebp - 0x64]
cmp word [eax + 0x3e], 0x6b
jne 0x10022c40
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.1000ca00
mov byte [ebp - 4], 8
jmp 0x10022774
mov eax, dword [ebp - 0x7c]
cmp eax, 3
ja case.default.0x10022c4c
jmp dword [eax*4 + 0x10023248]
mov esi, dword [esi]
mov al, 0x7e
mov byte [ebp - 0x1c], 0xd
mov cl, 0x79
xor al, byte [ebp - 0x1c]
mov dl, 0x7f
xor cl, byte [ebp - 0x1c]
mov ah, 0x64
mov byte [ebp - 0x1b], al
mov ch, 0x63
mov byte [ebp - 0x1a], cl
mov dh, 0x6a
mov cl, byte [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 0x69], 0x52
xor dl, cl
mov al, byte [ebp - 0x69]
xor ah, cl
xor al, cl
mov byte [ebp - 0x61], 0x39
mov byte [ebp - 0x15], al
xor dh, cl
mov al, byte [ebp - 0x61]
xor ch, cl
xor al, cl
mov byte [ebp - 0x17], ch
sub esp, 0x18
mov byte [ebp - 0x19], dl
mov ecx, esp
mov byte [ebp - 0x16], dh
lea edx, [ebp - 0x1b]
mov byte [ebp - 0x18], ah
mov byte [ebp - 0x14], al
lea eax, [edx + 1]
mov byte [ebp - 0x13], 0
movups xmmword [ecx], xmm0
mov byte [ebp - 0x13], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x68], eax
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10022cd0
sub edx, dword [ebp - 0x68]
push edx
lea eax, [ebp - 0x1b]
push eax
call fcn.100051a0
mov ecx, esi
call fcn.10012c60
mov esi, eax
mov dword [ebp - 0x68], esi
jmp 0x10022ea0
mov esi, dword [esi]
mov al, 0x21
mov byte [ebp - 0x1c], 0x52
mov cl, 0x26
xor al, byte [ebp - 0x1c]
mov dl, 0x20
xor cl, byte [ebp - 0x1c]
mov ah, 0x3b
mov byte [ebp - 0x1b], al
mov ch, 0x3c
mov byte [ebp - 0x1a], cl
mov dh, 0x35
mov cl, byte [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 0x61], 0xd
xor dl, cl
mov al, byte [ebp - 0x61]
xor ah, cl
xor al, cl
mov byte [ebp - 0x69], 0x67
mov byte [ebp - 0x15], al
xor dh, cl
mov al, byte [ebp - 0x69]
xor ch, cl
xor al, cl
mov byte [ebp - 0x17], ch
sub esp, 0x18
mov byte [ebp - 0x19], dl
mov ecx, esp
mov byte [ebp - 0x16], dh
lea edx, [ebp - 0x1b]
mov byte [ebp - 0x18], ah
mov byte [ebp - 0x14], al
lea eax, [edx + 1]
mov byte [ebp - 0x13], 0
movups xmmword [ecx], xmm0
mov byte [ebp - 0x13], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x68], eax
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10022d70
sub edx, dword [ebp - 0x68]
jmp 0x10022cda
mov esi, dword [esi]
mov al, 0x3f
mov byte [ebp - 0x1c], 0x4c
mov cl, 0x38
xor al, byte [ebp - 0x1c]
mov dl, 0x3e
xor cl, byte [ebp - 0x1c]
mov ah, 0x25
mov byte [ebp - 0x1b], al
mov ch, 0x22
mov byte [ebp - 0x1a], cl
mov dh, 0x2b
mov cl, byte [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 0x61], 0x13
xor dl, cl
mov al, byte [ebp - 0x61]
xor ah, cl
xor al, cl
mov byte [ebp - 0x69], 0x7a
mov byte [ebp - 0x15], al
xor dh, cl
mov al, byte [ebp - 0x69]
xor ch, cl
xor al, cl
mov byte [ebp - 0x17], ch
sub esp, 0x18
mov byte [ebp - 0x19], dl
mov ecx, esp
mov byte [ebp - 0x16], dh
lea edx, [ebp - 0x1b]
mov byte [ebp - 0x18], ah
mov byte [ebp - 0x14], al
lea eax, [edx + 1]
mov byte [ebp - 0x13], 0
movups xmmword [ecx], xmm0
mov byte [ebp - 0x13], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x68], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x10022df6
sub edx, dword [ebp - 0x68]
jmp 0x10022cda
mov esi, dword [esi]
mov al, 0x7a
mov byte [ebp - 0x1c], 9
mov cl, 0x7d
xor al, byte [ebp - 0x1c]
mov dl, 0x7b
xor cl, byte [ebp - 0x1c]
mov ah, 0x60
mov byte [ebp - 0x1b], al
mov ch, 0x67
mov byte [ebp - 0x1a], cl
mov dh, 0x6e
mov cl, byte [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 0x61], 0x56
xor dl, cl
mov al, byte [ebp - 0x61]
xor ah, cl
xor al, cl
mov byte [ebp - 0x69], 0x3e
mov byte [ebp - 0x15], al
xor dh, cl
mov al, byte [ebp - 0x69]
xor ch, cl
xor al, cl
mov byte [ebp - 0x17], ch
sub esp, 0x18
mov byte [ebp - 0x19], dl
mov ecx, esp
mov byte [ebp - 0x16], dh
lea edx, [ebp - 0x1b]
mov byte [ebp - 0x18], ah
mov byte [ebp - 0x14], al
lea eax, [edx + 1]
mov byte [ebp - 0x13], 0
movups xmmword [ecx], xmm0
mov byte [ebp - 0x13], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x68], eax
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10022e80
sub edx, dword [ebp - 0x68]
lea eax, [ebp - 0x1b]
push edx
push eax
call fcn.100051a0
mov ecx, esi
call fcn.10012c60
mov esi, eax
mov dword [ebp - 0x68], eax
add esp, 0x18
test esi, esi
je case.default.0x10022c4c
push 4
push esi
call edi
test eax, eax
jne case.default.0x10022c4c
mov ecx, esi
call fcn.10012f10
lea ecx, [ebp - 0x60]
cmp ecx, eax
je 0x10022edb
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x10022ed1
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10004eb0
cmp dword [ebp - 0x4c], 0xf
lea eax, [ebp - 0x60]
cmova eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov esi, eax
add esp, 4
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x64], eax
je 0x10022f46
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10022f43
push 4
push eax
call edi
test eax, eax
jne 0x10022f43
mov eax, dword [ebp - 0x2c]
add eax, 0x6e8
push 4
push eax
mov dword [ebp - 0x2c], eax
call edi
test eax, eax
jne 0x10022f43
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x64]
mov al, byte [eax]
mov byte [ecx + 0x3c], al
mov eax, ecx
jmp 0x10022f46
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 0x3c]
cmp esi, eax
jl 0x10022f64
mov edx, 0x1131
lea ecx, [ebp - 0x28]
call fcn.1000ca00
mov byte [ebp - 4], 0xa
jmp 0x10022774
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], vtable.ByteBuffer.0
movq qword [ebp - 0x38], xmm0
mov byte [ebp - 0x44], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], 0x1000
call fcn.1000c6a0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
sub eax, edx
mov dword [ebp - 0x48], vtable.Packet.0
mov dword [ebp - 0x64], eax
cmp eax, 0x989680
ja 0x1002301e
mov ecx, dword [ebp - 0x3c]
inc ecx
cmp eax, ecx
jae 0x10023014
mov eax, dword [ebp - 0x30]
sub eax, edx
cmp ecx, eax
jbe 0x10022ff6
push ecx
push ecx
lea ecx, [ebp - 0x38]
call fcn.1000c8f0
jmp 0x10023011
sub ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x34]
push ecx
push 0
push eax
lea esi, [ecx + eax]
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x34], esi
add esp, 0xc
mov esi, dword [ebp - 0x70]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov byte [edx + eax], 0x32
inc dword [ebp - 0x3c]
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.1000c5d0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
sub ecx, eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x2c], eax
cmp ecx, 0x4000
ja 0x10023059
mov ecx, dword ds:[0x1006abc4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x70]
push dword [ebp - 0x2c]
call dword [0x1006abc0]
dec dword [ebp - 0x78]
push 4
push dword [ebp - 0x80]
call edi
test eax, eax
jne 0x10023073
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
call dword [0x1007363c]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
mov eax, dword [ecx]
mov dword [eax + 0x158], edx
mov eax, dword [ecx]
cmp dword [eax + 0x158], 0
ja 0x10023125
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x100230b6
push 4
push eax
call edi
test eax, eax
jne 0x100230b3
mov ecx, dword [ebp - 0x70]
mov dl, 2
add ecx, 0xb8
call fcn.10012f70
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x100230d9
push 4
push eax
call edi
test eax, eax
jne 0x100230d9
mov ecx, dword [ebp - 0x70]
mov dl, 2
add ecx, 0xb8
call fcn.10012f70
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x100230ff
push 4
push eax
call edi
test eax, eax
jne 0x100230ff
mov ecx, dword [ebp - 0x70]
mov dl, 2
add ecx, 0xb8
call fcn.10012f70
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x10023125
push 4
push eax
call edi
test eax, eax
jne 0x10023125
mov ecx, dword [ebp - 0x70]
mov dl, 2
add ecx, 0xb8
call fcn.10012f70
push 4
push dword [ebp - 0x68]
inc esi
call edi
test eax, eax
jne 0x1002313b
mov ecx, dword [ebp - 0x68]
push esi
call dword [0x1007363c]
mov eax, dword [ebp - 0x7c]
jmp dword [eax*4 + 0x10023258]
add esp, 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x100231fb
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100231f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022662
push ecx
push edx
call fcn.100641c5
add esp, 8
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.10064164
mov esp, ebp
pop ebp
ret 4