Function at 0x1001a9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006faf5
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10083040]
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 [0x10088030], 0
je 0x1001b708
xorps xmm0, xmm0
mov word [ebp - 0x64], 0x3e
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 0x1001aa31
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10002130
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x1007c090]
mov eax, dword [esi]
mov dword [ebp - 0x7c], eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x41e
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 0x1001aa70
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 0x1001aaa0
sub edx, edi
lea eax, [ebp - 0x23]
push edx
push eax
call fcn.10002130
mov ecx, dword [ebp - 0x7c]
call fcn.100110a0
add esp, 0x18
mov dword [ebp - 0x80], eax
test eax, eax
je case.default.0x1001b169
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call edi
test eax, eax
jne case.default.0x1001b169
mov ecx, dword [ebp - 0x80]
call fcn.100112d0
lea ecx, [ebp - 0x60]
cmp ecx, eax
je 0x1001ab00
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001aaf6
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10001e50
cmp dword [ebp - 0x4c], 0xf
lea eax, [ebp - 0x60]
cmova eax, dword [ebp - 0x60]
push eax
call fcn.10059798
add esp, 4
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x1001ab91
mov edx, 0x1006
lea ecx, [ebp - 0x28]
call fcn.1000aee0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 1
call fcn.100113d0
test eax, eax
je 0x1001ab57
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1001ab57
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x28]
push eax
call dword [0x1007ac08]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe case.default.0x1001b169
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ab85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b725
push ecx
push edx
call fcn.1004d526
jmp 0x1001b6d5
mov eax, dword [ebp + 8]
movzx eax, al
add eax, 0xfffffffb
mov dword [ebp - 0x7c], eax
cmp eax, 3
ja case.default.0x1001ad15
jmp dword [eax*4 + 0x1001b72c]
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x64], eax
je 0x1001abfe
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001abfb
push 4
push eax
call edi
test eax, eax
jne 0x1001abfb
mov eax, dword [ebp - 0x68]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1001abfb
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1001abfe
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 0x38]
sub eax, 1
je 0x1001acb6
sub eax, 1
jne case.default.0x1001ad15
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x64], eax
je 0x1001ac67
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001ac64
push 4
push eax
call edi
test eax, eax
jne 0x1001ac64
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1001ac64
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001ac67
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + 0x3e]
add eax, 0xffffff37
cmp eax, 3
ja case.default.0x1001ad15
jmp dword [eax*4 + 0x1001b73c]
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.1000aee0
mov byte [ebp - 4], 3
mov ecx, 0x10b81f8
call fcn.100113d0
test eax, eax
je 0x1001ab57
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1001ab57
jmp 0x1001ab44
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x64], eax
je 0x1001ad09
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001ad06
push 4
push eax
call edi
test eax, eax
jne 0x1001ad06
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1001ad06
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001ad09
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + 0x3e]
add eax, 0xffffff9b
cmp eax, 3
ja case.default.0x1001ad15
jmp dword [eax*4 + 0x1001b74c]
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.1000aee0
mov byte [ebp - 4], 2
jmp 0x1001ac91
mov ecx, dword [ebp + 8]
cmp cl, 8
jne 0x1001aea7
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x64], eax
je 0x1001ad8f
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001ad8c
push 4
push eax
call edi
test eax, eax
jne 0x1001ad8c
mov eax, dword [ebp - 0x68]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1001ad8c
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1001ad8f
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 0x38]
sub eax, 1
je 0x1001ae27
sub eax, 1
jne 0x1001b003
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x64], eax
je 0x1001adf8
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001adf5
push 4
push eax
call edi
test eax, eax
jne 0x1001adf5
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1001adf5
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001adf8
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + 0x3e]
sub eax, 0xcf
je 0x1001ae11
sub eax, 2
je 0x1001ae11
sub eax, 2
jne 0x1001b003
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.1000aee0
mov byte [ebp - 4], 5
jmp 0x1001ac91
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x64], eax
je 0x1001ae7a
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001ae77
push 4
push eax
call edi
test eax, eax
jne 0x1001ae77
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1001ae77
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001ae7a
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + 0x3e]
sub eax, 0x6b
je 0x1001ae91
sub eax, 2
je 0x1001ae91
sub eax, 2
jne 0x1001b003
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.1000aee0
mov byte [ebp - 4], 4
jmp 0x1001ac91
cmp cl, 7
jne 0x1001b003
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x64], eax
je 0x1001af01
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001aefe
push 4
push eax
call edi
test eax, eax
jne 0x1001aefe
mov eax, dword [ebp - 0x68]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1001aefe
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1001af01
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 0x38]
sub eax, 1
je 0x1001af8f
sub eax, 1
jne 0x1001b15d
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x64], eax
je 0x1001af6a
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001af67
push 4
push eax
call edi
test eax, eax
jne 0x1001af67
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1001af67
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001af6a
mov eax, dword [ebp - 0x64]
mov ecx, 0xcd
cmp word [eax + 0x3e], cx
jne 0x1001b15d
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.1000aee0
mov byte [ebp - 4], 7
jmp 0x1001ac91
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x64], eax
je 0x1001afe2
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001afdf
push 4
push eax
call edi
test eax, eax
jne 0x1001afdf
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1001afdf
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001afe2
mov eax, dword [ebp - 0x64]
cmp word [eax + 0x3e], 0x69
jne 0x1001b15d
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.1000aee0
mov byte [ebp - 4], 6
jmp 0x1001ac91
mov eax, dword [ebp + 8]
cmp al, 6
jne 0x1001b15d
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x64], eax
je 0x1001b05f
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001b05c
push 4
push eax
call edi
test eax, eax
jne 0x1001b05c
mov eax, dword [ebp - 0x68]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1001b05c
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1001b05f
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 0x38]
sub eax, 1
je 0x1001b0ed
sub eax, 1
jne 0x1001b15d
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x64], eax
je 0x1001b0c8
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001b0c5
push 4
push eax
call edi
test eax, eax
jne 0x1001b0c5
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1001b0c5
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001b0c8
mov eax, dword [ebp - 0x64]
mov ecx, 0xcf
cmp word [eax + 0x3e], cx
jne 0x1001b15d
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.1000aee0
mov byte [ebp - 4], 9
jmp 0x1001ac91
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x64], eax
je 0x1001b140
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001b13d
push 4
push eax
call edi
test eax, eax
jne 0x1001b13d
mov eax, dword [ebp - 0x68]
add eax, 0x6e4
push 4
push eax
mov dword [ebp - 0x68], eax
call edi
test eax, eax
jne 0x1001b13d
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ax, word [eax]
mov word [ecx + 0x3e], ax
mov eax, ecx
jmp 0x1001b140
mov eax, dword [ebp - 0x64]
cmp word [eax + 0x3e], 0x6b
jne 0x1001b15d
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.1000aee0
mov byte [ebp - 4], 8
jmp 0x1001ac91
mov eax, dword [ebp - 0x7c]
cmp eax, 3
ja case.default.0x1001b169
jmp dword [eax*4 + 0x1001b75c]
mov esi, dword [esi]
mov al, 0x2d
mov byte [ebp - 0x1c], 0x5e
mov cl, 0x2a
xor al, byte [ebp - 0x1c]
mov dl, 0x2c
xor cl, byte [ebp - 0x1c]
mov ah, 0x37
mov byte [ebp - 0x1b], al
mov ch, 0x30
mov byte [ebp - 0x1a], cl
mov dh, 0x39
mov cl, byte [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 0x69], 1
xor dl, cl
mov al, byte [ebp - 0x69]
xor ah, cl
xor al, cl
mov byte [ebp - 0x61], 0x6a
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
mov al, byte [edx]
inc edx
test al, al
jne 0x1001b1e7
sub edx, dword [ebp - 0x68]
push edx
lea eax, [ebp - 0x1b]
push eax
call fcn.10002130
mov ecx, esi
call fcn.100110a0
mov esi, eax
mov dword [ebp - 0x68], esi
jmp 0x1001b3b6
mov esi, dword [esi]
mov al, 0x15
mov byte [ebp - 0x1c], 0x66
mov cl, 0x12
xor al, byte [ebp - 0x1c]
mov dl, 0x14
xor cl, byte [ebp - 0x1c]
mov ah, 0xf
mov byte [ebp - 0x1b], al
mov ch, 8
mov byte [ebp - 0x1a], cl
mov dh, 1
mov cl, byte [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 0x61], 0x39
xor dl, cl
mov al, byte [ebp - 0x61]
xor ah, cl
xor al, cl
mov byte [ebp - 0x69], 0x53
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 0x1001b283
sub edx, dword [ebp - 0x68]
jmp 0x1001b1f1
mov esi, dword [esi]
mov al, 0x79
mov byte [ebp - 0x1c], 0xa
mov cl, 0x7e
xor al, byte [ebp - 0x1c]
mov dl, 0x78
xor cl, byte [ebp - 0x1c]
mov ah, 0x63
mov byte [ebp - 0x1b], al
mov ch, 0x64
mov byte [ebp - 0x1a], cl
mov dh, 0x6d
mov cl, byte [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 0x61], 0x55
xor dl, cl
mov al, byte [ebp - 0x61]
xor ah, cl
xor al, cl
mov byte [ebp - 0x69], 0x3c
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 0x1001b310
sub edx, dword [ebp - 0x68]
jmp 0x1001b1f1
mov esi, dword [esi]
mov al, 0x48
mov byte [ebp - 0x1c], 0x3b
mov cl, 0x4f
xor al, byte [ebp - 0x1c]
mov dl, 0x49
xor cl, byte [ebp - 0x1c]
mov ah, 0x52
mov byte [ebp - 0x1b], al
mov ch, 0x55
mov byte [ebp - 0x1a], cl
mov dh, 0x5c
mov cl, byte [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 0x61], 0x64
xor dl, cl
mov al, byte [ebp - 0x61]
xor ah, cl
xor al, cl
mov byte [ebp - 0x69], 0xc
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 0x1001b396
sub edx, dword [ebp - 0x68]
lea eax, [ebp - 0x1b]
push edx
push eax
call fcn.10002130
mov ecx, esi
call fcn.100110a0
mov esi, eax
mov dword [ebp - 0x68], eax
add esp, 0x18
test esi, esi
je case.default.0x1001b169
push 4
push esi
call edi
test eax, eax
jne case.default.0x1001b169
mov ecx, esi
call fcn.100112d0
lea ecx, [ebp - 0x60]
cmp ecx, eax
je 0x1001b3f1
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001b3e7
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10001e50
cmp dword [ebp - 0x4c], 0xf
lea eax, [ebp - 0x60]
cmova eax, dword [ebp - 0x60]
push eax
call fcn.10059798
mov esi, eax
add esp, 4
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x64], eax
je 0x1001b45b
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1001b458
push 4
push eax
call edi
test eax, eax
jne 0x1001b458
mov eax, dword [ebp - 0x2c]
add eax, 0x6e8
push 4
push eax
mov dword [ebp - 0x2c], eax
call edi
test eax, eax
jne 0x1001b458
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x64]
mov al, byte [eax]
mov byte [ecx + 0x3c], al
mov eax, ecx
jmp 0x1001b45b
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 0x3c]
cmp esi, eax
jl 0x1001b479
mov edx, 0x1131
lea ecx, [ebp - 0x28]
call fcn.1000aee0
mov byte [ebp - 4], 0xa
jmp 0x1001ac91
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.1000ac00
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 0x1001b533
mov ecx, dword [ebp - 0x3c]
inc ecx
cmp eax, ecx
jae 0x1001b529
mov eax, dword [ebp - 0x30]
sub eax, edx
cmp ecx, eax
jbe 0x1001b50b
push ecx
push ecx
lea ecx, [ebp - 0x38]
call fcn.1000add0
jmp 0x1001b526
sub ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x34]
push ecx
push 0
push eax
lea esi, [ecx + eax]
call fcn.1004f640
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.1000ab30
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 0x1001b56e
mov ecx, dword ds:[0x1007abcc]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x70]
push dword [ebp - 0x2c]
call dword [0x1007abc8]
dec dword [ebp - 0x78]
push 4
push dword [ebp - 0x80]
call edi
test eax, eax
jne 0x1001b588
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
call dword [0x1007acc0]
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 0x1001b63a
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x1001b5cb
push 4
push eax
call edi
test eax, eax
jne 0x1001b5c8
mov ecx, dword [ebp - 0x70]
mov dl, 2
add ecx, 0xb8
call fcn.10011330
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x1001b5ee
push 4
push eax
call edi
test eax, eax
jne 0x1001b5ee
mov ecx, dword [ebp - 0x70]
mov dl, 2
add ecx, 0xb8
call fcn.10011330
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x1001b614
push 4
push eax
call edi
test eax, eax
jne 0x1001b614
mov ecx, dword [ebp - 0x70]
mov dl, 2
add ecx, 0xb8
call fcn.10011330
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x1001b63a
push 4
push eax
call edi
test eax, eax
jne 0x1001b63a
mov ecx, dword [ebp - 0x70]
mov dl, 2
add ecx, 0xb8
call fcn.10011330
push 4
push dword [ebp - 0x68]
inc esi
call edi
test eax, eax
jne 0x1001b650
mov ecx, dword [ebp - 0x68]
push esi
call dword [0x1007acc0]
mov eax, dword [ebp - 0x7c]
jmp dword [eax*4 + 0x1001b76c]
add esp, 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1001b708
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b6fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b725
push ecx
push edx
call fcn.1004d526
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add byte [eax], al
add byte [ecx + 0x5f], bl
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d4c5
mov esp, ebp
pop ebp
ret 4
call fcn.100527f4
nop
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add dword [eax], edx
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add dword [eax], edx
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add dword [eax], edx
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add dword [eax], edx
sub byte [ecx + eax + 0x1ac8010], 0x10
sub byte [ecx + eax + 28082192], 0x10
sbb al, 173
add dword [eax], edx
sbb al, 0xad
add dword [eax], edx
sbb al, 0xad
add dword [eax], edx
sbb al, 0xad
add dword [eax], edx
jo 0x1001b70f
add dword [eax], edx
or al, 0xb2
add dword [eax], edx
xchg edx, eax
mov dl, 1
adc byte [edi], bl
mov bl, 1
adc byte [edx - 0x4a], bl
add dword [eax], edx
mov dh, 1
adc byte [esi + esi*4 + 1], dh
adc byte [ecx - 0x33effe4a], al
int3