Function at 0x10030d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043a88
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
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 - 0xe0], edi
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [0x100535dc], eax
test esi, esi
je 0x1003200c
cmp dword [ebp + 0xc], 1
jne 0x1003200c
mov ecx, 0x10b8218
mov byte [ebp - 0xd8], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xd4], 0
call fcn.1000f090
mov ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0xcc], ecx
test ecx, ecx
je 0x10030dbd
push 4
push ecx
call eax
test eax, eax
jne 0x10030db8
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0xd4], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0xc8], ecx
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov ecx, dword [edi + 0xdc]
push 4
push ecx
mov dword [ebp - 0xcc], ecx
call eax
test eax, eax
jne 0x10030e4a
mov eax, dword [ebp - 0xcc]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030e4a
mov eax, dword [ebp - 0xcc]
mov al, byte [eax]
test al, al
je 0x10030e4a
mov eax, dword [edi + 0xdc]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x10030e4a
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030e4a
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
push dword [ebp - 0xd4]
call dword [0x10049fd4]
mov ecx, dword [ebp - 0xd8]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0xd8], ecx
mov eax, dword [edi + 0x34]
push 4
push eax
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030ed5
mov eax, dword [ebp - 0xcc]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030ed5
mov eax, dword [ebp - 0xcc]
mov al, byte [eax]
test al, al
je 0x10030ed5
mov eax, dword [edi + 0x34]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x10030ed5
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030ed5
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
push dword [ebp - 0xd4]
call dword [0x10049fd4]
mov ecx, dword [ebp - 0xd8]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xd8], cl
mov eax, dword [edi + 0xfc]
push 4
push eax
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030f66
mov eax, dword [ebp - 0xcc]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030f66
mov eax, dword [ebp - 0xcc]
mov al, byte [eax]
test al, al
je 0x10030f66
mov eax, dword [edi + 0xfc]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x10030f66
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030f66
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
push dword [ebp - 0xd4]
call dword [0x10049fd4]
mov ecx, dword [ebp - 0xd8]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xd8], cl
mov eax, dword [edi + 0x1a8]
push 4
push eax
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030ff7
mov eax, dword [ebp - 0xcc]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030ff7
mov eax, dword [ebp - 0xcc]
mov al, byte [eax]
test al, al
je 0x10030ff7
mov eax, dword [edi + 0x1a8]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x10030ff7
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030ff7
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
push dword [ebp - 0xd4]
call dword [0x10049fd4]
mov ecx, dword [ebp - 0xd8]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xd8], cl
mov eax, dword [edi + 4]
test eax, eax
je 0x10031010
cmp esi, eax
jne 0x10031010
mov ecx, edi
call fcn.10032fc0
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x1003102d
cmp esi, eax
jne 0x1003102d
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x18]
jge 0x10032008
inc eax
jmp 0x10031048
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x10031080
cmp esi, eax
jne 0x10031080
mov eax, dword [edi + 0x14]
cmp eax, 1
jle 0x10032008
dec eax
sub esp, 0x18
mov dword [edi + 0x14], eax
lea eax, [ebp - 0xc7]
mov word [ebp - 0xc8], 0x13
mov ecx, esp
mov byte [ebp - 0xc7], 0
push eax
call fcn.10004560
push dword [edi + 0x1c]
mov ecx, edi
push dword [edi + 0x14]
call fcn.10033900
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0x78]
test eax, eax
je 0x10031099
cmp esi, eax
jne 0x10031099
mov ecx, edi
call fcn.10033360
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x1003150a
cmp esi, eax
jne 0x1003150a
mov ecx, dword [edi + 0xe0]
call fcn.1000eb40
push eax
lea ecx, [ebp - 0x94]
call fcn.10008800
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x84]
mov byte [ebp - 0xc5], 0
test eax, eax
je 0x10031128
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
xor ecx, ecx
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
movsx eax, byte [eax + ecx]
push eax
call esi
add esp, 4
test eax, eax
je 0x10031122
mov al, byte [ebp - 0xc5]
inc al
movzx ecx, al
mov byte [ebp - 0xc5], al
mov eax, dword [ebp - 0x84]
cmp ecx, eax
jb 0x100310e6
jmp 0x10031128
mov eax, dword [ebp - 0x84]
cmp eax, 4
jne 0x100312b8
mov ecx, dword [edi + 0xe4]
call fcn.1000eb40
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
call fcn.10004f90
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0xe8]
call fcn.1000eb40
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
call fcn.10004f90
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0xec]
call fcn.1000eb40
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
call fcn.10004f90
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0xf0]
call fcn.1000eb40
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
call fcn.10004f90
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0x148]
call fcn.100098d0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x178]
call fcn.10037960
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x160]
call fcn.10037960
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.10037960
add esp, 0x10
lea ecx, [ebp - 0x160]
call fcn.100044a0
lea ecx, [ebp - 0x178]
call fcn.100044a0
lea ecx, [ebp - 0x148]
call fcn.100044a0
cmp dword [ebp - 0x3c], 0x14
je 0x100313d9
lea ecx, [ebp - 0x4c]
call fcn.100044a0
lea ecx, [ebp - 0xc4]
call fcn.100044a0
lea ecx, [ebp - 0xac]
call fcn.100044a0
lea ecx, [ebp - 0x7c]
call fcn.100044a0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.100044a0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.10041520
cvtsd2ss xmm0, xmm0
xor ecx, ecx
addss xmm0, dword [0x1004a214]
movss dword [edi + 0x10], xmm0
movaps xmm0, xmmword [0x1004a220]
movups xmmword [ebp - 0x44], xmm0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0xe
jb 0x100312e3
lea eax, [ebp - 0x43]
mov byte [ebp - 0x35], 0
push eax
lea ecx, [ebp - 0x7c]
call fcn.10004560
mov byte [ebp - 4], 0xf
xor ecx, ecx
movaps xmm0, xmmword [0x1004a9a0]
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0xf0], 0x2b303733
movaps xmm0, xmmword [0x1004aea0]
movups xmmword [ebp - 0x120], xmm0
mov dword [ebp - 0xec], 0x702d3b2a
movaps xmm0, xmmword [0x1004a8e0]
movups xmmword [ebp - 0x110], xmm0
mov word [ebp - 0xe8], 0x7f
movaps xmm0, xmmword [0x1004af50]
movups xmmword [ebp - 0x100], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0x130]
xor byte [ebp + ecx - 0x12f], al
inc ecx
cmp ecx, 0x48
jb 0x10031360
lea eax, [ebp - 0x12f]
mov byte [ebp - 0xe7], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.10004560
push 0
push ecx
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x7c]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x64]
push eax
push eax
call dword [0x1004a06c]
lea ecx, [ebp - 0x64]
call fcn.100044a0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0
call fcn.100044a0
mov ecx, edi
call fcn.100334c0
lea ecx, [ebp - 0x94]
call fcn.100044a0
mov al, 1
jmp 0x1003200e
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0xc5], 0xa1
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], 0xc
call fcn.10008c90
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 0x2c], vtable.Packet.0
cmp eax, 0x989680
ja 0x10031471
mov ecx, dword [ebp - 0x20]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10031465
push esi
lea ecx, [ebp - 0x1c]
call fcn.10008e30
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0xc5]
mov byte [edx + ecx], al
inc dword [ebp - 0x20]
push 3
push 1
push 0xa4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.10008bf0
mov ecx, eax
call fcn.10008bf0
mov ecx, eax
call fcn.10008bf0
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.10008b20
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
call fcn.1000f1a0
mov ecx, edi
call fcn.100334c0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.10008dc0
lea ecx, [ebp - 0x4c]
call fcn.100044a0
lea ecx, [ebp - 0xc4]
call fcn.100044a0
lea ecx, [ebp - 0xac]
call fcn.100044a0
lea ecx, [ebp - 0x7c]
call fcn.100044a0
lea ecx, [ebp - 0x64]
call fcn.100044a0
lea ecx, [ebp - 0x94]
call fcn.100044a0
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x10031526
cmp esi, eax
jne 0x10031526
mov ecx, edi
call fcn.100334c0
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0x60]
test eax, eax
je 0x10031558
cmp esi, eax
jne 0x10031558
mov ecx, dword [edi + 0x64]
call fcn.1000eb40
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10008800
push dword [edi + 0x1c]
mov ecx, edi
push dword [edi + 0x14]
call fcn.10033900
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0x48]
test eax, eax
je 0x10031666
cmp esi, eax
jne 0x10031666
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0xc5], 0xa1
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 dword [ebp - 4], 0x11
call fcn.10008c90
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 0x2c], vtable.Packet.0
cmp eax, 0x989680
ja 0x10031609
mov ecx, dword [ebp - 0x20]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x100315fd
push esi
lea ecx, [ebp - 0x1c]
call fcn.10008e30
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0xc5]
mov byte [edx + ecx], al
inc dword [ebp - 0x20]
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x2c]
push dword [edi + 0x20]
push 2
push 0xb
push 0xa4
call fcn.10008bf0
mov ecx, eax
call fcn.10008bf0
mov ecx, eax
call fcn.10008bf0
mov ecx, eax
call fcn.100121d0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
call fcn.1000f1a0
mov ecx, dword [edi + 0x34]
xor dl, dl
call fcn.1000ea50
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.10008dc0
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x10031682
cmp esi, eax
jne 0x10031682
mov ecx, dword [edi + 0x34]
xor dl, dl
call fcn.1000ea50
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x100317b1
cmp esi, eax
jne 0x100317b1
mov ecx, dword [edi + 0x5c]
xor dl, dl
call fcn.1000ea50
mov ecx, dword [edi + 0x64]
call fcn.1000ec90
test al, al
je 0x10031758
lea eax, [ebp - 0xc7]
mov word [ebp - 0xc8], 0x24
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 0xc7], 0
call fcn.10004560
mov dword [ebp - 4], 0x14
lea edx, [ebp - 0x64]
mov ecx, dword [edi + 0x64]
call fcn.1000ebf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.100044a0
mov cl, 0x5c
mov dword [ebp - 0x44], 0x3d390f5c
mov dword [ebp - 0x40], 0x7c343f2e
xor eax, eax
mov dword [ebp - 0x3c], 0x31392815
mov byte [ebp - 0x38], 0
nop dword [eax]
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0xb
jae 0x1003171f
mov cl, byte [ebp - 0x44]
jmp 0x10031710
lea eax, [ebp - 0x43]
mov byte [ebp - 0x38], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.10004560
mov dword [ebp - 4], 0x15
lea edx, [ebp - 0x64]
mov ecx, dword [edi + 0x64]
call fcn.1000eeb0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.100044a0
mov ecx, dword [edi + 0x64]
call fcn.1000ec70
mov ecx, dword [edi + 0x34]
call fcn.1000eb10
test al, al
je 0x1003176e
mov ecx, dword [edi + 0x34]
xor dl, dl
call fcn.1000ea50
mov ecx, dword [edi + 0xfc]
call fcn.1000eb10
test al, al
je 0x1003178a
mov ecx, dword [edi + 0xfc]
xor dl, dl
call fcn.1000ea50
push 1
mov ecx, edi
mov dword [edi + 0x188], 1
call fcn.10036300
mov ecx, dword [edi + 0x1c8]
mov dl, 1
call fcn.1000ea50
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x100317cd
cmp esi, eax
jne 0x100317cd
mov ecx, edi
call fcn.10035740
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0x104]
test eax, eax
je 0x100317e9
cmp esi, eax
jne 0x100317e9
mov ecx, edi
call fcn.10035aa0
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0x108]
test eax, eax
je 0x1003180b
cmp esi, eax
jne 0x1003180b
mov ecx, dword [edi + 0xfc]
xor dl, dl
call fcn.1000ea50
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x10031827
cmp esi, eax
jne 0x10031827
mov ecx, edi
call fcn.10035570
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0x1cc]
test eax, eax
je 0x100318bb
cmp esi, eax
jne 0x100318bb
mov ecx, dword [edi + 0x1c8]
xor dl, dl
call fcn.1000ea50
mov ecx, dword [edi + 0x1a8]
call fcn.1000eb10
test al, al
je 0x10031866
mov ecx, dword [edi + 0x1a8]
xor dl, dl
call fcn.1000ea50
mov ecx, dword [edi + 0x68]
mov dl, 3
call fcn.1000eab0
sub esp, 0x18
mov word [ebp - 0xc8], 0x13
lea eax, [ebp - 0xc7]
mov dword [edi + 0x1c], 0
mov ecx, esp
mov dword [edi + 0x14], 1
mov byte [ebp - 0xc7], 0
push eax
call fcn.10004560
push 0
push 1
mov ecx, edi
call fcn.10033900
mov ecx, dword [edi + 0x5c]
mov dl, 1
call fcn.1000ea50
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0x1c0]
test eax, eax
je 0x100319e5
cmp esi, eax
jne 0x100319e5
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0xc5], 0xa1
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 dword [ebp - 4], 0x16
call fcn.10008c90
mov dword [ebp - 4], 0x17
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 0x2c], vtable.Packet.0
cmp eax, 0x989680
ja 0x1003196f
mov ecx, dword [ebp - 0x20]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10031963
push esi
lea ecx, [ebp - 0x1c]
call fcn.10008e30
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0xc5]
mov byte [edx + ecx], al
inc dword [ebp - 0x20]
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x2c]
push dword [edi + 0x198]
push dword [edi + 0x194]
push dword [edi + 0x190]
push 4
push 0xb
push 0xa4
call fcn.10008bf0
mov ecx, eax
call fcn.10008bf0
mov ecx, eax
call fcn.10008bf0
mov ecx, eax
call fcn.100392a0
mov ecx, eax
call fcn.100121d0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
call fcn.1000f1a0
mov ecx, dword [edi + 0x1a8]
xor dl, dl
call fcn.1000ea50
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.10008dc0
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0x1c4]
test eax, eax
je 0x10031a07
cmp esi, eax
jne 0x10031a07
mov ecx, dword [edi + 0x1a8]
xor dl, dl
call fcn.1000ea50
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0x208]
test eax, eax
je 0x10031a3d
cmp esi, eax
jne 0x10031a3d
mov eax, dword [edi + 0x188]
cmp eax, dword [edi + 0x18c]
jge 0x10032008
inc eax
mov ecx, edi
push eax
mov dword [edi + 0x188], eax
call fcn.10036300
mov al, 1
jmp 0x1003200e
mov eax, dword [edi + 0x200]
test eax, eax
je 0x10031a70
cmp esi, eax
jne 0x10031a70
mov eax, dword [edi + 0x188]
cmp eax, 1
jle 0x10032008
dec eax
mov ecx, edi
push eax
mov dword [edi + 0x188], eax
call fcn.10036300
mov al, 1
jmp 0x1003200e
lea eax, [edi + 0x68]
mov dword [ebp - 0xcc], 4
xor edx, edx
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xd0], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x10031b23
cmp esi, ecx
jne 0x10031b23
mov esi, dword [ebp - 0xdc]
mov edi, 4
nop
mov ecx, dword [esi]
mov dl, 2
call fcn.1000eab0
lea esi, [esi + 4]
sub edi, 1
jne 0x10031ab0
mov ecx, dword [ebp - 0xd0]
mov dl, 3
mov ecx, dword [ecx]
call fcn.1000eab0
mov edi, dword [ebp - 0xe0]
sub esp, 0x18
mov eax, dword [ebp - 0xd4]
mov ecx, esp
mov word [ebp - 0xc8], 0x13
mov byte [ebp - 0xc7], 0
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0xc7]
push eax
mov dword [edi + 0x14], 1
call fcn.10004560
push dword [edi + 0x1c]
mov ecx, edi
push dword [edi + 0x14]
call fcn.10033900
mov eax, dword [ebp - 0xd0]
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0xd4]
inc edx
add eax, 4
sub dword [ebp - 0xcc], 1
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xd0], eax
jne 0x10031a91
mov ecx, dword [ebp - 0xd8]
test cl, cl
jne 0x10032008
mov eax, dword [edi + 0xc8]
sub eax, dword [edi + 0xc4]
sar eax, 6
mov dword [ebp - 0xd4], 0
test eax, eax
je 0x10031e30
xor esi, esi
mov dword [ebp - 0xd0], esi
nop word [eax + eax]
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebp + 8]
cmp dword [eax + esi + 0x2c], 0
je 0x10031c94
cmp ecx, dword [eax + esi + 0x2c]
jne 0x10031c94
mov eax, dword [esi + eax]
xor edx, edx
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0xc4]
mov dword [ebp - 0xcc], edx
mov eax, dword [esi + eax + 4]
mov dword [ebp - 0xdc], eax
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0xd4]
sub eax, dword [edi + 0xd0]
sar eax, 6
test eax, eax
je 0x10031c8a
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [edi + 0xd0]
mov esi, dword [edi + 0x20]
cmp dword [eax + ecx + 0x18], esi
mov esi, dword [ebp - 0xd0]
jne 0x10031bfe
mov eax, dword [eax + ecx + 0x1c]
cmp eax, dword [edi + 0x24]
je 0x10031c1d
mov eax, dword [edi + 0xd4]
inc edx
sub eax, dword [edi + 0xd0]
add ecx, 0x40
sar eax, 6
mov dword [ebp - 0xcc], edx
cmp edx, eax
jb 0x10031be0
jmp 0x10031c8a
mov eax, dword [ebp - 0xdc]
dec eax
cmp eax, 0x5f5e0fe
ja 0x10031c60
mov eax, dword [edi + 0xd0]
lea ecx, [edi + 0x50]
mov esi, edx
add eax, 0x30
shl esi, 6
add eax, esi
push eax
call fcn.10039180
mov edx, dword [edi + 0xd0]
mov ecx, dword [edi + 0x38]
add edx, esi
call fcn.1000ef30
mov esi, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xcc]
mov eax, dword [edi + 0xd0]
shl edx, 6
mov eax, dword [eax + edx + 0x24]
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0xd0]
mov eax, dword [edx + eax + 0x28]
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0xd0]
mov eax, dword [eax + edx + 0x20]
mov dword [edi + 0x28], eax
mov ecx, edi
call fcn.10034820
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0xc4]
cmp dword [esi + eax + 0x30], 0
je 0x10031e03
cmp ecx, dword [eax + esi + 0x30]
jne 0x10031e03
mov eax, dword [edi + 0xd4]
xor ecx, ecx
sub eax, dword [edi + 0xd0]
sar eax, 6
mov dword [ebp - 0xd0], ecx
test eax, eax
je 0x10031e03
xor edx, edx
mov eax, dword [edi + 0xc4]
cmp dword [eax + esi + 4], 0
jbe 0x10031ce7
cmp dword [esi + eax + 4], 0x5f5e100
jb 0x10031d34
mov ecx, eax
mov eax, dword [edi + 0xd0]
mov eax, dword [edx + eax + 0x18]
cmp eax, dword [esi + ecx]
jne 0x10031d0c
mov eax, dword [edi + 0xd0]
mov eax, dword [eax + edx + 0x1c]
cmp eax, dword [esi + ecx + 4]
je 0x10031ddd
mov eax, dword [edi + 0xd4]
add edx, 0x40
mov ecx, dword [ebp - 0xd0]
sub eax, dword [edi + 0xd0]
inc ecx
sar eax, 6
mov dword [ebp - 0xd0], ecx
cmp ecx, eax
jb 0x10031cd0
jmp 0x10031e03
movaps xmm0, xmmword [0x1004a260]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0xe
jb 0x10031d41
lea eax, [ebp - 0x43]
mov byte [ebp - 0x35], 0
push eax
lea ecx, [ebp - 0x7c]
call fcn.10004560
mov dword [ebp - 4], 0x19
xor ecx, ecx
movaps xmm0, xmmword [0x1004abf0]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x14], 0xc0359
movaps xmm0, xmmword [0x1004ad50]
movups xmmword [ebp - 0x24], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x22
jb 0x10031d84
lea eax, [ebp - 0x33]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.10004560
push 0
push ecx
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x7c]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x64]
push eax
push eax
call dword [0x1004a06c]
lea ecx, [ebp - 0x64]
call fcn.100044a0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
call fcn.100044a0
jmp 0x10031e03
mov eax, dword [edi + 0xd0]
mov ecx, dword [ebp - 0xd0]
shl ecx, 6
push dword [ecx + eax + 0x28]
push dword [eax + ecx + 0x24]
push dword [ecx + eax + 0x1c]
push dword [ecx + eax + 0x18]
mov ecx, edi
call fcn.100350d0
mov eax, dword [edi + 0xc8]
add esi, 0x40
mov ecx, dword [ebp - 0xd4]
sub eax, dword [edi + 0xc4]
inc ecx
sar eax, 6
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xd0], esi
cmp ecx, eax
jb 0x10031b80
mov ecx, dword [edi + 0x210]
mov eax, 0x66666667
sub ecx, dword [edi + 0x20c]
xor esi, esi
imul ecx
mov dword [ebp - 0xcc], esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10032008
xor ecx, ecx
mov dword [ebp - 0xd0], ecx
mov eax, dword [edi + 0x20c]
cmp dword [ecx + eax + 0x10], 0
je 0x10031fcd
mov edx, dword [ebp + 8]
cmp edx, dword [eax + ecx + 0x10]
jne 0x10031fcd
mov eax, dword [eax + ecx + 0x1c]
xor esi, esi
mov dword [edi + 0x198], eax
mov eax, dword [edi + 0x21c]
sub eax, dword [edi + 0x218]
sar eax, 5
test eax, eax
je 0x10031fba
mov eax, dword [edi + 0x20c]
mov edx, dword [eax + ecx + 0x20]
mov dword [ebp - 0xdc], edx
mov edx, dword [eax + ecx + 0x24]
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [edi + 0x218]
mov edi, dword [ebp - 0xdc]
cmp dword [ecx + eax + 0x18], edi
mov edi, dword [ebp - 0xe0]
jne 0x10031eef
cmp dword [ecx + eax + 0x1c], edx
jne 0x10031eef
mov eax, dword [edi + 0x218]
mov eax, dword [ecx + eax]
cmp eax, dword [edi + 0x198]
je 0x10031f0b
mov eax, dword [edi + 0x21c]
inc esi
sub eax, dword [edi + 0x218]
add ecx, 0x20
sar eax, 5
cmp esi, eax
jb 0x10031ec0
jmp 0x10031fba
mov ecx, dword [edi + 0x218]
shl esi, 5
mov eax, dword [esi + ecx + 0x18]
mov dword [edi + 0x190], eax
mov eax, dword [esi + ecx + 0x1c]
lea ecx, [ebp - 0x148]
mov dword [edi + 0x194], eax
mov eax, dword [edi + 0x218]
mov eax, dword [esi + eax + 8]
mov dword [edi + 0x1a0], eax
mov eax, dword [edi + 0x218]
mov eax, dword [esi + eax + 0xc]
mov dword [edi + 0x1a4], eax
mov eax, dword [edi + 0x218]
mov eax, dword [esi + eax + 4]
mov dword [edi + 0x19c], eax
mov edx, dword [edi + 0x218]
mov edx, dword [edx + esi + 0x10]
call fcn.10009670
mov dword [ebp - 4], 0x1b
cmp dword [eax + 0x14], 0x10
jb 0x10031f7c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xac]
call fcn.10004560
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0xac]
mov ecx, dword [edi + 0x1b0]
call fcn.1000ef30
lea ecx, [ebp - 0xac]
call fcn.100044a0
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 0xffffffff
call fcn.100044a0
mov ecx, edi
call fcn.10036bf0
mov ecx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xcc]
add ecx, 0x28
mov eax, 0x66666667
mov dword [ebp - 0xd0], ecx
inc esi
mov ecx, dword [edi + 0x210]
sub ecx, dword [edi + 0x20c]
imul ecx
mov ecx, dword [ebp - 0xd0]
sar edx, 4
mov eax, edx
mov dword [ebp - 0xcc], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10031e63
mov al, 1
jmp 0x1003200e
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.100406c0
mov esp, ebp
pop ebp
ret 8