Function at 0x100d4f40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb0
call fcn.10156030
mov eax, dword [0x102096e4]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xd0]
push ebx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc0]
push ebp
mov ebp, dword [esp + 0xcc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd0]
push esi
mov dword [esp + 0x30], eax
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], eax
push edi
mov edi, dword [esp + 0xe4]
test ecx, ecx
jne 0x100d4fc0
call fcn.1006ebf0
mov ecx, eax
mov dword [esp + 0x28], eax
test edi, edi
push ecx
cmove edi, ecx
mov dword [esp + 0x1c], edi
call fcn.10089040
add esp, 4
mov edi, eax
mov dword [esp + 0x24], edi
cmp dword [esp + 0xc8], esi
jle 0x100d536e
test ebx, ebx
jle 0x100d536e
cmp ebp, ebx
jl 0x100d530e
lea eax, [edi*2 + 2]
cmp ebp, eax
jl 0x100d530e
mov ebx, ebp
push 0x97
sub ebx, edi
dec ebx
push str..crypto_rsa_rsa_oaep.c
push ebx
mov dword [esp + 0x2c], ebx
call fcn.100665c0
push 0x98
mov esi, eax
push str..crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x48], esi
call fcn.100665c0
add esp, 0x18
mov dword [esp + 0x14], eax
test esi, esi
je 0x100d5360
test eax, eax
je 0x100d5360
push ebp
push 0
push eax
call fcn.10157450
mov eax, dword [esp + 0x28]
sub ebp, eax
add ebp, dword [esp + 0x20]
push eax
push dword [esp + 0x20]
push ebp
call fcn.101576e0
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x30]
push ebx
movzx eax, byte [ecx]
lea ebp, [ecx + 1]
dec eax
shr eax, 0x1f
neg eax
mov dword [esp + 0x30], eax
lea eax, [ecx + 1]
add eax, edi
push eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x60]
push edi
push eax
call fcn.100d49d0
add esp, 0x2c
test eax, eax
jne 0x100d5329
xor edx, edx
test edi, edi
jle 0x100d5150
cmp edi, 0x40
jb 0x100d5132
lea eax, [ebp - 1]
lea ebx, [esp + 0x3c]
add eax, edi
cmp ebx, eax
lea ecx, [esp + edi + 0x3b]
mov ebx, dword [esp + 0x20]
ja 0x100d50cd
cmp ecx, ebp
jae 0x100d5132
mov eax, edi
and eax, 0x8000003f
jns 0x100d50db
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, edi
sub ecx, eax
nop
movups xmm0, xmmword [esp + edx + 0x3c]
movups xmm1, xmmword [edx + ebp]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x3c], xmm1
movups xmm0, xmmword [esp + edx + 0x4c]
movups xmm1, xmmword [edx + ebp + 0x10]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x4c], xmm1
movups xmm0, xmmword [esp + edx + 0x5c]
movups xmm1, xmmword [edx + ebp + 0x20]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x5c], xmm1
movups xmm0, xmmword [esp + edx + 0x6c]
movups xmm1, xmmword [edx + ebp + 0x30]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x6c], xmm1
add edx, 0x40
cmp edx, ecx
jl 0x100d50e0
cmp edx, edi
jge 0x100d5150
lea eax, [esp + 0x3c]
sub ebp, eax
nop dword [eax]
lea ecx, [esp + 0x3c]
add ecx, edx
inc edx
mov al, byte [ecx + ebp]
xor byte [ecx], al
cmp edx, edi
jl 0x100d5140
push dword [esp + 0x18]
lea eax, [esp + 0x40]
push edi
push eax
push ebx
push esi
call fcn.100d49d0
add esp, 0x14
test eax, eax
jne 0x100d5329
xor edx, edx
test ebx, ebx
jle 0x100d5234
cmp ebx, 0x40
jb 0x100d5211
mov ecx, dword [esp + 0x1c]
lea ebp, [esi - 1]
add ebp, ebx
lea eax, [ecx - 1]
add eax, ebx
cmp esi, eax
ja 0x100d5195
cmp ebp, ecx
jae 0x100d5211
mov eax, ebx
and eax, 0x8000003f
jns 0x100d51a3
dec eax
or eax, 0xffffffc0
inc eax
mov ebp, ebx
mov edi, ecx
sub ebp, eax
sub edi, esi
mov dword [esp + 0x18], edi
mov eax, esi
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
nop dword [eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx + edx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx + edx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [ecx + edx + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ebp
jl 0x100d51c0
mov ebx, dword [esp + 0x20]
cmp edx, ebx
jge 0x100d5234
mov edi, dword [esp + 0x1c]
lea ecx, [edx + esi]
mov ebp, ebx
sub edi, esi
sub ebp, edx
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebp, 1
jne 0x100d5222
mov edi, dword [esp + 0x24]
push 0
push dword [esp + 0x2c]
lea eax, [esp + 0x84]
push 0
push eax
push dword [esp + 0xec]
push dword [esp + 0x48]
call fcn.1006e3b0
add esp, 0x18
test eax, eax
je 0x100d5329
push edi
lea eax, [esp + 0x80]
push eax
push esi
call fcn.10082ba0
mov edx, dword [esp + 0x1c]
add esp, 0xc
xor ebp, ebp
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and edx, ecx
mov dword [esp + 0x10], edx
cmp edi, ebx
jge 0x100d52df
movzx esi, byte [edi + esi]
mov ecx, ebp
mov eax, esi
not ecx
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
or ebp, edx
mov edx, dword [esp + 0x10]
mov eax, ecx
not eax
and ecx, edi
and eax, dword [esp + 0x2c]
inc edi
or ecx, eax
lea eax, [esi - 1]
mov esi, dword [esp + 0x30]
shr eax, 0x1f
neg eax
mov dword [esp + 0x2c], ecx
or eax, ebp
and edx, eax
mov dword [esp + 0x10], edx
cmp edi, ebx
jl 0x100d5290
jmp 0x100d52e1
xor ecx, ecx
test edx, ebp
je 0x100d530e
lea eax, [ecx + 1]
sub ebx, eax
cmp dword [esp + 0xc8], ebx
jge 0x100d534e
push 0xdd
push str..crypto_rsa_rsa_oaep.c
push 0x6d
push 0xa1
push 4
call fcn.100787f0
add esp, 0x14
push 0xea
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.100787f0
add esp, 0x14
or ebx, 0xffffffff
test esi, esi
je 0x100d5339
push esi
call fcn.100663e0
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100d534a
push eax
call fcn.100663e0
add esp, 4
mov eax, ebx
jmp 0x100d5371
push ebx
add eax, esi
push eax
push dword [esp + 0x40]
call fcn.101576e0
add esp, 0xc
jmp 0x100d532c
push 0x9a
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x100d531a
or eax, 0xffffffff
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10155c5f
add esp, 0xb0
ret