Function at 0x1003b400
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x100d6084]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 0x34262547
mov dl, 0x47
mov dword [esp + 0x14], 0x26331822
mov dword [esp + 0x18], 0x76772c34
xor ecx, ecx
mov byte [esp + 0x1c], 0
nop
lea eax, [esp + 0x11]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xb
jae 0x1003b453
mov dl, byte [esp + 0x10]
jmp 0x1003b440
cmp byte [esp + 0x11], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
jne 0x1003b478
xor ecx, ecx
jmp 0x1003b489
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b480
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x48]
call fcn.10002840
mov ecx, dword [edi]
lea edx, [esp + 0x40]
call fcn.1001b710
mov dword [edi + 4], eax
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x1003b4be
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.10002720
movaps xmm0, xmmword [0x100c8030]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xe
jb 0x1003b4d0
cmp byte [esp + 0x11], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
jne 0x1003b503
xor ecx, ecx
jmp 0x1003b519
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b510
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x48]
call fcn.10002840
mov ecx, dword [edi + 4]
lea edx, [esp + 0x40]
call fcn.1001b710
mov dword [edi + 8], eax
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x1003b54f
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.10002720
mov dh, 0x19
mov byte [esp + 0xe], 0x1a
mov byte [esp + 0x3f], dh
mov al, 0x1d
mov dh, byte [esp + 0xe]
mov cl, 0x1b
mov byte [esp + 0x64], 0x69
mov dl, 0x36
xor dh, byte [esp + 0x64]
mov ah, 0xc
xor al, byte [esp + 0x64]
mov ch, 0x11
mov byte [esp + 0xe], dh
mov byte [esp + 0x65], dh
mov dh, byte [esp + 0x3f]
mov byte [esp + 0x66], al
mov al, byte [esp + 0x64]
xor cl, al
mov byte [esp + 0x6c], 0
xor dl, al
mov byte [esp + 0x67], cl
xor ah, al
mov byte [esp + 0x68], dl
xor ch, al
mov byte [esp + 0x69], ah
xor dh, al
mov byte [esp + 0x6a], ch
cmp byte [esp + 0xe], 0
mov byte [esp + 0x6b], dh
mov byte [esp + 0x6c], 0
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
jne 0x1003b5d1
xor ecx, ecx
jmp 0x1003b5e1
lea ecx, [esp + 0x65]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b5d8
sub ecx, edx
push ecx
lea eax, [esp + 0x69]
push eax
lea ecx, [esp + 0x48]
call fcn.10002840
mov ecx, dword [edi + 4]
lea edx, [esp + 0x40]
call fcn.1001b710
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x1003b617
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.10002720
mov byte [esp + 0x10], 0x3c
mov al, 0x5d
xor al, byte [esp + 0x10]
mov cl, 0x4f
xor cl, byte [esp + 0x10]
mov dh, 0x55
mov byte [esp + 0x12], al
mov dl, 0x59
mov byte [esp + 0x5b], 0x5b
mov ah, 0x63
mov al, byte [esp + 0x5b]
mov ch, 0x4e
mov byte [esp + 0x13], cl
mov cl, byte [esp + 0x10]
xor al, cl
mov byte [esp + 0x3f], dh
mov byte [esp + 0x18], al
xor dl, cl
mov byte [esp + 0xe], 0x5e
xor ah, cl
mov dh, byte [esp + 0xe]
xor ch, cl
xor dh, byte [esp + 0x10]
mov byte [esp + 0x37], 0x54
mov al, byte [esp + 0x37]
xor al, cl
mov byte [esp + 0xe], dh
mov byte [esp + 0x11], dh
mov dh, byte [esp + 0x3f]
mov byte [esp + 0x19], al
xor dh, cl
mov byte [esp + 0xf], 0x48
mov al, byte [esp + 0xf]
xor al, cl
mov byte [esp + 0x1b], 0
cmp byte [esp + 0xe], 0
mov byte [esp + 0x14], dl
mov byte [esp + 0x15], ah
mov byte [esp + 0x16], ch
mov byte [esp + 0x17], dh
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], 0
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
jne 0x1003b6c8
xor ecx, ecx
jmp 0x1003b6d9
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b6d0
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x48]
call fcn.10002840
mov ecx, dword [edi + 4]
lea edx, [esp + 0x40]
call fcn.1001b710
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x1003b70f
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.10002720
xor eax, eax
mov dword [esp + 0x64], 8
mov dword [esp + 0x5c], eax
lea esi, [edi + 0x14]
push eax
mov byte [esp + 0x14], 0x3e
mov al, 0x5c
xor al, byte [esp + 0x14]
mov cl, 0x4a
xor cl, byte [esp + 0x14]
mov dl, 0x50
mov byte [esp + 0x15], al
mov dh, 0x10
mov byte [esp + 0x16], cl
sub esp, 0x18
mov cl, byte [esp + 0x2c]
mov ah, 0x61
mov byte [esp + 0x2b], 0xc
xor dl, cl
mov al, byte [esp + 0x2b]
xor dh, cl
mov byte [esp + 0x2f], dl
xor al, cl
mov byte [esp + 0x33], al
mov ch, 0x1b
mov byte [esp + 0x32], dh
xor ah, cl
mov edx, esp
mov byte [esp + 0x35], 0
mov byte [esp + 0x53], 0x5a
xor ch, cl
mov al, byte [esp + 0x53]
mov byte [esp + 0x30], ah
xor al, cl
mov byte [esp + 0x31], ch
mov byte [esp + 0x34], al
mov byte [esp + 0x35], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1003b7b1
mov eax, dword [edx]
jmp 0x1003b7b3
mov eax, edx
mov byte [eax], 0
cmp byte [esp + 0x2d], 0
jne 0x1003b7c1
xor ecx, ecx
jmp 0x1003b7db
lea ecx, [esp + 0x2d]
lea eax, [ecx + 1]
mov dword [esp + 0x54], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b7d0
sub ecx, dword [esp + 0x54]
push ecx
lea eax, [esp + 0x31]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [esp + 0x5c]
push eax
call fcn.10005e70
mov ecx, dword [edi + 0x10]
add esp, 0x20
mov edx, eax
call fcn.1001b710
mov dword [esi], eax
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x1003b819
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.10002720
mov eax, dword [esp + 0x5c]
add esi, 4
inc eax
sub dword [esp + 0x64], 1
mov dword [esp + 0x5c], eax
jne 0x1003b720
movaps xmm0, xmmword [0x100c8b40]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
mov byte [esp + 0x20], 0
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xf
jb 0x1003b843
cmp byte [esp + 0x11], 0
mov byte [esp + 0x20], 0
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
jne 0x1003b876
xor ecx, ecx
jmp 0x1003b889
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b880
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x48]
call fcn.10002840
mov ecx, dword [edi]
lea edx, [esp + 0x40]
call fcn.1001b710
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x1003b8be
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.10002720
movaps xmm0, xmmword [str.0CDBoECUB_DYSU]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xe
jb 0x1003b8d0
cmp byte [esp + 0x11], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
jne 0x1003b903
xor ecx, ecx
jmp 0x1003b919
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b910
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x48]
call fcn.10002840
mov ecx, dword [edi + 0x34]
lea edx, [esp + 0x40]
call fcn.1001b710
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x1003b94f
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.10002720
mov dh, 0x1a
mov byte [esp + 0xe], 0x19
mov byte [esp + 0xf], dh
mov al, 0x1e
mov dh, byte [esp + 0xe]
mov cl, 0x18
mov byte [esp + 0x64], 0x6a
mov dl, 0x35
xor dh, byte [esp + 0x64]
mov ah, 0xf
xor al, byte [esp + 0x64]
mov ch, 0x12
mov byte [esp + 0xe], dh
mov byte [esp + 0x65], dh
mov dh, byte [esp + 0xf]
mov byte [esp + 0x66], al
mov al, byte [esp + 0x64]
xor cl, al
mov byte [esp + 0x6c], 0
xor dl, al
mov byte [esp + 0x67], cl
xor ah, al
mov byte [esp + 0x68], dl
xor ch, al
mov byte [esp + 0x69], ah
xor dh, al
mov byte [esp + 0x6a], ch
cmp byte [esp + 0xe], 0
mov byte [esp + 0x6b], dh
mov byte [esp + 0x6c], 0
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
jne 0x1003b9d1
xor ecx, ecx
jmp 0x1003b9e1
lea ecx, [esp + 0x65]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b9d8
sub ecx, edx
push ecx
lea eax, [esp + 0x69]
push eax
lea ecx, [esp + 0x48]
call fcn.10002840
mov ecx, dword [edi + 0x34]
lea edx, [esp + 0x40]
call fcn.1001b710
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x1003ba17
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.10002720
mov dl, 0x75
mov dword [esp + 0x10], 0x1a070575
mov dword [esp + 0x14], 0x6100712
xor ecx, ecx
mov dword [esp + 0x18], 0xd102a06
mov word [esp + 0x1c], 5
nop word [eax + eax]
lea eax, [esp + 0x11]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x1003ba53
mov dl, byte [esp + 0x10]
jmp 0x1003ba40
cmp byte [esp + 0x11], 0
mov byte [esp + 0x1d], 0
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
jne 0x1003ba78
xor ecx, ecx
jmp 0x1003ba89
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ba80
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x48]
call fcn.10002840
mov ecx, dword [edi + 0x34]
lea edx, [esp + 0x40]
call fcn.1001b710
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x1003babf
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.10002720
lea eax, [edi + 0x44]
mov dword [esp + 0x64], 8
xor esi, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov byte [esp + 0x10], 0x19
mov al, 0x7b
xor al, byte [esp + 0x10]
mov cl, 0x6d
xor cl, byte [esp + 0x10]
mov dl, 0x77
mov byte [esp + 0x11], al
mov dh, 0x37
mov byte [esp + 0x12], cl
mov ah, 0x46
mov cl, byte [esp + 0x10]
mov ch, 0x3c
mov byte [esp + 0xf], 0x2b
xor dl, cl
mov al, byte [esp + 0xf]
xor dh, cl
xor al, cl
mov byte [esp + 0x13], dl
mov byte [esp + 0x17], al
xor ah, cl
push esi
mov byte [esp + 0x1a], dh
sub esp, 0x18
mov edx, esp
mov byte [esp + 0x53], 0x7d
mov al, byte [esp + 0x53]
xor ch, cl
mov byte [esp + 0x35], 0
xor al, cl
mov byte [esp + 0x30], ah
mov byte [esp + 0x31], ch
mov byte [esp + 0x34], al
mov byte [esp + 0x35], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x2d], 0
jne 0x1003bb5b
xor ecx, ecx
jmp 0x1003bb71
lea ecx, [esp + 0x2d]
lea eax, [ecx + 1]
mov dword [esp + 0x54], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003bb66
sub ecx, dword [esp + 0x54]
push ecx
lea eax, [esp + 0x31]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [esp + 0x5c]
push eax
call fcn.10005e70
mov ecx, dword [edi + 0x34]
add esp, 0x20
mov edx, eax
call fcn.1001b710
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x1003bbb3
inc eax
lea ecx, [esp + 0x40]
push eax
push dword [esp + 0x44]
call fcn.10002720
add dword [esp + 0x5c], 4
inc esi
sub dword [esp + 0x64], 1
jne 0x1003bad4
mov eax, dword [edi + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
test eax, eax
je 0x1003bbfd
push 4
push eax
call esi
test eax, eax
jne 0x1003bbfd
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x64]
push eax
call dword [0x100c6810]
mov eax, dword [edi + 8]
mov dword [esp + 0x38], eax
test eax, eax
je 0x1003bc23
push 4
push eax
call esi
test eax, eax
jne 0x1003bc23
push dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
push dword [esp + 0x68]
call dword [0x100c6814]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
test eax, eax
je 0x1003bc83
push 4
push eax
call esi
test eax, eax
jne 0x1003bc83
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0xe0]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0xe4]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xe8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 8]
movaps xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x38], eax
test eax, eax
je 0x1003bcb0
push 4
push eax
call esi
test eax, eax
jne 0x1003bcb0
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x70]
push eax
call dword [0x100c6804]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
test eax, eax
je 0x1003bce3
push 4
push eax
call esi
test eax, eax
jne 0x1003bce3
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x64]
push eax
call dword [0x100c6810]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x38], eax
test eax, eax
je 0x1003bd09
push 4
push eax
call esi
test eax, eax
jne 0x1003bd09
push dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
push dword [esp + 0x68]
call dword [0x100c6814]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
test eax, eax
je 0x1003bd69
push 4
push eax
call esi
test eax, eax
jne 0x1003bd69
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0xe0]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0xe4]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xe8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
movaps xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x38], eax
test eax, eax
je 0x1003bd96
push 4
push eax
call esi
test eax, eax
jne 0x1003bd96
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x70]
push eax
call dword [0x100c6804]
mov edi, dword [edi + 0x40]
test edi, edi
je 0x1003bddc
push 4
push edi
call esi
test eax, eax
jne 0x1003bddc
lea eax, [edi + 0x140]
push 4
push eax
call esi
test eax, eax
jne 0x1003bddc
lea eax, [edi + 0x13c]
push 4
push eax
call esi
test eax, eax
jne 0x1003bddc
mov ecx, edi
mov dword [edi + 0x140], eax
mov dword [edi + 0x13c], 0x64
call dword [0x100c6864]
mov edi, dword [esp + 0x60]
mov edi, dword [edi]
test edi, edi
je 0x1003bdf8
push 4
push edi
call esi
test eax, eax
jne 0x1003bdf8
push eax
mov ecx, edi
call dword [0x100c681c]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret