Function at 0x10040840
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070e71
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
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 edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
mov dword [0x10088338], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10041438
cmp dword [ebp + 0xc], 1
jne 0x10041438
cmp eax, dword [edi + 0xc]
jne 0x10041457
mov ecx, dword [edi + 8]
call fcn.10011170
push eax
lea ecx, [ebp - 0x68]
call fcn.10001d60
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x10040a35
mov ah, 0x31
mov byte [ebp - 0x14], 0
mov cl, 0x50
mov byte [ebp - 0x18], ah
xor cl, ah
mov byte [ebp - 0x14], 0
mov al, 0x65
mov byte [ebp - 0x16], cl
mov dl, 0x56
mov dword [ebp - 0x20], 0
xor al, ah
mov dword [ebp - 0x1c], 0
xor dl, ah
mov byte [ebp - 0x17], al
xorps xmm0, xmm0
mov byte [ebp - 0x15], dl
lea ecx, [ebp - 0x17]
movups xmmword [ebp - 0x30], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100408f7
sub ecx, edx
lea eax, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10002130
mov byte [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x1007c700]
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x90], 0x313e77
nop dword [eax + eax]
mov al, byte [ebp - 0xa0]
xor byte [ebp + ecx - 0x9f], al
inc ecx
cmp ecx, 0x12
jb 0x10040930
xorps xmm0, xmm0
mov byte [ebp - 0x8d], 0
lea ecx, [ebp - 0x9f]
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040970
sub ecx, edx
lea eax, [ebp - 0x9f]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10002130
push 0
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x30]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x88]
push eax
push eax
call dword [0x1007acd8]
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x100409e9
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100409df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041613
push ecx
push edx
call fcn.1004d526
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp ecx, 0xf
jbe 0x10041402
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100413f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041613
jmp 0x100413f8
cmp eax, 0x20
jbe 0x10040b7c
mov ah, 0x70
mov byte [ebp - 0x14], 0
mov cl, 0x11
mov byte [ebp - 0x18], ah
xor cl, ah
mov byte [ebp - 0x14], 0
mov al, 0x24
mov byte [ebp - 0x16], cl
mov dl, 0x17
mov dword [ebp - 0x20], 0
xor al, ah
mov dword [ebp - 0x1c], 0
xor dl, ah
mov byte [ebp - 0x17], al
xorps xmm0, xmm0
mov byte [ebp - 0x15], dl
lea ecx, [ebp - 0x17]
movups xmmword [ebp - 0x30], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040a80
sub ecx, edx
lea eax, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10002130
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x1007c4a0]
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x90], 0x10595051
mov word [ebp - 0x8c], 0x1f
nop dword [eax]
mov al, byte [ebp - 0xa0]
xor byte [ebp + ecx - 0x9f], al
inc ecx
cmp ecx, 0x14
jb 0x10040ac0
xorps xmm0, xmm0
mov byte [ebp - 0x8b], 0
lea ecx, [ebp - 0x9f]
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040b00
sub ecx, edx
lea eax, [ebp - 0x9f]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10002130
push 0
push ecx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x30]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x88]
push eax
push eax
call dword [0x1007acd8]
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x100409e9
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100409df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041613
jmp 0x100409df
xor esi, esi
test eax, eax
je 0x10040bc9
mov edi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x54]
nop dword [eax + eax]
cmp ecx, 0xf
lea eax, [ebp - 0x68]
cmova eax, edi
cmp byte [eax + esi], 0x20
je 0x10040bc0
cmp ecx, 0xf
lea eax, [ebp - 0x68]
cmova eax, edi
movsx eax, byte [eax + esi]
push eax
call fcn.10058c60
add esp, 4
test eax, eax
je 0x10040f1f
mov ecx, dword [ebp - 0x54]
inc esi
cmp esi, dword [ebp - 0x58]
jb 0x10040b90
mov edi, dword [ebp - 0x18]
mov byte [ebp - 0x70], 0xa
mov al, 0x4d
xor al, byte [ebp - 0x70]
mov cl, 0x6b
mov dl, 0x67
mov byte [ebp - 0x6f], al
mov al, byte [ebp - 0x70]
mov ch, 0x2a
mov dh, 0x47
mov byte [ebp - 0x69], 0
mov ah, 0x6f
mov byte [ebp - 0x69], 0
xor cl, al
xor dl, al
xor ch, al
mov byte [ebp - 0x6d], dl
xor dh, al
mov byte [ebp - 0x6e], cl
xor ah, al
mov byte [ebp - 0x6a], dh
sub esp, 0x18
mov byte [ebp - 0x6b], ch
mov edx, esp
mov byte [ebp - 0x6c], ah
xorps xmm0, xmm0
mov dword [ebp - 0x18], esp
lea ecx, [ebp - 0x6f]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040c25
sub ecx, esi
lea eax, [ebp - 0x6f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.10001d60
mov byte [ebp - 4], 0
call fcn.1000f020
add esp, 0x30
test al, al
jne 0x10041267
mov dh, 0x3b
mov byte [ebp - 0x6a], 0
mov cl, 0x5a
mov byte [ebp - 0x70], dh
mov dl, 0x56
mov byte [ebp - 0x6a], 0
mov ch, 0x76
xor cl, dh
xor ch, dh
mov byte [ebp - 0x6e], cl
mov al, 0x7c
mov byte [ebp - 0x6b], ch
mov ah, 0x5e
lea ecx, [ebp - 0x6f]
xor al, dh
lea esi, [ecx + 1]
xor dl, dh
mov byte [ebp - 0x6f], al
xor ah, dh
mov byte [ebp - 0x6d], dl
sub esp, 0x18
mov byte [ebp - 0x6c], ah
mov edx, esp
mov dword [ebp - 0x18], esp
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040cb2
sub ecx, esi
lea eax, [ebp - 0x6f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.10001d60
mov byte [ebp - 4], 0
call fcn.1000f020
add esp, 0x30
test al, al
jne 0x10041267
mov dl, 0x4b
mov byte [ebp - 0x69], 0
mov cl, 6
mov byte [ebp - 0x6c], dl
xor cl, dl
mov byte [ebp - 0x69], 0
mov al, 0xc
mov byte [ebp - 0x6a], cl
xor al, dl
lea ecx, [ebp - 0x6b]
sub esp, 0x18
mov byte [ebp - 0x6b], al
mov edx, esp
mov dword [ebp - 0x18], esp
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040d30
sub ecx, esi
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, edx
call fcn.10002130
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.10001d60
mov byte [ebp - 4], 0
call fcn.1000f020
add esp, 0x30
test al, al
jne 0x10041267
mov ch, 0x69
xor ah, ah
mov cl, 0xd
mov byte [ebp - 0x6b], ah
mov dl, 4
mov byte [ebp - 0x70], ch
xor dl, ch
mov byte [ebp - 0x6b], 0
mov al, 0x28
mov byte [ebp - 0x6d], dl
xor al, ch
xor cl, ch
xor ah, ch
mov byte [ebp - 0x6e], cl
sub esp, 0x18
mov byte [ebp - 0x6f], al
mov edx, esp
mov byte [ebp - 0x6c], ah
xorps xmm0, xmm0
mov dword [ebp - 0x18], esp
lea ecx, [ebp - 0x6f]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040db5
sub ecx, esi
lea eax, [ebp - 0x6f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.10001d60
mov byte [ebp - 4], 0
call fcn.1000f020
add esp, 0x30
test al, al
jne 0x10041267
mov ch, 0x27
mov byte [ebp - 0x6b], 0
mov cl, 0x42
mov byte [ebp - 0x70], ch
mov ah, cl
mov byte [ebp - 0x6b], 0
mov dl, 0x51
mov al, 0x63
xor dl, ch
xor al, ch
xor cl, ch
mov byte [ebp - 0x6d], dl
xor ah, ch
mov byte [ebp - 0x6e], cl
sub esp, 0x18
mov byte [ebp - 0x6f], al
mov edx, esp
mov byte [ebp - 0x6c], ah
xorps xmm0, xmm0
mov dword [ebp - 0x18], esp
lea ecx, [ebp - 0x6f]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040e40
sub ecx, esi
lea eax, [ebp - 0x6f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.10001d60
mov byte [ebp - 4], 0
call fcn.1000f020
add esp, 0x30
test al, al
jne 0x10041267
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x50], vtable.ByteBuffer.0
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x4c], 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x1000
call fcn.1000ac00
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x3c]
mov esi, edx
mov ecx, dword [ebp - 0x40]
sub esi, ecx
mov dword [ebp - 0x50], vtable.Packet.0
mov dword [ebp - 0x6c], edx
cmp esi, 0x989680
ja 0x10041108
mov edx, dword [ebp - 0x44]
inc edx
cmp esi, edx
jae 0x100410f5
mov eax, dword [ebp - 0x38]
sub eax, ecx
cmp edx, eax
jbe 0x100410db
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.1000add0
jmp 0x100410f2
mov ah, 0x66
mov byte [ebp - 0x14], 0
mov cl, 7
mov byte [ebp - 0x18], ah
xor cl, ah
mov byte [ebp - 0x14], 0
mov al, 0x32
mov byte [ebp - 0x16], cl
mov dl, 1
mov dword [ebp - 0x20], 0
xor al, ah
mov dword [ebp - 0x1c], 0
xor dl, ah
mov byte [ebp - 0x17], al
xorps xmm0, xmm0
mov byte [ebp - 0x15], dl
lea ecx, [ebp - 0x17]
movups xmmword [ebp - 0x30], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040f60
sub ecx, edx
lea eax, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10002130
mov byte [ebp - 4], 5
xor ecx, ecx
movaps xmm0, xmmword [0x1007c180]
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xb8], 0x3b362a7e
movaps xmm0, xmmword [0x1007c190]
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xb4], 0x393f2a7e
movaps xmm0, xmmword [0x1007c1f0]
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb0], 0x703a377e
mov word [ebp - 0xac], 0x7f
nop dword [eax]
mov al, byte [ebp - 0xe8]
xor byte [ebp + ecx - 0xe7], al
inc ecx
cmp ecx, 0x3c
jb 0x10040fd0
xorps xmm0, xmm0
mov byte [ebp - 0xab], 0
lea ecx, [ebp - 0xe7]
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041010
sub ecx, edx
lea eax, [ebp - 0xe7]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10002130
push 0
push ecx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x30]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x88]
push eax
push eax
call dword [0x1007acd8]
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x10041089
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004107f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041613
push ecx
push edx
call fcn.1004d526
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp ecx, 0xf
jbe 0x10041405
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100410cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041613
push ecx
push edx
call fcn.1004d526
add esp, 8
jmp 0x10041405
mov eax, dword [ebp - 0x6c]
sub edx, esi
push edx
push 0
push eax
lea esi, [eax + edx]
call fcn.1004f640
add esp, 0xc
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov byte [ecx + eax], 0xa1
mov edx, dword [ebp - 0x3c]
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x6c], edx
mov eax, edx
mov byte [ebp - 4], 0x10
sub eax, ecx
mov dword [ebp - 0x18], eax
cmp eax, 0x989680
ja 0x1004115b
mov esi, dword [ebp - 0x44]
inc esi
cmp eax, esi
jae 0x10041151
mov eax, dword [ebp - 0x38]
sub eax, ecx
cmp esi, eax
jbe 0x10041137
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.1000add0
jmp 0x1004114e
sub esi, dword [ebp - 0x18]
push esi
push 0
push edx
call fcn.1004f640
mov eax, dword [ebp - 0x6c]
add esp, 0xc
add eax, esi
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov byte [ecx + eax], 0xa4
inc dword [ebp - 0x44]
push 0x10
lea ecx, [ebp - 0x50]
call fcn.1000ab30
push 3
mov ecx, eax
call fcn.1000ab30
cmp dword [ebp - 0x54], 0xf
lea ecx, [ebp - 0x68]
mov esi, eax
cmova ecx, dword [ebp - 0x68]
push ecx
mov ecx, esi
call fcn.1000a9c0
mov al, byte [edi + 0x18]
mov ecx, esi
push eax
call fcn.1000ab30
mov cl, byte [edi + 0x19]
push ecx
mov ecx, eax
call fcn.1000ab30
movzx ecx, byte [edi + 0x1a]
push ecx
mov ecx, eax
call fcn.1000ab30
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x6c], eax
cmp edx, 0x4000
ja 0x100411d1
mov ecx, dword ds:[0x1007abcc]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x18]
push dword [ebp - 0x6c]
call dword [0x1007abc8]
mov ecx, edi
call fcn.10041820
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x50], vtable.ByteBuffer.0
test ecx, ecx
je 0x10041228
mov edx, dword [ebp - 0x38]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10041209
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041613
push edx
push ecx
call fcn.1004d526
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1004160c
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10041256
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041613
push ecx
push edx
call fcn.1004d526
add esp, 8
mov al, 1
jmp 0x1004143a
mov ah, 0x70
mov byte [ebp - 0x14], 0
mov cl, 0x11
mov byte [ebp - 0x18], ah
xor cl, ah
mov byte [ebp - 0x14], 0
mov al, 0x24
mov byte [ebp - 0x16], cl
mov dl, 0x17
mov dword [ebp - 0x20], 0
xor al, ah
mov dword [ebp - 0x1c], 0
xor dl, ah
mov byte [ebp - 0x17], al
xorps xmm0, xmm0
mov byte [ebp - 0x15], dl
lea ecx, [ebp - 0x17]
movups xmmword [ebp - 0x30], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100412a4
sub ecx, edx
lea eax, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10002130
mov byte [ebp - 4], 0xc
xor ecx, ecx
movaps xmm0, xmmword [0x1007c7d0]
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x98], 0x7f2b3031
mov dword [ebp - 0x94], 0x3033333e
mov dword [ebp - 0x90], 0x713b3a28
mov word [ebp - 0x8c], 0x7e
nop word [eax + eax]
mov al, byte [ebp - 0xa8]
xor byte [ebp + ecx - 0xa7], al
inc ecx
cmp ecx, 0x1c
jb 0x10041300
xorps xmm0, xmm0
mov byte [ebp - 0x8b], 0
lea ecx, [ebp - 0xa7]
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041340
sub ecx, edx
lea eax, [ebp - 0xa7]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10002130
push 0
push ecx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x30]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x88]
push eax
push eax
call dword [0x1007acd8]
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x100413b9
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100413af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041613
push ecx
push edx
call fcn.1004d526
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp ecx, 0xf
jbe 0x10041402
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100413f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041613
push ecx
push edx
call fcn.1004d526
add esp, 8
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x54]
cmp eax, 0xf
jbe 0x10041438
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1004142e
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041613
push ecx
push edi
call fcn.1004d526
add esp, 8
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.1004d4c5
mov esp, ebp
pop ebp
ret 8
cmp eax, dword [edi + 0x10]
jne 0x10041602
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], vtable.ByteBuffer.0
movq qword [ebp - 0x24], xmm0
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0x1000
call fcn.1000ac00
mov dword [ebp - 4], 0x12
mov edx, dword [ebp - 0x20]
mov esi, edx
mov ecx, dword [ebp - 0x24]
sub esi, ecx
mov dword [ebp - 0x34], vtable.Packet.0
mov dword [ebp - 0x6c], edx
cmp esi, 0x989680
ja 0x10041528
mov edx, dword [ebp - 0x28]
inc edx
cmp esi, edx
jae 0x10041515
mov eax, dword [ebp - 0x1c]
sub eax, ecx
cmp edx, eax
jbe 0x100414fb
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.1000add0
jmp 0x10041512
mov eax, dword [ebp - 0x6c]
sub edx, esi
push edx
push 0
push eax
lea esi, [eax + edx]
call fcn.1004f640
add esp, 0xc
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov byte [ecx + eax], 0xa1
mov edx, dword [ebp - 0x20]
inc dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x6c], edx
mov eax, edx
mov dword [ebp - 4], 0x13
sub eax, ecx
mov dword [ebp - 0x18], eax
cmp eax, 0x989680
ja 0x1004157e
mov esi, dword [ebp - 0x28]
inc esi
cmp eax, esi
jae 0x10041574
mov eax, dword [ebp - 0x1c]
sub eax, ecx
cmp esi, eax
jbe 0x1004155a
push ecx
push esi
lea ecx, [ebp - 0x24]
call fcn.1000add0
jmp 0x10041571
sub esi, dword [ebp - 0x18]
push esi
push 0
push edx
call fcn.1004f640
mov eax, dword [ebp - 0x6c]
add esp, 0xc
add eax, esi
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov byte [ecx + eax], 0xa4
inc dword [ebp - 0x28]
push 0x10
lea ecx, [ebp - 0x34]
call fcn.1000ab30
push 4
mov ecx, eax
call fcn.1000ab30
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x6c], eax
cmp ecx, 0x4000
ja 0x100415bd
mov ecx, dword ds:[0x1007abcc]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x18]
push dword [ebp - 0x6c]
call dword [0x1007abc8]
mov ecx, edi
call fcn.10041820
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], vtable.ByteBuffer.0
test ecx, ecx
je 0x1004160c
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100415f1
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041613
push edx
push ecx
call fcn.1004d526
add esp, 8
mov al, 1
jmp 0x1004143a
cmp eax, dword [edi + 4]
jne 0x1004160c
call fcn.10041820
mov al, 1
jmp 0x1004143a
call fcn.100527f4
int3