Function at 0x10049ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068640
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
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 - 0xe0], esi
cmp dword [ebp + 8], 0
mov eax, dword [esi]
mov dword [0x1007fb6c], eax
je 0x1004bb48
cmp dword [ebp + 0xc], 1
jne 0x1004bb48
mov ecx, 0x10b8218
mov byte [ebp - 0xd4], 0
call fcn.10013040
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10049b6e
push 4
push eax
call edi
test eax, eax
jne 0x10049b6e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], eax
jmp 0x10049b82
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov eax, dword [esi + 0xdc]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x10049bf6
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x10049bf6
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x10049bf6
mov eax, dword [esi + 0xdc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10049bf6
push 4
push eax
call edi
test eax, eax
jne 0x10049bf6
push dword [ebp - 0xcc]
mov eax, dword [0x100735c4]
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x14]
call eax
mov ecx, dword [ebp - 0xd4]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0xd4], ecx
mov eax, dword [esi + 0x34]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x10049c64
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x10049c64
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x10049c64
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10049c64
push 4
push eax
call edi
test eax, eax
jne 0x10049c64
push dword [ebp - 0xcc]
mov eax, dword [0x100735c4]
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x14]
call eax
mov ecx, dword [ebp - 0xd4]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xd4], cl
mov eax, dword [esi + 0xfc]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x10049cd8
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x10049cd8
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x10049cd8
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10049cd8
push 4
push eax
call edi
test eax, eax
jne 0x10049cd8
push dword [ebp - 0xcc]
mov eax, dword [0x100735c4]
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x14]
call eax
mov ecx, dword [ebp - 0xd4]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xd4], cl
mov eax, dword [esi + 0x1a8]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x10049d4c
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x10049d4c
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x10049d4c
mov eax, dword [esi + 0x1a8]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10049d4c
push 4
push eax
call edi
test eax, eax
jne 0x10049d4c
push dword [ebp - 0xcc]
mov eax, dword [0x100735c4]
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x14]
call eax
mov ecx, dword [ebp - 0xd4]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xd4], cl
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 8]
test eax, eax
je 0x10049d68
cmp ecx, eax
jne 0x10049d68
mov ecx, esi
call fcn.1004d390
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x10049dfe
cmp ecx, eax
jne 0x10049dfe
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
jge 0x1004a803
sub esp, 0x18
mov word [ebp - 0xcc], 0x66
mov edx, esp
mov byte [ebp - 0xcb], 0
lea edi, [eax + 1]
xorps xmm0, xmm0
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0xcb]
mov dword [esi + 0x14], edi
mov dword [ebp - 0xdc], eax
lea eax, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x14], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049dd0
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
push dword [ebp - 0xdc]
mov ecx, esi
push edi
call fcn.1004e830
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x10049e92
cmp ecx, eax
jne 0x10049e92
mov eax, dword [esi + 0x14]
cmp eax, 1
jle 0x1004a803
sub esp, 0x18
mov word [ebp - 0xcc], 0x66
mov edx, esp
mov byte [ebp - 0xcb], 0
lea edi, [eax - 1]
xorps xmm0, xmm0
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0xcb]
mov dword [esi + 0x14], edi
mov dword [ebp - 0xdc], eax
lea eax, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049e64
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
push dword [ebp - 0xdc]
mov ecx, esi
push edi
call fcn.1004e830
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0x78]
test eax, eax
je 0x10049eab
cmp ecx, eax
jne 0x10049eab
mov ecx, esi
call fcn.1004e150
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x1004a857
cmp ecx, eax
jne 0x1004a857
mov ecx, dword [esi + 0xe0]
call fcn.10012d30
push eax
lea ecx, [ebp - 0x80]
call fcn.10004c40
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x80]
mov byte [ebp - 0xc9], 0
test eax, eax
je 0x10049f30
mov esi, dword [ebp - 0x6c]
xor ecx, ecx
cmp esi, 0xf
lea eax, [ebp - 0x80]
cmova eax, edi
movsx eax, byte [eax + ecx]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
add esp, 4
test eax, eax
je 0x10049f27
mov al, byte [ebp - 0xc9]
inc al
movzx ecx, al
mov byte [ebp - 0xc9], al
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x10049ef2
jmp 0x10049f2a
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0xe0]
cmp eax, 4
jne 0x1004a2f2
mov ecx, dword [esi + 0xe4]
call fcn.10012d30
push eax
lea ecx, [ebp - 0x50]
call fcn.10004c40
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0xe8]
call fcn.10012d30
push eax
lea ecx, [ebp - 0x98]
call fcn.10004c40
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xec]
call fcn.10012d30
push eax
lea ecx, [ebp - 0xc8]
call fcn.10004c40
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0xf0]
call fcn.10012d30
push eax
lea ecx, [ebp - 0xb0]
call fcn.10004c40
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x40]
cmp edx, 0x7ffffffb
ja 0x1004bb67
cmp dword [ebp - 0x6c], 0xf
lea ecx, [ebp - 0x80]
push edx
cmova ecx, edi
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0xf
cmova eax, dword [ebp - 0x50]
push eax
push 4
push ecx
push ecx
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x178]
call fcn.1000d540
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x178]
call fcn.10007970
mov dword [ebp - 0x104], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x114], xmm0
mov dword [ebp - 0x100], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x114], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x104], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x114]
call fcn.10007970
mov dword [ebp - 0xec], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xfc], xmm0
mov dword [ebp - 0xe8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xfc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xec], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xfc]
call fcn.10007970
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov byte [ebp - 4], 9
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0xe8]
cmp ecx, 0xf
jbe 0x1004a10b
mov edx, dword [ebp - 0xfc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a101
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a1ab
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0xf
mov byte [ebp - 0xfc], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x100]
cmp ecx, 0xf
jbe 0x1004a160
mov edx, dword [ebp - 0x114]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a156
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a1ab
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0xf
mov byte [ebp - 0x114], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x164]
cmp ecx, 0xf
jbe 0x1004a1bb
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a1b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004a1b1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
cmp dword [ebp - 0x58], 0x14
je 0x1004a4e4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1004a1fd
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a1f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a7f3
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x1004a23b
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a231
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a7f3
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x1004a279
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a26f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a7f3
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1004a2b7
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a2ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a7f3
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004a2ef
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a2e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a7f3
push ecx
push edx
call fcn.100641c5
add esp, 8
mov edi, dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.10064fc0
addss xmm0, dword [0x10074738]
xor ecx, ecx
movss dword [esi + 0x10], xmm0
movaps xmm0, xmmword [str.4d_CQF]
movups xmmword [ebp - 0xf4], xmm0
nop dword [eax]
mov al, byte [ebp - 0xf4]
xor byte [ebp + ecx - 0xf3], al
inc ecx
cmp ecx, 0xe
jb 0x1004a320
xorps xmm0, xmm0
mov byte [ebp - 0xe5], 0
lea ecx, [ebp - 0xf3]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a358
sub ecx, edx
lea eax, [ebp - 0xf3]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100051a0
mov byte [ebp - 4], 0xf
xor ecx, ecx
movaps xmm0, xmmword [0x100752d0]
movups xmmword [ebp - 0x160], xmm0
mov dword [ebp - 0x120], 0x544f484c
movaps xmm0, xmmword [str.YHRUDE]
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x11c], 0xf524455
movaps xmm0, xmmword [0x100753a0]
movups xmmword [ebp - 0x140], xmm0
mov word [ebp - 0x118], 0
movaps xmm0, xmmword [str.UIDS]
movups xmmword [ebp - 0x130], xmm0
nop dword [eax]
mov al, byte [ebp - 0x160]
xor byte [ebp + ecx - 0x15f], al
inc ecx
cmp ecx, 0x48
jb 0x1004a3d0
xorps xmm0, xmm0
mov byte [ebp - 0x117], 0
lea ecx, [ebp - 0x15f]
mov dword [ebp - 0x104], 0
movups xmmword [ebp - 0x114], xmm0
mov dword [ebp - 0x100], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a411
sub ecx, edx
lea eax, [ebp - 0x15f]
push ecx
push eax
lea ecx, [ebp - 0x114]
call fcn.100051a0
push 0
push ecx
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x50]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x114]
push eax
push eax
call dword [0x10073660]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x100]
cmp ecx, 0xf
jbe 0x1004a48d
mov edx, dword [ebp - 0x114]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a483
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a4de
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0xf
mov byte [ebp - 0x114], 0
cmp ecx, 0xf
jbe 0x1004a814
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a80a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004a80a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], vtable.ByteBuffer.0
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x1000
call fcn.1000c6a0
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x1c]
mov eax, edi
mov ecx, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x30], vtable.Packet.0
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xd4], eax
cmp eax, 0x989680
ja 0x1004a5b8
mov edx, dword [ebp - 0x24]
inc edx
cmp eax, edx
jae 0x1004a5a2
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004a581
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.1000c8f0
jmp 0x1004a59f
sub edx, dword [ebp - 0xd4]
push edx
push 0
push edi
lea esi, [edx + edi]
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x1c], esi
add esp, 0xc
mov esi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa1
mov edi, dword [ebp - 0x1c]
inc dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xd0], edi
mov edx, edi
mov byte [ebp - 4], 0xe
sub edx, ecx
cmp edx, 0x989680
ja 0x1004a610
mov edi, dword [ebp - 0x24]
inc edi
cmp edx, edi
jae 0x1004a606
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edi, eax
jbe 0x1004a5e5
push ecx
push edi
lea ecx, [ebp - 0x20]
call fcn.1000c8f0
jmp 0x1004a603
sub edi, edx
push edi
push 0
push dword [ebp - 0xd0]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0xd0]
add esp, 0xc
add eax, edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa4
inc dword [ebp - 0x24]
push 1
lea ecx, [ebp - 0x30]
call fcn.1000c5d0
push 3
mov ecx, eax
call fcn.1000c5d0
cmp dword [ebp - 0x54], 0xf
lea ecx, [ebp - 0x68]
cmova ecx, dword [ebp - 0x68]
push ecx
mov ecx, eax
call fcn.1000c460
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xdc], eax
cmp ecx, 0x4000
ja 0x1004a668
mov ecx, dword ds:[0x1006abc4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x14]
push dword [ebp - 0xdc]
call dword [0x1006abc0]
mov ecx, esi
call fcn.1004e2b0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
test ecx, ecx
je 0x1004a6bf
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1004a6a0
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a7f3
push edx
push ecx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1004a6f3
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a6e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a7f3
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x1004a72d
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a723
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a7f3
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x1004a767
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a75d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a7f3
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1004a79d
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a793
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a7f3
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004a7cd
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a7c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a7f3
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1004a803
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a7f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004a7f9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov al, 1
jmp 0x1004bb4a
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, esi
call fcn.1004e2b0
mov eax, dword [ebp - 0x6c]
cmp eax, 0xf
jbe 0x1004a803
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1004a846
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004a846
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.100641c5
add esp, 8
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x1004a873
cmp ecx, eax
jne 0x1004a873
mov ecx, esi
call fcn.1004e2b0
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0x60]
test eax, eax
je 0x1004a8b8
cmp ecx, eax
jne 0x1004a8b8
mov ecx, dword [ebp - 0xe0]
sub esp, 0x18
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x1c]
mov esi, esp
mov dword [ebp - 0x14], eax
mov ecx, dword [ecx + 0x64]
call fcn.10012d30
push eax
mov ecx, esi
call fcn.10004c40
mov ecx, dword [ebp - 0xe0]
push edi
push dword [ebp - 0x14]
call fcn.1004e830
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1004ab58
cmp ecx, eax
jne 0x1004ab58
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], vtable.ByteBuffer.0
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x1000
call fcn.1000c6a0
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov ecx, dword [ebp - 0x20]
sub edx, ecx
mov dword [ebp - 0x30], vtable.Packet.0
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xd4], edx
cmp edx, 0x989680
ja 0x1004a9b0
mov edx, dword [ebp - 0x24]
inc edx
cmp dword [ebp - 0xd4], edx
jae 0x1004a99a
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004a973
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.1000c8f0
jmp 0x1004a997
sub edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd0]
push edx
push 0
push eax
lea esi, [eax + edx]
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x1c], esi
add esp, 0xc
mov esi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa1
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xd0], eax
sub eax, ecx
mov dword [ebp - 4], 0x13
mov dword [ebp - 0xd4], eax
cmp eax, 0x989680
ja 0x1004aa16
mov edx, dword [ebp - 0x24]
inc edx
cmp eax, edx
jae 0x1004aa0c
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004a9e3
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.1000c8f0
jmp 0x1004aa09
sub edx, dword [ebp - 0xd4]
push edx
push 0
push dword [ebp - 0xd0]
mov dword [ebp - 0x14], edx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, dword [ebp - 0xd0]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa4
inc dword [ebp - 0x24]
push 0xb
lea ecx, [ebp - 0x30]
call fcn.1000c5d0
push 2
mov ecx, eax
call fcn.1000c5d0
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0xdc], ecx
mov ecx, dword [eax + 0x14]
lea edx, [eax + 0x10]
mov dword [ebp - 0xd4], ecx
sub ecx, dword [edx]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xd0], ecx
cmp ecx, 0x989680
ja 0x1004aacc
mov ecx, dword [eax + 0xc]
add ecx, 4
cmp dword [ebp - 0xd0], ecx
jae 0x1004aaae
mov eax, dword [edx + 8]
sub eax, dword [edx]
cmp ecx, eax
jbe 0x1004aa82
push ecx
push ecx
mov ecx, edx
call fcn.1000c8f0
mov edx, dword [ebp - 0xe0]
jmp 0x1004aaae
sub ecx, dword [ebp - 0xd0]
push ecx
push 0
push dword [ebp - 0xd4]
mov dword [ebp - 0x14], ecx
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0xe0]
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xd4]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0xcc]
mov eax, dword [edx]
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ecx + 0xc]
mov dword [ecx + eax], edx
mov eax, dword [ebp - 0xcc]
add dword [eax + 0xc], 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xdc], ecx
cmp eax, 0x4000
ja 0x1004ab00
mov ecx, dword ds:[0x1006abc4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x14]
push dword [ebp - 0xdc]
call dword [0x1006abc0]
mov ecx, dword [ebp - 0x20]
mov esi, dword [esi + 0x34]
test esi, esi
je 0x1004ab1c
push 4
push esi
call edi
test eax, eax
jne 0x1004ab19
push eax
mov ecx, esi
call dword [0x100735d4]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
test ecx, ecx
je 0x1004a803
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1004b2fe
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004b2fe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1004ab8b
cmp ecx, eax
jne 0x1004ab8b
mov esi, dword [esi + 0x34]
test esi, esi
je 0x1004a803
push 4
push esi
call edi
test eax, eax
jne 0x1004a803
push eax
mov ecx, esi
call dword [0x100735d4]
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1004ae4f
cmp ecx, eax
jne 0x1004ae4f
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004abbb
push 4
push eax
call edi
test eax, eax
jne 0x1004abbb
mov ecx, dword [ebp - 0x14]
push eax
call dword [0x100735d4]
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004ad99
push 4
push eax
call edi
test eax, eax
jne 0x1004ad99
mov ecx, 0x10b7b10
call fcn.10013040
cmp dword [ebp - 0x14], eax
jne 0x1004ad99
xorps xmm0, xmm0
mov word [ebp - 0xcc], 0xf
lea ecx, [ebp - 0xcb]
mov byte [ebp - 0xcb], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ac17
sub ecx, edx
lea eax, [ebp - 0xcb]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100051a0
mov dword [ebp - 4], 0x14
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004ac57
push 4
push eax
call edi
test eax, eax
jne 0x1004ac57
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push eax
call dword [0x100735f0]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004ac94
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ac8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004ac8a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov cl, 0xb
mov dword [ebp - 0xf4], 0x6a6e580b
mov dword [ebp - 0xf0], 0x2b636879
xor eax, eax
mov dword [ebp - 0xec], 0x666e7f42
mov byte [ebp - 0xe8], 0
nop dword [eax]
xor byte [ebp + eax - 0xf3], cl
inc eax
cmp eax, 0xb
jae 0x1004acd5
mov cl, byte [ebp - 0xf4]
jmp 0x1004acc0
xorps xmm0, xmm0
mov byte [ebp - 0xe8], 0
lea ecx, [ebp - 0xf3]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ad00
sub ecx, edx
lea eax, [ebp - 0xf3]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100051a0
mov dword [ebp - 4], 0x15
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004ad40
push 4
push eax
call edi
test eax, eax
jne 0x1004ad40
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push eax
call dword [0x10073634]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004ad7d
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ad73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004ad73
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004ad99
push 4
push eax
call edi
test eax, eax
jne 0x1004ad99
mov ecx, dword [ebp - 0x14]
call dword [0x100735f8]
mov eax, dword [esi + 0x34]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004ade2
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004ade2
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x1004ade2
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004ade2
push 4
push eax
call edi
test eax, eax
jne 0x1004ade2
mov ecx, dword [ebp - 0x14]
push eax
call dword [0x100735d4]
mov eax, dword [esi + 0xfc]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004ae31
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004ae31
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x1004ae31
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004ae31
push 4
push eax
call edi
test eax, eax
jne 0x1004ae31
mov ecx, dword [ebp - 0x14]
push eax
call dword [0x100735d4]
push 1
mov ecx, esi
mov dword [esi + 0x188], 1
call fcn.100526c0
mov esi, dword [esi + 0x1c8]
jmp 0x1004afdb
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1004ae6b
cmp ecx, eax
jne 0x1004ae6b
mov ecx, esi
call fcn.10051820
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0x104]
test eax, eax
je 0x1004ae87
cmp ecx, eax
jne 0x1004ae87
mov ecx, esi
call fcn.10051be0
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0x108]
test eax, eax
je 0x1004aec0
cmp ecx, eax
jne 0x1004aec0
mov esi, dword [esi + 0xfc]
test esi, esi
je 0x1004a803
push 4
push esi
call edi
test eax, eax
jne 0x1004a803
push eax
mov ecx, esi
call dword [0x100735d4]
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x1004aedc
cmp ecx, eax
jne 0x1004aedc
mov ecx, esi
call fcn.100515c0
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0x1cc]
test eax, eax
je 0x1004b001
cmp ecx, eax
jne 0x1004b001
mov eax, dword [esi + 0x1c8]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004af12
push 4
push eax
call edi
test eax, eax
jne 0x1004af12
mov ecx, dword [ebp - 0x14]
push eax
call dword [0x100735d4]
mov eax, dword [esi + 0x1a8]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004af4e
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004af4e
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x1004af4e
mov ecx, dword [esi + 0x1a8]
xor dl, dl
call fcn.10012d00
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004af71
push 4
push eax
call edi
test eax, eax
jne 0x1004af71
mov ecx, dword [ebp - 0x14]
mov dl, 3
add ecx, 0xb8
call fcn.10012f70
sub esp, 0x18
mov dword [esi + 0x1c], 0
mov edx, esp
mov dword [esi + 0x14], 1
lea ecx, [ebp - 0xcb]
mov word [ebp - 0xcc], 0x66
xorps xmm0, xmm0
mov byte [ebp - 0xcb], 0
lea eax, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004afb4
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
push 0
push 1
mov ecx, esi
call fcn.1004e830
mov esi, dword [esi + 0x5c]
test esi, esi
je 0x1004a803
push 4
push esi
call edi
test eax, eax
jne 0x1004a803
push 1
mov ecx, esi
call dword [0x100735d4]
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0x1c0]
test eax, eax
je 0x1004b30f
cmp ecx, eax
jne 0x1004b30f
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], vtable.ByteBuffer.0
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x1000
call fcn.1000c6a0
mov dword [ebp - 4], 0x17
mov edi, dword [ebp - 0x1c]
mov eax, edi
mov ecx, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x30], vtable.Packet.0
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xd4], eax
cmp eax, 0x989680
ja 0x1004b0f1
mov edx, dword [ebp - 0x24]
inc edx
cmp eax, edx
jae 0x1004b0db
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004b0ba
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.1000c8f0
jmp 0x1004b0d8
sub edx, dword [ebp - 0xd4]
push edx
push 0
push edi
lea esi, [edi + edx]
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x1c], esi
add esp, 0xc
mov esi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa1
mov edi, dword [ebp - 0x1c]
inc dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xd0], edi
mov edx, edi
mov dword [ebp - 4], 0x18
sub edx, ecx
cmp edx, 0x989680
ja 0x1004b14c
mov edi, dword [ebp - 0x24]
inc edi
cmp edx, edi
jae 0x1004b142
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edi, eax
jbe 0x1004b121
push ecx
push edi
lea ecx, [ebp - 0x20]
call fcn.1000c8f0
jmp 0x1004b13f
sub edi, edx
push edi
push 0
push dword [ebp - 0xd0]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0xd0]
add esp, 0xc
add eax, edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa4
inc dword [ebp - 0x24]
push 0xb
lea ecx, [ebp - 0x30]
call fcn.1000c5d0
push 4
mov ecx, eax
call fcn.1000c5d0
mov ecx, eax
mov eax, dword [esi + 0x190]
mov dword [ebp - 0xdc], eax
mov eax, dword [esi + 0x194]
mov dword [ebp - 0xd8], eax
mov eax, dword [ecx + 0x14]
lea edx, [ecx + 0x10]
mov dword [ebp - 0xcc], eax
lea edi, [ecx + 0xc]
sub eax, dword [edx]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xd4], eax
cmp eax, 0x989680
ja 0x1004b216
mov ecx, dword [edi]
add ecx, 8
cmp eax, ecx
jae 0x1004b1f6
mov eax, dword [edx + 8]
sub eax, dword [edx]
cmp ecx, eax
jbe 0x1004b1ca
push ecx
push ecx
mov ecx, edx
call fcn.1000c8f0
mov edx, dword [ebp - 0xe4]
jmp 0x1004b1f6
sub ecx, dword [ebp - 0xd4]
push ecx
push 0
push dword [ebp - 0xcc]
mov dword [ebp - 0x14], ecx
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0xe4]
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xcc]
mov dword [edx + 4], eax
mov ecx, dword [edx]
mov eax, dword [edi]
mov esi, dword [ebp - 0xdc]
mov dword [ecx + eax], esi
mov esi, dword [ebp - 0xd8]
mov dword [ecx + eax + 4], esi
add dword [edi], 8
mov esi, dword [ebp - 0xe0]
mov eax, dword [esi + 0x198]
mov ecx, dword [edx]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov edx, eax
sub edx, ecx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xd8], ecx
cmp edx, 0x989680
ja 0x1004b2b0
mov ecx, dword [edi]
add ecx, 4
cmp edx, ecx
jae 0x1004b29c
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0xd8]
cmp ecx, eax
jbe 0x1004b26e
push ecx
push ecx
mov ecx, dword [ebp - 0xd0]
lea ecx, [ecx + 0x10]
call fcn.1000c8f0
jmp 0x1004b29c
sub ecx, edx
push ecx
push 0
push dword [ebp - 0xe4]
mov dword [ebp - 0xd8], ecx
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0xd0]
add esp, 0xc
mov eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0xe4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov eax, dword [edi]
mov dword [ecx + eax], edx
add dword [edi], 4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0x14], eax
cmp ecx, 0x4000
ja 0x1004b2e2
mov ecx, dword ds:[0x1006abc4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0xd8]
push dword [ebp - 0x14]
call dword [0x1006abc0]
mov ecx, dword [esi + 0x1a8]
xor dl, dl
call fcn.10012d00
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
jmp 0x1004ab23
push edx
push ecx
call fcn.100641c5
add esp, 8
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x1004b331
cmp ecx, eax
jne 0x1004b331
mov ecx, dword [esi + 0x1a8]
xor dl, dl
call fcn.10012d00
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0x208]
test eax, eax
je 0x1004b367
cmp ecx, eax
jne 0x1004b367
mov eax, dword [esi + 0x188]
cmp eax, dword [esi + 0x18c]
jge 0x1004a803
inc eax
push eax
mov ecx, esi
mov dword [esi + 0x188], eax
call fcn.100526c0
mov al, 1
jmp 0x1004bb4a
mov eax, dword [esi + 0x200]
test eax, eax
je 0x1004b387
cmp ecx, eax
jne 0x1004b387
mov eax, dword [esi + 0x188]
cmp eax, 1
jle 0x1004a803
dec eax
jmp 0x1004b352
xor edi, edi
lea eax, [esi + 0x68]
mov edx, 4
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x14], edx
mov ecx, dword [eax]
test ecx, ecx
je 0x1004b4a5
cmp dword [ebp + 8], ecx
jne 0x1004b4a5
lea eax, [esi + 0x68]
mov dword [ebp - 0xe4], 4
mov dword [ebp - 0xd8], eax
mov esi, eax
mov edi, dword [esi]
test edi, edi
je 0x1004b3e8
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b3e8
lea ecx, [edi + 0xb8]
mov dl, 2
call fcn.10012f70
add esi, 4
sub dword [ebp - 0xe4], 1
jne 0x1004b3c8
mov eax, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xe0]
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x1004b42e
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call edi
test eax, eax
jne 0x1004b42e
mov ecx, dword [ebp - 0xd8]
mov dl, 3
add ecx, 0xb8
call fcn.10012f70
mov edi, dword [ebp - 0xdc]
lea ecx, [ebp - 0xcb]
sub esp, 0x18
mov dword [esi + 0x1c], edi
mov edx, esp
mov dword [esi + 0x14], 1
xorps xmm0, xmm0
mov word [ebp - 0xcc], 0x66
lea eax, [ecx + 1]
mov byte [ebp - 0xcb], 0
mov dword [ebp - 0xd8], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b476
sub ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
push edi
push 1
mov ecx, esi
call fcn.1004e830
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x14]
inc edi
add eax, 4
sub edx, 1
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x14], edx
jne 0x1004b3a0
cmp byte [ebp - 0xd4], 0
jne 0x1004a803
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0xc4]
sub eax, ecx
sar eax, 6
mov dword [ebp - 0xd4], 0
test eax, eax
je 0x1004b89a
xor edi, edi
mov edx, ecx
mov dword [ebp - 0xd0], edi
mov eax, dword [edi + ecx + 0x2c]
movaps xmm1, xmmword [str._C_I]
test eax, eax
je 0x1004b616
cmp dword [ebp + 8], eax
jne 0x1004b616
mov eax, dword [edi + ecx]
mov dword [esi + 0x20], eax
mov dword [ebp - 0xd8], eax
mov eax, dword [edx + edi + 4]
xor edi, edi
mov dword [esi + 0x24], eax
mov edx, dword [esi + 0xd0]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xd4]
sub eax, edx
sar eax, 6
test eax, eax
je 0x1004b608
lea ecx, [edx + 0x1c]
nop dword [eax + eax]
mov eax, dword [ebp - 0xd8]
cmp dword [ecx - 4], eax
jne 0x1004b562
mov eax, dword [ecx]
cmp eax, dword [esi + 0x24]
je 0x1004b57a
mov eax, dword [esi + 0xd4]
inc edi
sub eax, edx
add ecx, 0x40
sar eax, 6
cmp edi, eax
jb 0x1004b550
jmp 0x1004b608
mov eax, dword [ebp - 0x14]
dec eax
cmp eax, 0x5f5e0fe
ja 0x1004b5ea
mov eax, edi
lea ecx, [edx + 0x30]
shl eax, 6
lea edx, [esi + 0x50]
add ecx, eax
mov dword [ebp - 0xd8], eax
cmp edx, ecx
je 0x1004b5b6
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
lea ecx, [esi + 0x50]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.10010fb0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [esi + 0xd0]
add ecx, eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004b5ea
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b5ea
push dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x14]
call dword [0x10073638]
mov ecx, dword [esi + 0xd0]
shl edi, 6
mov eax, dword [edi + ecx + 0x24]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + ecx + 0x28]
mov dword [esi + 0x30], eax
mov eax, dword [edi + ecx + 0x20]
mov dword [esi + 0x28], eax
mov ecx, esi
call fcn.1004fd70
movaps xmm1, xmmword [str._C_I]
mov edi, dword [esi + 0xc4]
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + edi + 0x30]
test eax, eax
je 0x1004b866
cmp dword [ebp + 8], eax
jne 0x1004b866
mov eax, dword [esi + 0xd4]
xor edx, edx
mov ecx, dword [esi + 0xd0]
sub eax, ecx
sar eax, 6
test eax, eax
je 0x1004b866
add ecx, 0x1c
mov eax, dword [ebp - 0xd0]
cmp dword [eax + edi + 4], 0
jbe 0x1004b66c
cmp dword [eax + edi + 4], 0x5f5e100
jb 0x1004b6b2
mov esi, dword [ecx - 4]
cmp esi, dword [eax + edi]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0xe0]
jne 0x1004b695
mov esi, dword [ecx]
cmp esi, dword [eax + edi + 4]
mov dword [ebp - 0xd8], esi
mov esi, dword [ebp - 0xe0]
je 0x1004b845
mov eax, dword [esi + 0xd4]
inc edx
sub eax, dword [esi + 0xd0]
add ecx, 0x40
sar eax, 6
cmp edx, eax
jae 0x1004b866
jmp 0x1004b655
movups xmmword [ebp - 0xf4], xmm1
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp - 0xf4]
xor byte [ebp + ecx - 0xf3], al
inc ecx
cmp ecx, 0xe
jb 0x1004b6c0
xorps xmm0, xmm0
mov byte [ebp - 0xe5], 0
lea ecx, [ebp - 0xf3]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b6f8
sub ecx, edx
lea eax, [ebp - 0xf3]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100051a0
mov dword [ebp - 4], 0x19
xor ecx, ecx
movaps xmm0, xmmword [0x10075170]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x18], 0x7b742e
movaps xmm0, xmmword [0x10074f50]
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x22
jb 0x1004b737
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x37]
mov dword [ebp - 0x104], 0
movups xmmword [ebp - 0x114], xmm0
mov dword [ebp - 0x100], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b770
sub ecx, edx
lea eax, [ebp - 0x37]
push ecx
push eax
lea ecx, [ebp - 0x114]
call fcn.100051a0
push 0
push ecx
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x50]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x114]
push eax
push eax
call dword [0x10073660]
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x100]
cmp ecx, 0xf
jbe 0x1004b7ed
mov edx, dword [ebp - 0x114]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004b7e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a1ab
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0xf
mov byte [ebp - 0x114], 0
cmp ecx, 0xf
jbe 0x1004b866
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004b839
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a1ab
push ecx
push edx
call fcn.100641c5
add esp, 8
jmp 0x1004b866
mov eax, dword [esi + 0xd0]
mov ecx, esi
shl edx, 6
push dword [edx + eax + 0x28]
push dword [edx + eax + 0x24]
push dword [ebp - 0xd8]
push dword [ebp - 0x14]
call fcn.10050eb0
mov ecx, dword [esi + 0xc4]
mov edx, ecx
mov eax, dword [esi + 0xc8]
mov edi, dword [ebp - 0xd0]
sub eax, ecx
inc dword [ebp - 0xd4]
add edi, 0x40
sar eax, 6
mov dword [ebp - 0xd0], edi
cmp dword [ebp - 0xd4], eax
jb 0x1004b4fb
mov edi, dword [esi + 0x20c]
xor ecx, ecx
mov dword [ebp - 0xcc], ecx
mov eax, 0x66666667
mov ecx, dword [esi + 0x210]
sub ecx, edi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1004a803
xor ecx, ecx
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd0], ecx
nop word [eax + eax]
mov eax, dword [ecx + edi + 0x10]
test eax, eax
je 0x1004bafd
cmp dword [ebp + 8], eax
jne 0x1004bafd
mov eax, dword [ecx + edi + 0x1c]
xor edx, edx
mov dword [esi + 0x198], eax
mov eax, dword [esi + 0x21c]
mov edi, dword [esi + 0x218]
sub eax, edi
sar eax, 5
test eax, eax
je 0x1004baf0
xor ecx, ecx
nop dword [eax]
mov eax, dword [edi + ecx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + ecx + 0x1c]
mov edi, dword [ebp - 0xd0]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd4]
mov esi, dword [eax + edi + 0x20]
cmp dword [ebp - 0x14], esi
mov esi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xdc]
mov edi, dword [esi + 0x218]
jne 0x1004b981
mov edi, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xd4]
cmp eax, dword [esi + edi + 0x24]
mov esi, dword [ebp - 0xe0]
mov edi, dword [esi + 0x218]
jne 0x1004b981
mov eax, dword [ecx + edi]
cmp eax, dword [esi + 0x198]
je 0x1004b999
mov eax, dword [esi + 0x21c]
inc edx
sub eax, edi
add ecx, 0x20
sar eax, 5
cmp edx, eax
jb 0x1004b920
jmp 0x1004baf0
mov eax, dword [ebp - 0x14]
mov ecx, edi
shl edx, 5
mov dword [esi + 0x190], eax
mov eax, dword [ebp - 0xdc]
mov dword [esi + 0x194], eax
mov eax, dword [edx + ecx + 8]
mov dword [esi + 0x1a0], eax
mov eax, dword [edx + ecx + 0xc]
mov dword [esi + 0x1a4], eax
mov eax, dword [edx + ecx + 4]
mov dword [esi + 0x19c], eax
mov edx, dword [edx + ecx + 0x10]
lea ecx, [ebp - 0x98]
call fcn.1000d310
mov edx, eax
mov dword [ebp - 4], 0x1b
cmp dword [edx + 0x14], 0xf
jbe 0x1004b9f1
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ba10
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.100051a0
mov byte [ebp - 4], 0x1c
mov edi, dword [esi + 0x1b0]
test edi, edi
je 0x1004ba4a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ba4a
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call dword [0x10073638]
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1004ba82
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ba78
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a1ab
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x1004bad5
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004bacb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a1ab
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov ecx, esi
call fcn.10053280
mov ecx, dword [ebp - 0xd0]
mov edi, dword [esi + 0x20c]
add ecx, 0x28
inc dword [ebp - 0xcc]
mov eax, 0x66666667
mov dword [ebp - 0xd0], ecx
mov ecx, dword [esi + 0x210]
sub ecx, edi
mov dword [ebp - 0xd4], edi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xcc], eax
jae 0x1004a803
mov ecx, dword [ebp - 0xd0]
jmp 0x1004b8e0
xor al, al
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 8
call fcn.10005030
int3