Function at 0x100b66c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb8
call fcn.101cf170
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xd0]
push ebx
push ebp
mov ebp, dword [esp + 0xd4]
push esi
mov esi, dword [esp + 0xe8]
push edi
xor edi, edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
cmp eax, edi
jne 0x100b6732
call fcn.10034210
mov dword [esp + 0x20], eax
cmp esi, edi
jne 0x100b673a
mov dword [esp + 0x2c], eax
push eax
call fcn.100470e0
add esp, 4
mov ebx, eax
mov dword [esp + 0x30], ebx
cmp dword [esp + 0xd0], edi
jle 0x100b6b8b
mov esi, dword [esp + 0xd8]
cmp esi, edi
jle 0x100b6b8b
cmp ebp, esi
jl 0x100b6b70
lea edx, [ebx + ebx + 2]
cmp ebp, edx
jl 0x100b6b70
push 0x9d
sub ebp, ebx
dec ebp
push str.crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x40], ebp
call fcn.100326e0
add esp, 0xc
mov dword [esp + 0x28], eax
test eax, eax
jne 0x100b67bb
push 0x9f
push str.crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.1003c300
add esp, 0x14
jmp 0x100b6b19
mov eax, dword [esp + 0x38]
push 0xa3
push str.crypto_rsa_rsa_oaep.c
push eax
call fcn.100326e0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x100b67e3
push 0xa6
jmp 0x100b67a0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0xd4]
add ecx, eax
add edi, esi
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x100b6828
mov dword [esp + 0x1c], eax
mov edi, edi
mov edx, esi
not edx
lea eax, [esi - 1]
shr eax, 0x1f
shr edx, 0x1f
and eax, edx
dec eax
mov edx, eax
and edx, 1
sub edi, edx
and al, byte [edi]
dec ecx
sub esi, edx
dec dword [esp + 0x1c]
mov byte [ecx], al
jne 0x100b6800
mov dword [esp + 0x1c], ecx
movzx eax, byte [ecx]
lea edx, [eax - 1]
not eax
shr edx, 0x1f
shr eax, 0x1f
and edx, eax
mov eax, dword [esp + 0x2c]
push eax
lea edi, [ecx + 1]
lea ecx, [ebx + ecx + 1]
push ebp
push ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x50]
neg edx
push ebx
push ecx
mov dword [esp + 0x28], edx
call fcn.100b6320
add esp, 0x14
test eax, eax
jne 0x100b6b15
xor esi, esi
test ebx, ebx
jle 0x100b6880
lea edx, [esp + 0x44]
sub edi, edx
lea eax, [esp + esi + 0x44]
mov cl, byte [edi + eax]
xor byte [eax], cl
inc esi
cmp esi, ebx
jl 0x100b6872
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push edx
push ebx
lea eax, [esp + 0x4c]
push eax
push ebp
push edi
call fcn.100b6320
add esp, 0x14
test eax, eax
jne 0x100b6b15
test ebp, ebp
jle 0x100b68b9
mov esi, dword [esp + 0x18]
mov eax, edi
sub esi, edi
mov ecx, ebp
nop
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x100b68b0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xe4]
push 0
push eax
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x90]
push ecx
push edx
push eax
call fcn.1004c230
add esp, 0x18
test eax, eax
je 0x100b6b15
push ebx
lea ecx, [esp + 0x88]
push ecx
push edi
call fcn.10045f50
lea edx, [eax - 1]
shr edx, 0x1f
not eax
shr eax, 0x1f
and edx, eax
neg edx
and dword [esp + 0x20], edx
add esp, 0xc
xor edi, edi
mov esi, ebx
cmp ebx, ebp
jge 0x100b6974
mov eax, dword [esp + 0x28]
movzx ecx, byte [esi + eax]
mov eax, ecx
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
mov eax, edi
not eax
and eax, edx
or edi, edx
mov dword [esp + 0x10], eax
lea edx, [ecx - 1]
not eax
shr edx, 0x1f
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
and ebx, dword [esp + 0x24]
not ecx
shr ecx, 0x1f
and edx, ecx
neg edx
and eax, esi
or edx, edi
and dword [esp + 0x14], edx
or eax, ebx
inc esi
mov dword [esp + 0x24], eax
cmp esi, ebp
jl 0x100b6914
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0xd0]
mov edx, ebp
sub edx, dword [esp + 0x24]
mov eax, esi
dec edx
sub eax, edx
xor eax, edx
mov ecx, edx
xor ecx, esi
or eax, ecx
xor eax, esi
shr eax, 0x1f
dec eax
and eax, edi
and dword [esp + 0x14], eax
mov ecx, ebp
sub ecx, ebx
lea edi, [ecx - 1]
mov eax, edi
sub eax, esi
xor eax, esi
mov dword [esp + 0x10], edi
xor edi, esi
or eax, edi
xor eax, dword [esp + 0x10]
lea edi, [ecx - 1]
shr eax, 0x1f
neg eax
mov dword [esp + 0x10], eax
not eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
and eax, edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x18]
and edi, esi
or eax, edi
mov edi, 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0xd0], eax
cmp dword [esp + 0x20], edi
jle 0x100b6a74
sub ecx, edx
dec ecx
mov dword [esp + 0x10], ecx
jmp 0x100b6a00
mov eax, dword [esp + 0x10]
and eax, edi
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, ebp
sub eax, edi
lea esi, [ebx + 1]
dec ecx
cmp esi, eax
jge 0x100b6a65
add esi, dword [esp + 0x28]
movzx ebp, cl
mov ecx, dword [esp + 0x30]
inc ecx
mov ebx, ebp
sub eax, ecx
not ebx
mov dword [esp + 0x24], eax
mov cl, byte [esi + edi]
mov dl, byte [esi]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x18]
and al, cl
mov ecx, dword [esp + 0x2c]
and cl, dl
or al, cl
mov byte [esi], al
inc esi
dec dword [esp + 0x24]
jne 0x100b6a35
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
add edi, edi
cmp edi, dword [esp + 0x20]
jl 0x100b6a00
mov eax, dword [esp + 0xd0]
xor esi, esi
test eax, eax
jle 0x100b6aed
movzx eax, byte [esp + 0x14]
mov ecx, edx
mov edi, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
lea eax, [ebx + edx + 1]
shr ecx, 0x1f
neg edi
mov dword [esp + 0x10], eax
mov eax, esi
shr eax, 0x1f
mov bl, al
mov edx, edi
shr edx, 0x1f
xor dl, cl
xor bl, cl
or dl, bl
xor dl, al
neg dl
movzx eax, dl
and eax, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov dl, byte [edx + esi]
mov dword [esp + 0x30], eax
not eax
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov al, byte [eax + esi]
and bl, dl
mov edx, dword [esp + 0x30]
and dl, al
mov eax, dword [esp + 0x40]
or bl, dl
mov byte [eax + esi], bl
inc esi
inc edi
cmp esi, dword [esp + 0xd0]
jl 0x100b6a98
push 0x107
push str.crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.1003c300
mov ecx, dword [esp + 0x28]
and ecx, 1
push ecx
call fcn.1003c2b0
add esp, 0x18
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x44]
push 0x40
push edx
call fcn.10045ee0
mov eax, dword [esp + 0x30]
push 0x10b
push str.crypto_rsa_rsa_oaep.c
push ebp
push eax
call fcn.100327b0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
push 0x10c
push str.crypto_rsa_rsa_oaep.c
push ecx
push edx
call fcn.100327b0
mov dword [esp + 0x5c], edi
not edi
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x5c]
and eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
add esp, 0x28
or eax, ecx
jmp 0x100b6b8e
push 0x98
push str.crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.1003c300
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ce9e2
add esp, 0xb8
ret