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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100945d5
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x100bb084]
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 - 0x98], esi
mov eax, dword [esi]
mov dword [0x100c3db8], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1005308d
cmp dword [ebp + 0xc], 1
jne 0x1005308d
cmp eax, dword [esi + 0xc]
jne 0x100530ac
mov ecx, dword [esi + 8]
call fcn.10011ab0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.10004890
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x38]
test edi, edi
jne 0x10052a07
mov ah, 0x2d
mov byte [ebp - 0x70], 0
mov al, 0x79
mov byte [ebp - 0x74], ah
xor al, ah
mov byte [ebp - 0x70], 0
mov cl, 0x4c
mov byte [ebp - 0x73], al
mov dl, 0x4a
xor cl, ah
xor dl, ah
mov byte [ebp - 0x72], cl
lea eax, [ebp - 0x73]
mov byte [ebp - 0x71], dl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004e00
mov byte [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x100af2e0]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0x545b12
nop dword [eax]
mov al, byte [ebp - 0x8c]
xor byte [ebp + ecx - 0x8b], al
inc ecx
cmp ecx, 0x12
jb 0x100529a0
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x79], 0
push eax
lea ecx, [ebp - 0xb0]
call fcn.10004e00
push 0
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0xb0]
push eax
push eax
call dword [0x100adb0c]
lea ecx, [ebp - 0xb0]
call fcn.10004790
lea ecx, [ebp - 0x2c]
call fcn.10004790
jmp 0x10053078
cmp edi, 0x20
jbe 0x10052ac7
mov ah, 0x30
mov byte [ebp - 0x70], 0
mov al, 0x64
mov byte [ebp - 0x74], ah
xor al, ah
mov byte [ebp - 0x70], 0
mov cl, 0x51
mov byte [ebp - 0x73], al
mov dl, 0x57
xor cl, ah
xor dl, ah
mov byte [ebp - 0x72], cl
lea eax, [ebp - 0x73]
mov byte [ebp - 0x71], dl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004e00
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x100af8c0]
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0x165f5657
mov word [ebp - 0x7c], 0x19
nop
mov al, byte [ebp - 0x90]
xor byte [ebp + ecx - 0x8f], al
inc ecx
cmp ecx, 0x14
jb 0x10052a60
lea eax, [ebp - 0x8f]
mov byte [ebp - 0x7b], 0
push eax
lea ecx, [ebp - 0xb0]
call fcn.10004e00
push 0
push ecx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0xb0]
push eax
push eax
call dword [0x100adb0c]
lea ecx, [ebp - 0xb0]
call fcn.10004790
lea ecx, [ebp - 0x2c]
call fcn.10004790
jmp 0x10053078
xor esi, esi
test edi, edi
je 0x10052b0e
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
cmp ecx, 0x10
lea eax, [ebp - 0x48]
cmovae eax, edx
cmp byte [eax + esi], 0x20
je 0x10052b09
cmp ecx, 0x10
lea eax, [ebp - 0x48]
cmovae eax, edx
movsx eax, byte [eax + esi]
push eax
call fcn.10079a4c
add esp, 4
test eax, eax
je 0x10052b8f
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x48]
inc esi
cmp esi, edi
jb 0x10052ad3
mov byte [ebp - 0x74], 0x64
mov al, 0x23
xor al, byte [ebp - 0x74]
mov ah, 1
mov byte [ebp - 0x73], al
sub esp, 0x18
mov al, byte [ebp - 0x74]
mov cl, 5
mov ch, 0x44
mov dword [ebp - 0x6c], esp
xor cl, al
mov byte [ebp - 0x6d], 0
xor ah, al
mov byte [ebp - 0x72], cl
xor ch, al
mov byte [ebp - 0x70], ah
mov dl, 9
mov byte [ebp - 0x6f], ch
mov dh, 0x29
mov byte [ebp - 0x6d], 0
xor dl, al
xor dh, al
lea eax, [ebp - 0x73]
mov byte [ebp - 0x71], dl
mov ecx, esp
mov byte [ebp - 0x6e], dh
push eax
call fcn.10004e00
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x10052c8a
mov eax, dword [ecx]
jmp 0x10052c8c
mov ah, 0x16
mov byte [ebp - 0x70], 0
mov al, 0x42
mov byte [ebp - 0x74], ah
xor al, ah
mov byte [ebp - 0x70], 0
mov cl, 0x77
mov byte [ebp - 0x73], al
mov dl, 0x71
xor cl, ah
xor dl, ah
mov byte [ebp - 0x72], cl
lea eax, [ebp - 0x73]
mov byte [ebp - 0x71], dl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004e00
mov byte [ebp - 4], 5
xor ecx, ecx
movaps xmm0, xmmword [0x100afc90]
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xc0], 0x626f7327
movaps xmm0, xmmword [0x100afca0]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xbc], 0x60667327
movaps xmm0, xmmword [0x100afb20]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xb8], 0x29636e27
mov word [ebp - 0xb4], 0x26
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0xf0]
xor byte [ebp + ecx - 0xef], al
inc ecx
cmp ecx, 0x3c
jb 0x10052c20
lea eax, [ebp - 0xef]
mov byte [ebp - 0xb3], 0
push eax
lea ecx, [ebp - 0xb0]
call fcn.10004e00
push 0
push ecx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0xb0]
push eax
push eax
call dword [0x100adb0c]
lea ecx, [ebp - 0xb0]
call fcn.10004790
lea ecx, [ebp - 0x2c]
call fcn.10004790
jmp 0x10053078
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10004890
mov byte [ebp - 4], 0
call fcn.1000f9e0
add esp, 0x30
test al, al
jne 0x10052f84
mov dh, 0x22
mov byte [ebp - 0x6e], 0
mov al, 0x65
mov byte [ebp - 0x74], dh
mov ah, 0x47
mov byte [ebp - 0x6e], 0
sub esp, 0x18
mov cl, 0x43
mov ch, 0x6f
mov dword [ebp - 0x94], esp
xor al, dh
xor ah, dh
xor cl, dh
mov byte [ebp - 0x73], al
xor ch, dh
mov byte [ebp - 0x70], ah
mov dl, 0x4f
mov byte [ebp - 0x72], cl
mov byte [ebp - 0x6f], ch
lea eax, [ebp - 0x73]
xor dl, dh
mov ecx, esp
push eax
mov byte [ebp - 0x71], dl
call fcn.10004e00
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x10052d23
mov eax, dword [ecx]
jmp 0x10052d25
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10004890
mov byte [ebp - 4], 0
call fcn.1000f9e0
add esp, 0x30
test al, al
jne 0x10052f84
mov dl, 0x2e
mov byte [ebp - 0x69], 0
mov al, 0x69
mov byte [ebp - 0x6c], dl
sub esp, 0x18
mov byte [ebp - 0x69], 0
mov cl, 0x63
mov dword [ebp - 0x94], esp
xor al, dl
xor cl, dl
mov byte [ebp - 0x6b], al
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x6a], cl
mov ecx, esp
push eax
call fcn.10004e00
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004550
mov byte [ebp - 4], 0
call fcn.1000f9e0
add esp, 0x30
test al, al
jne 0x10052f84
mov ch, 0x70
mov byte [ebp - 0x67], 0
mov al, 0x31
mov byte [ebp - 0x6c], ch
mov ah, 0x19
mov byte [ebp - 0x67], 0
xor al, ch
xor ah, ch
sub esp, 0x18
mov byte [ebp - 0x6b], al
mov cl, 0x14
mov byte [ebp - 0x68], ah
xor cl, ch
mov dword [ebp - 0x70], esp
mov dl, 0x1d
mov byte [ebp - 0x6a], cl
xor dl, ch
lea eax, [ebp - 0x6b]
mov ecx, esp
mov byte [ebp - 0x69], dl
push eax
call fcn.10004e00
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004550
mov byte [ebp - 4], 0
call fcn.1000f9e0
add esp, 0x30
test al, al
jne 0x10052f84
mov ch, 2
mov byte [ebp - 0x67], 0
mov cl, 0x67
mov byte [ebp - 0x6c], ch
mov ah, cl
mov byte [ebp - 0x67], 0
mov al, 0x46
xor ah, ch
xor al, ch
mov byte [ebp - 0x68], ah
sub esp, 0x18
mov byte [ebp - 0x6b], al
xor cl, ch
mov dword [ebp - 0x70], esp
mov dl, 0x74
mov byte [ebp - 0x6a], cl
xor dl, ch
lea eax, [ebp - 0x6b]
mov ecx, esp
mov byte [ebp - 0x69], dl
push eax
call fcn.10004e00
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004550
mov byte [ebp - 4], 0
call fcn.1000f9e0
add esp, 0x30
test al, al
jne 0x10052f84
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x75], 0xa1
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x64], vtable.ByteBuffer.0
mov byte [ebp - 0x60], 1
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
push 0x1000
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xe
call fcn.10009d60
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
sub eax, edx
mov dword [ebp - 0x64], vtable.Packet.0
cmp eax, 0x989680
ja 0x10052ef0
mov ecx, dword [ebp - 0x58]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10052ee7
push esi
lea ecx, [ebp - 0x54]
call fcn.10009f00
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
mov al, byte [ebp - 0x75]
mov byte [edx + ecx], al
inc dword [ebp - 0x58]
push 3
push 0x10
push 0xa4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
call fcn.10009cc0
mov ecx, eax
call fcn.10009cc0
mov ecx, eax
call fcn.10009cc0
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
mov esi, eax
cmovae ecx, dword [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.10009bf0
mov edi, dword [ebp - 0x98]
movzx ecx, byte [edi + 0x1a]
movzx eax, byte [edi + 0x19]
push ecx
push eax
movzx eax, byte [edi + 0x18]
mov ecx, esi
push eax
call fcn.10009cc0
mov ecx, eax
call fcn.10009cc0
mov ecx, eax
call fcn.10009cc0
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub edx, ecx
call fcn.10012190
mov ecx, edi
call fcn.10053380
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], vtable.ByteBuffer.0
call fcn.10009e90
lea ecx, [ebp - 0x48]
call fcn.10004790
mov al, 1
jmp 0x1005308f
mov ah, 0x40
mov byte [ebp - 0x70], 0
mov al, 0x14
mov byte [ebp - 0x74], ah
xor al, ah
mov byte [ebp - 0x70], 0
mov cl, 0x21
mov byte [ebp - 0x73], al
mov dl, 0x27
xor cl, ah
xor dl, ah
mov byte [ebp - 0x72], cl
lea eax, [ebp - 0x73]
mov byte [ebp - 0x71], dl
push eax
lea ecx, [ebp - 0xb0]
call fcn.10004e00
mov byte [ebp - 4], 0xc
xor ecx, ecx
movaps xmm0, xmmword [0x100af6a0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x3d697273
mov dword [ebp - 0x1c], 0x7271717c
mov dword [ebp - 0x18], 0x3379786a
mov word [ebp - 0x14], 0x3c
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x1c
jb 0x10052fe1
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x13], 0
push eax
lea ecx, [ebp - 0x90]
call fcn.10004e00
push 0
push ecx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xb0]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x90]
push eax
push eax
call dword [0x100adb0c]
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x10053045
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.10004bb0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp eax, 0x10
jb 0x10053078
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.10004bb0
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x1005308d
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.10004bb0
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.10059ed0
mov esp, ebp
pop ebp
ret 8
cmp eax, dword [esi + 0x10]
jne 0x100531c2
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x75], 0xa1
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x30], vtable.ByteBuffer.0
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
push 0x1000
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0x11
call fcn.10009d60
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
sub eax, edx
mov dword [ebp - 0x30], vtable.Packet.0
cmp eax, 0x989680
ja 0x1005314d
mov ecx, dword [ebp - 0x24]
lea edi, [ecx + 1]
cmp eax, edi
jae 0x10053144
push edi
lea ecx, [ebp - 0x20]
call fcn.10009f00
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov al, byte [ebp - 0x75]
mov byte [edx + ecx], al
inc dword [ebp - 0x24]
push 4
push 0x10
push 0xa4
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0x13
call fcn.10009cc0
mov ecx, eax
call fcn.10009cc0
mov ecx, eax
call fcn.10009cc0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x6c], eax
cmp ecx, 0x4000
ja 0x100531a5
mov ecx, dword ds:[0x100a5068]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x98]
push dword [ebp - 0x6c]
call dword [0x100a5064]
mov ecx, esi
call fcn.10053380
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10009e90
mov al, 1
jmp 0x1005308f
cmp eax, dword [esi + 4]
jne 0x100531cc
call fcn.10053380
mov al, 1
jmp 0x1005308f