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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100441df
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
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 - 0x78], edi
mov eax, dword [edi]
mov dword [0x100535f4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1003a875
cmp dword [ebp + 0xc], 1
jne 0x1003a875
cmp eax, dword [edi + 0xc]
jne 0x1003a894
mov ecx, dword [edi + 8]
call fcn.1000eb40
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.10004f90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x1003a207
mov ah, 0x32
mov byte [ebp - 0x6c], 0
mov al, 0x66
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x53
mov byte [ebp - 0x6f], al
mov dl, 0x55
xor cl, ah
xor dl, ah
mov byte [ebp - 0x6e], cl
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x6d], dl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004560
mov byte [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x1004ae60]
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0x2c236a
nop dword [eax]
mov al, byte [ebp - 0x90]
xor byte [ebp + ecx - 0x8f], al
inc ecx
cmp ecx, 0x12
jb 0x1003a1a0
lea eax, [ebp - 0x8f]
mov byte [ebp - 0x7d], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10004560
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 - 0xac]
push eax
push eax
call dword [0x1004a06c]
lea ecx, [ebp - 0xac]
call fcn.100044a0
lea ecx, [ebp - 0x2c]
call fcn.100044a0
jmp 0x1003a863
cmp ecx, 0x20
jbe 0x1003a2c9
mov ah, 0x21
mov byte [ebp - 0x6c], 0
mov al, 0x75
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x40
mov byte [ebp - 0x6f], al
mov dl, 0x46
xor cl, ah
xor dl, ah
mov byte [ebp - 0x6e], cl
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x6d], dl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004560
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [str.m9_f_nM__M]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x430a0302
mov word [ebp - 0x80], 0x4c
mov al, byte [ebp - 0x94]
xor byte [ebp + ecx - 0x93], al
inc ecx
cmp ecx, 0x14
jb 0x1003a262
lea eax, [ebp - 0x93]
mov byte [ebp - 0x7f], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10004560
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 - 0xac]
push eax
push eax
call dword [0x1004a06c]
lea ecx, [ebp - 0xac]
call fcn.100044a0
lea ecx, [ebp - 0x2c]
call fcn.100044a0
jmp 0x1003a863
xor esi, esi
test ecx, ecx
je 0x1003a314
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x48]
cmp edx, 0x10
lea eax, [ebp - 0x48]
cmovae eax, edi
cmp byte [eax + esi], 0x20
je 0x1003a30c
cmp edx, 0x10
lea eax, [ebp - 0x48]
cmovae eax, edi
movsx eax, byte [eax + esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
test eax, eax
je 0x1003a395
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x48]
inc esi
cmp esi, ecx
jb 0x1003a2d5
mov edi, dword [ebp - 0x78]
mov byte [ebp - 0x70], 0x55
mov al, 0x12
xor al, byte [ebp - 0x70]
mov ah, 0x30
mov byte [ebp - 0x6f], al
sub esp, 0x18
mov al, byte [ebp - 0x70]
mov cl, 0x34
mov ch, 0x75
mov dword [ebp - 0x68], esp
xor cl, al
mov byte [ebp - 0x69], 0
xor ah, al
mov byte [ebp - 0x6e], cl
xor ch, al
mov byte [ebp - 0x6c], ah
mov dl, 0x38
mov byte [ebp - 0x6b], ch
mov dh, 0x18
mov byte [ebp - 0x69], 0
xor dl, al
xor dh, al
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x6d], dl
mov ecx, esp
mov byte [ebp - 0x6a], dh
push eax
call fcn.10004560
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 0x1003a48a
mov eax, dword [ecx]
jmp 0x1003a48c
mov ah, 0x48
mov byte [ebp - 0x6c], 0
mov al, 0x1c
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x29
mov byte [ebp - 0x6f], al
mov dl, 0x2f
xor cl, ah
xor dl, ah
mov byte [ebp - 0x6e], cl
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x6d], dl
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004560
mov byte [ebp - 4], 5
xor ecx, ecx
movaps xmm0, xmmword [0x1004ad20]
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xbc], 0x4a475b0f
movaps xmm0, xmmword [0x1004ad30]
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xb8], 0x484e5b0f
movaps xmm0, xmmword [0x1004aaa0]
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xb4], 0x14b460f
mov word [ebp - 0xb0], 0xe
nop word [eax + eax]
mov al, byte [ebp - 0xec]
xor byte [ebp + ecx - 0xeb], al
inc ecx
cmp ecx, 0x3c
jb 0x1003a420
lea eax, [ebp - 0xeb]
mov byte [ebp - 0xaf], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10004560
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 - 0xac]
push eax
push eax
call dword [0x1004a06c]
lea ecx, [ebp - 0xac]
call fcn.100044a0
lea ecx, [ebp - 0x2c]
call fcn.100044a0
jmp 0x1003a863
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10004f90
mov byte [ebp - 4], 0
call fcn.1000ca30
add esp, 0x30
test al, al
jne 0x1003a778
mov dh, 0x71
mov byte [ebp - 0x6a], 0
mov al, 0x36
mov byte [ebp - 0x70], dh
mov ah, 0x14
mov byte [ebp - 0x6a], 0
sub esp, 0x18
mov cl, 0x10
mov ch, 0x3c
mov dword [ebp - 0x68], esp
xor al, dh
xor ah, dh
xor cl, dh
mov byte [ebp - 0x6f], al
xor ch, dh
mov byte [ebp - 0x6c], ah
mov dl, 0x1c
mov byte [ebp - 0x6e], cl
mov byte [ebp - 0x6b], ch
lea eax, [ebp - 0x6f]
xor dl, dh
mov ecx, esp
push eax
mov byte [ebp - 0x6d], dl
call fcn.10004560
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 0x1003a520
mov eax, dword [ecx]
jmp 0x1003a522
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10004f90
mov byte [ebp - 4], 0
call fcn.1000ca30
add esp, 0x30
test al, al
jne 0x1003a778
mov dl, 0x20
mov byte [ebp - 0x75], 0
mov al, 0x67
mov byte [ebp - 0x78], dl
sub esp, 0x18
mov byte [ebp - 0x75], 0
mov cl, 0x6d
mov dword [ebp - 0x68], esp
xor al, dl
xor cl, dl
mov byte [ebp - 0x77], al
lea eax, [ebp - 0x77]
mov byte [ebp - 0x76], cl
mov ecx, esp
push eax
call fcn.10004560
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10008800
mov byte [ebp - 4], 0
call fcn.1000ca30
add esp, 0x30
test al, al
jne 0x1003a778
mov ch, 0x53
mov byte [ebp - 0x73], 0
mov al, 0x12
mov byte [ebp - 0x78], ch
mov ah, 0x3a
mov byte [ebp - 0x73], 0
xor al, ch
xor ah, ch
sub esp, 0x18
mov byte [ebp - 0x77], al
mov cl, 0x37
mov byte [ebp - 0x74], ah
xor cl, ch
mov dword [ebp - 0x6c], esp
mov dl, 0x3e
mov byte [ebp - 0x76], cl
xor dl, ch
lea eax, [ebp - 0x77]
mov ecx, esp
mov byte [ebp - 0x75], dl
push eax
call fcn.10004560
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10008800
mov byte [ebp - 4], 0
call fcn.1000ca30
add esp, 0x30
test al, al
jne 0x1003a778
mov ch, 0xa
mov byte [ebp - 0x73], 0
mov cl, 0x6f
mov byte [ebp - 0x78], ch
mov ah, cl
mov byte [ebp - 0x73], 0
mov al, 0x4e
xor ah, ch
xor al, ch
mov byte [ebp - 0x74], ah
sub esp, 0x18
mov byte [ebp - 0x77], al
xor cl, ch
mov dword [ebp - 0x6c], esp
mov dl, 0x7c
mov byte [ebp - 0x76], cl
xor dl, ch
lea eax, [ebp - 0x77]
mov ecx, esp
mov byte [ebp - 0x75], dl
push eax
call fcn.10004560
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10008800
mov byte [ebp - 4], 0
call fcn.1000ca30
add esp, 0x30
test al, al
jne 0x1003a778
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x79], 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.10008c90
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 0x1003a6ea
mov ecx, dword [ebp - 0x58]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x1003a6e1
push esi
lea ecx, [ebp - 0x54]
call fcn.10008e30
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
mov al, byte [ebp - 0x79]
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.10008bf0
mov ecx, eax
call fcn.10008bf0
mov ecx, eax
call fcn.10008bf0
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
mov esi, eax
cmovae ecx, dword [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.10008b20
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.10008bf0
mov ecx, eax
call fcn.10008bf0
mov ecx, eax
call fcn.10008bf0
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub edx, ecx
call fcn.1000f1a0
mov ecx, edi
call fcn.1003ab60
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], vtable.ByteBuffer.0
call fcn.10008dc0
lea ecx, [ebp - 0x48]
call fcn.100044a0
mov al, 1
jmp 0x1003a877
mov ah, 8
mov byte [ebp - 0x6c], 0
mov al, 0x5c
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x69
mov byte [ebp - 0x6f], al
mov dl, 0x6f
xor cl, ah
xor dl, ah
mov byte [ebp - 0x6e], cl
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x6d], dl
push eax
lea ecx, [ebp - 0xac]
call fcn.10004560
mov byte [ebp - 4], 0xc
xor ecx, ecx
movaps xmm0, xmmword [0x1004ae80]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x6e3a2120
mov dword [ebp - 0x1c], 0x2122222f
mov dword [ebp - 0x18], 0x602a2b39
mov word [ebp - 0x14], 0x6f
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x1c
jb 0x1003a7d5
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x13], 0
push eax
lea ecx, [ebp - 0x94]
call fcn.10004560
push 0
push ecx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xac]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x94]
push eax
push eax
call dword [0x1004a06c]
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x1003a833
inc eax
push eax
push dword [ebp - 0x94]
call fcn.10005600
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp eax, 0x10
jb 0x1003a863
inc eax
push eax
push dword [ebp - 0xac]
call fcn.10005600
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x1003a875
inc eax
push eax
push dword [ebp - 0x48]
call fcn.10005600
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
cmp eax, dword [edi + 0x10]
jne 0x1003a9a4
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x79], 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.10008c90
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 0x1003a935
mov ecx, dword [ebp - 0x24]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x1003a92c
push esi
lea ecx, [ebp - 0x20]
call fcn.10008e30
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov al, byte [ebp - 0x79]
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.10008bf0
mov ecx, eax
call fcn.10008bf0
mov ecx, eax
call fcn.10008bf0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x68], eax
cmp ecx, 0x4000
ja 0x1003a987
mov ecx, dword ds:[0x10045a94]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x78]
push dword [ebp - 0x68]
call dword [0x10045a90]
mov ecx, edi
call fcn.1003ab60
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10008dc0
mov al, 1
jmp 0x1003a877
cmp eax, dword [edi + 4]
jne 0x1003a9ae
call fcn.1003ab60
mov al, 1
jmp 0x1003a877