Function at 0x10075150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x10188068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x104], ebx
push esi
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0xf0], esi
test eax, eax
jne 0x100751a1
push 0x2a
push str.d:desktopliveness_detection_sdk_2.4_6_liveness_detection_sdk_2.4liblibtomcryptpkpkcs1pkcs_1_pss_decode.c
push str.msghash___NULL
call fcn.10074ab0
add esp, 0xc
test ebx, ebx
jne 0x100751b9
push 0x2b
push str.d:desktopliveness_detection_sdk_2.4_6_liveness_detection_sdk_2.4liblibtomcryptpkpkcs1pkcs_1_pss_decode.c
push str.res___NULL
call fcn.10074ab0
add esp, 0xc
push esi
mov dword [ebx], 0
call fcn.10074b70
add esp, 4
test eax, eax
jne 0x10075602
mov eax, dword [ebp + 0x20]
mov ebx, 0
mov ecx, dword [ebp + 0x18]
test al, 7
push edi
setne bl
shr eax, 3
add ebx, eax
mov dword [ebp - 0xec], ebx
cmp ecx, ebx
ja 0x100755fc
imul eax, esi, 0x68
mov dword [ebp - 0xf8], eax
mov edi, dword [eax + 0x1018e210]
lea eax, [ecx + 2]
add eax, edi
cmp ebx, eax
jb 0x100755fc
cmp dword [ebp + 0x14], ebx
jne 0x100755fc
push ebx
call fcn.1002de03
mov esi, eax
push ebx
mov dword [ebp - 0xe4], esi
call fcn.1002de03
push ebx
mov dword [ebp - 0xdc], eax
call fcn.1002de03
push ebx
mov dword [ebp - 0xe8], eax
call fcn.1002de03
add esp, 0x10
mov dword [ebp - 0xd8], eax
test esi, esi
je 0x100755ad
cmp dword [ebp - 0xdc], 0
je 0x100755a4
cmp dword [ebp - 0xe8], 0
je 0x100755a4
test eax, eax
je 0x100755a4
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp + 0x14]
cmp byte [ecx + edx - 1], 0xbc
je 0x10075292
mov esi, 7
jmp 0x10075567
mov eax, ebx
sub eax, edi
mov dword [ebp - 0xf4], eax
lea ebx, [eax - 1]
push ebx
push ecx
push esi
call fcn.1002afe0
mov eax, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xec]
sub eax, edi
dec eax
push edi
add eax, esi
push eax
push dword [ebp - 0xd8]
call fcn.1002afe0
lea ecx, [esi*8]
mov eax, 0xff
sub ecx, dword [ebp + 0x20]
add esp, 0x18
inc ecx
sar eax, cl
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xfc], eax
not eax
test byte [ecx], al
je 0x100752f6
mov esi, 7
jmp 0x10075561
push ebx
push dword [ebp - 0xdc]
push edi
push dword [ebp - 0xd8]
push dword [ebp - 0xf0]
call fcn.1007a760
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x10075561
xor ecx, ecx
mov dword [ebp - 0xe0], ecx
test ebx, ebx
je 0x100753fe
mov edx, dword [ebp - 0xe4]
mov esi, dword [ebp - 0xdc]
cmp ebx, 0x40
jb 0x100753dd
lea eax, [esi - 1]
mov dword [ebp - 0xe0], ecx
add eax, ebx
cmp edx, eax
ja 0x1007535d
lea eax, [edx - 1]
add eax, ebx
cmp eax, esi
jae 0x100753dd
mov eax, ebx
mov ecx, esi
and eax, 0xffffffc0
sub ecx, edx
mov dword [ebp - 0xf0], ecx
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xec], eax
mov eax, edx
mov edx, dword [ebp - 0xf0]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [esi + ecx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [esi + ecx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [esi + ecx + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, dword [ebp - 0xec]
jb 0x10075380
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe0], ecx
cmp ecx, ebx
jae 0x100753fe
add ecx, edx
sub esi, edx
sub ebx, dword [ebp - 0xe0]
nop dword [eax + eax]
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebx, 1
jne 0x100753f0
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xf4]
sub edx, dword [ebp + 0x18]
and byte [ecx], al
xor eax, eax
add edx, 0xfffffffe
je 0x1007542f
nop dword [eax]
cmp byte [eax + ecx], 0
jne 0x100752ec
inc eax
cmp eax, edx
jb 0x10075420
add eax, ecx
mov dword [ebp - 0xf4], eax
cmp byte [eax], 1
jne 0x100752ec
mov ebx, dword [ebp - 0xf8]
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebx + 0x1018e25c]
call eax
mov esi, eax
add esp, 4
test esi, esi
jne 0x10075561
mov esi, dword [ebp - 0xdc]
push 8
push esi
call fcn.1007a720
push 8
lea eax, [ebp - 0xd4]
push esi
push eax
mov eax, dword [ebx + 0x1018e260]
call eax
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x10075561
push dword [ebp + 0xc]
lea eax, [ebp - 0xd4]
push dword [ebp - 0x100]
push eax
mov eax, dword [ebx + 0x1018e260]
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10075561
push dword [ebp + 0x18]
mov eax, dword [ebp - 0xf4]
inc eax
push eax
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebx + 0x1018e260]
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10075561
mov ebx, dword [ebp - 0xdc]
lea eax, [ebp - 0xd4]
push ebx
push eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x1018e264]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x10075561
mov edx, dword [ebp - 0xd8]
mov ecx, ebx
sub edi, 4
jb 0x10075521
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10075526
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10075510
cmp edi, 0xfffffffc
je 0x10075553
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1007555f
cmp edi, 0xfffffffd
je 0x10075553
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1007555f
cmp edi, 0xfffffffe
je 0x10075553
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1007555f
cmp edi, 0xffffffff
je 0x10075553
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1007555f
mov eax, dword [ebp - 0x104]
mov dword [eax], 1
xor esi, esi
mov eax, dword [ebp - 0xd8]
push eax
call fcn.1002d945
push dword [ebp - 0xe8]
call fcn.1002d945
push dword [ebp - 0xdc]
call fcn.1002d945
push dword [ebp - 0xe4]
call fcn.1002d945
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029ae5
mov esp, ebp
pop ebp
ret
push esi
call fcn.1002d945
add esp, 4
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x100755c0
push eax
call fcn.1002d945
add esp, 4
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x100755d3
push eax
call fcn.1002d945
add esp, 4
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x100755e6
push eax
call fcn.1002d945
add esp, 4
pop edi
pop esi
mov eax, 0xd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029ae5
mov esp, ebp
pop ebp
ret
mov eax, 0x16
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10029ae5
mov esp, ebp
pop ebp
ret