Function at 0x1011c770
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb0
call fcn.1017f100
mov eax, dword [0x101ec05c]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc8]
push ebx
mov ebx, dword [esp + 0xc8]
push ebp
mov ebp, dword [esp + 0xc8]
push esi
mov esi, dword [esp + 0xe0]
push edi
xor edi, edi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], edi
cmp eax, edi
jne 0x1011c7f4
call fcn.100e2ee0
mov dword [esp + 0x14], eax
cmp esi, edi
jne 0x1011c7fc
mov dword [esp + 0x24], eax
push eax
call fcn.100e3000
add esp, 4
mov dword [esp + 0x2c], eax
cmp dword [esp + 0xc8], edi
jle 0x1011ca85
cmp ebp, edi
jle 0x1011ca85
cmp ebx, ebp
jl 0x1011ca1f
lea ecx, [eax + eax + 2]
cmp ebx, ecx
jl 0x1011ca1f
mov edi, ebx
sub edi, eax
push 0x97
dec edi
push str..crypto_rsa_rsa_oaep.c
push edi
call fcn.100d38e0
push 0x98
push str..crypto_rsa_rsa_oaep.c
push ebx
mov dword [esp + 0x28], eax
call fcn.100d38e0
add esp, 0x18
cmp dword [esp + 0x10], 0
mov esi, eax
mov dword [esp + 0x28], esi
je 0x1011ca77
test esi, esi
je 0x1011ca77
push ebx
push 0
push esi
call sub.MSVCR100.dll_memset
mov edx, dword [esp + 0x2c]
push ebp
sub ebx, ebp
push edx
add ebx, esi
push ebx
call sub.MSVCR100.dll_memcpy
movzx eax, byte [esi]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
lea ebp, [eax - 1]
not eax
shr eax, 0x1f
push ecx
shr ebp, 0x1f
and ebp, eax
lea eax, [esi + 1]
push edi
lea esi, [ebx + esi + 1]
push esi
lea edx, [esp + 0x60]
push ebx
push edx
neg ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], esi
call fcn.1011c400
add esp, 0x2c
test eax, eax
jne 0x1011ca3a
xor esi, esi
test ebx, ebx
jle 0x1011c8f0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x3c]
sub ecx, eax
lea eax, [esp + esi + 0x3c]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc esi
cmp esi, ebx
jl 0x1011c8e2
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x44]
push ecx
push edi
push edx
call fcn.1011c400
add esp, 0x14
test eax, eax
jne 0x1011ca3a
test edi, edi
jle 0x1011c92a
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
sub esi, eax
mov ecx, edi
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x1011c921
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xdc]
push 0
push eax
mov eax, dword [esp + 0x38]
push 0
lea ecx, [esp + 0x88]
push ecx
push edx
push eax
call fcn.100e2190
add esp, 0x18
test eax, eax
je 0x1011ca3a
mov edx, dword [esp + 0x10]
push ebx
lea ecx, [esp + 0x80]
push ecx
push edx
call fcn.100e1b90
mov esi, dword [esp + 0x38]
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
neg ecx
and ebp, ecx
add esp, 0xc
xor ebx, ebx
mov dword [esp + 0x14], ebp
cmp esi, edi
jge 0x1011c9e4
lea ecx, [ecx]
mov edx, dword [esp + 0x10]
movzx ecx, byte [esi + edx]
mov eax, ecx
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, ebx
not eax
neg edx
and eax, edx
mov ebp, eax
and eax, esi
not ebp
and ebp, dword [esp + 0x18]
or ebx, edx
or ebp, eax
lea eax, [ecx - 1]
shr eax, 0x1f
not ecx
shr ecx, 0x1f
and eax, ecx
neg eax
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x14]
or eax, ebx
and ebp, eax
inc esi
mov dword [esp + 0x14], ebp
cmp esi, edi
jl 0x1011c990
test ebp, ebx
je 0x1011ca1f
mov eax, dword [esp + 0x18]
inc eax
sub edi, eax
mov dword [esp + 0x1c], edi
cmp dword [esp + 0xc8], edi
jge 0x1011ca62
push 0xdd
push str..crypto_rsa_rsa_oaep.c
push 0x6d
push 0xa1
push 4
call fcn.100d08d0
add esp, 0x14
mov dword [esp + 0x1c], 0xffffffff
push 0xea
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.100d08d0
add esp, 0x14
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1011ca4b
push eax
call fcn.100d3af0
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1011ca5c
push eax
call fcn.100d3af0
add esp, 4
mov eax, dword [esp + 0x1c]
jmp 0x1011ca88
add eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
push edi
push eax
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
jmp 0x1011ca3a
push 0x9a
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x1011ca2b
or eax, 0xffffffff
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1017eae7
add esp, 0xb0
ret