Function at 0x100548d0
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097ce5
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x100be084]
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 [0x100c72c8], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1005509d
cmp dword [ebp + 0xc], 1
jne 0x1005509d
cmp eax, dword [esi + 0xc]
jne 0x100550bc
mov ecx, dword [esi + 8]
call fcn.10015d30
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.10005160
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x38]
test edi, edi
jne 0x10054a17
mov ah, 5
mov byte [ebp - 0x70], 0
mov al, 0x51
mov byte [ebp - 0x74], ah
xor al, ah
mov byte [ebp - 0x70], 0
mov cl, 0x64
mov byte [ebp - 0x73], al
mov dl, 0x62
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.100056d0
mov byte [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x100b2ad0]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0xe0148
nop dword [eax]
mov al, byte [ebp - 0x8c]
xor byte [ebp + ecx - 0x8b], al
inc ecx
cmp ecx, 0x12
jb 0x100549b0
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x79], 0
push eax
lea ecx, [ebp - 0xb0]
call fcn.100056d0
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 [0x100b0960]
lea ecx, [ebp - 0xb0]
call fcn.10005060
lea ecx, [ebp - 0x2c]
call fcn.10005060
jmp 0x10055088
cmp edi, 0x20
jbe 0x10054ad7
mov ah, 0x20
mov byte [ebp - 0x70], 0
mov al, 0x74
mov byte [ebp - 0x74], ah
xor al, ah
mov byte [ebp - 0x70], 0
mov cl, 0x41
mov byte [ebp - 0x73], al
mov dl, 0x47
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.100056d0
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x100b2a00]
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0xb424b4a
mov word [ebp - 0x7c], 4
nop
mov al, byte [ebp - 0x90]
xor byte [ebp + ecx - 0x8f], al
inc ecx
cmp ecx, 0x14
jb 0x10054a70
lea eax, [ebp - 0x8f]
mov byte [ebp - 0x7b], 0
push eax
lea ecx, [ebp - 0xb0]
call fcn.100056d0
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 [0x100b0960]
lea ecx, [ebp - 0xb0]
call fcn.10005060
lea ecx, [ebp - 0x2c]
call fcn.10005060
jmp 0x10055088
xor esi, esi
test edi, edi
je 0x10054b1e
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 0x10054b19
cmp ecx, 0x10
lea eax, [ebp - 0x48]
cmovae eax, edx
movsx eax, byte [eax + esi]
push eax
call fcn.1007d2dd
add esp, 4
test eax, eax
je 0x10054b9f
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x48]
inc esi
cmp esi, edi
jb 0x10054ae3
mov byte [ebp - 0x74], 0x5b
mov al, 0x1c
xor al, byte [ebp - 0x74]
mov ah, 0x3e
mov byte [ebp - 0x73], al
sub esp, 0x18
mov al, byte [ebp - 0x74]
mov cl, 0x3a
mov ch, 0x7b
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, 0x36
mov byte [ebp - 0x6f], ch
mov dh, 0x16
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.100056d0
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 0x10054c9a
mov eax, dword [ecx]
jmp 0x10054c9c
mov ah, 0x52
mov byte [ebp - 0x70], 0
mov al, 6
mov byte [ebp - 0x74], ah
xor al, ah
mov byte [ebp - 0x70], 0
mov cl, 0x33
mov byte [ebp - 0x73], al
mov dl, 0x35
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.100056d0
mov byte [ebp - 4], 5
xor ecx, ecx
movaps xmm0, xmmword [0x100b2e10]
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xc0], 0x7d706c38
movaps xmm0, xmmword [0x100b2e00]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xbc], 0x7f796c38
movaps xmm0, xmmword [0x100b2fd0]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xb8], 0x367c7138
mov word [ebp - 0xb4], 0x39
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0xf0]
xor byte [ebp + ecx - 0xef], al
inc ecx
cmp ecx, 0x3c
jb 0x10054c30
lea eax, [ebp - 0xef]
mov byte [ebp - 0xb3], 0
push eax
lea ecx, [ebp - 0xb0]
call fcn.100056d0
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 [0x100b0960]
lea ecx, [ebp - 0xb0]
call fcn.10005060
lea ecx, [ebp - 0x2c]
call fcn.10005060
jmp 0x10055088
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10005160
mov byte [ebp - 4], 0
call fcn.10013dd0
add esp, 0x30
test al, al
jne 0x10054f94
mov dh, 0x32
mov byte [ebp - 0x6e], 0
mov al, 0x75
mov byte [ebp - 0x74], dh
mov ah, 0x57
mov byte [ebp - 0x6e], 0
sub esp, 0x18
mov cl, 0x53
mov ch, 0x7f
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, 0x5f
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.100056d0
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 0x10054d33
mov eax, dword [ecx]
jmp 0x10054d35
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10005160
mov byte [ebp - 4], 0
call fcn.10013dd0
add esp, 0x30
test al, al
jne 0x10054f94
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.100056d0
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004e20
mov byte [ebp - 4], 0
call fcn.10013dd0
add esp, 0x30
test al, al
jne 0x10054f94
mov ch, 0x35
mov byte [ebp - 0x67], 0
mov al, 0x74
mov byte [ebp - 0x6c], ch
mov ah, 0x5c
mov byte [ebp - 0x67], 0
xor al, ch
xor ah, ch
sub esp, 0x18
mov byte [ebp - 0x6b], al
mov cl, 0x51
mov byte [ebp - 0x68], ah
xor cl, ch
mov dword [ebp - 0x70], esp
mov dl, 0x58
mov byte [ebp - 0x6a], cl
xor dl, ch
lea eax, [ebp - 0x6b]
mov ecx, esp
mov byte [ebp - 0x69], dl
push eax
call fcn.100056d0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004e20
mov byte [ebp - 4], 0
call fcn.10013dd0
add esp, 0x30
test al, al
jne 0x10054f94
mov ch, 0x7a
mov byte [ebp - 0x67], 0
mov cl, 0x1f
mov byte [ebp - 0x6c], ch
mov ah, cl
mov byte [ebp - 0x67], 0
mov al, 0x3e
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, 0xc
mov byte [ebp - 0x6a], cl
xor dl, ch
lea eax, [ebp - 0x6b]
mov ecx, esp
mov byte [ebp - 0x69], dl
push eax
call fcn.100056d0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004e20
mov byte [ebp - 4], 0
call fcn.10013dd0
add esp, 0x30
test al, al
jne 0x10054f94
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.1000fe30
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 0x10054f00
mov ecx, dword [ebp - 0x58]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10054ef7
push esi
lea ecx, [ebp - 0x54]
call fcn.1000ffd0
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.1000fd00
mov ecx, eax
call fcn.1000fd00
mov ecx, eax
call fcn.1000fd00
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
mov esi, eax
cmovae ecx, dword [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.1000fc30
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.1000fd00
mov ecx, eax
call fcn.1000fd00
mov ecx, eax
call fcn.1000fd00
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub edx, ecx
call fcn.10016410
mov ecx, edi
call fcn.10055390
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], vtable.ByteBuffer.0
call fcn.1000ff60
lea ecx, [ebp - 0x48]
call fcn.10005060
mov al, 1
jmp 0x1005509f
mov ah, 2
mov byte [ebp - 0x70], 0
mov al, 0x56
mov byte [ebp - 0x74], ah
xor al, ah
mov byte [ebp - 0x70], 0
mov cl, 0x63
mov byte [ebp - 0x73], al
mov dl, 0x65
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.100056d0
mov byte [ebp - 4], 0xc
xor ecx, ecx
movaps xmm0, xmmword [0x100b29d0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x46120908
mov dword [ebp - 0x1c], 0x90a0a07
mov dword [ebp - 0x18], 0x48020311
mov word [ebp - 0x14], 0x47
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x1c
jb 0x10054ff1
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x13], 0
push eax
lea ecx, [ebp - 0x90]
call fcn.100056d0
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 [0x100b0960]
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x10055055
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.10005480
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp eax, 0x10
jb 0x10055088
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.10005480
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x1005509d
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.10005480
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.1005cea0
mov esp, ebp
pop ebp
ret 8
cmp eax, dword [esi + 0x10]
jne 0x100551d2
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.1000fe30
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 0x1005515d
mov ecx, dword [ebp - 0x24]
lea edi, [ecx + 1]
cmp eax, edi
jae 0x10055154
push edi
lea ecx, [ebp - 0x20]
call fcn.1000ffd0
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.1000fd00
mov ecx, eax
call fcn.1000fd00
mov ecx, eax
call fcn.1000fd00
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 0x100551b5
mov ecx, dword ds:[0x100a7ebc]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x98]
push dword [ebp - 0x6c]
call dword [0x100a7eb8]
mov ecx, esi
call fcn.10055390
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.1000ff60
mov al, 1
jmp 0x1005509f
cmp eax, dword [esi + 4]
jne 0x100551dc
call fcn.10055390
mov al, 1
jmp 0x1005509f