Function at 0x10079250
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
mov eax, dword [0x1010d170]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
push edi
xor edi, edi
dec eax
cmp eax, 0x29
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
jl 0x10079486
mov ecx, eax
sub ecx, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
jns 0x1007929a
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], eax
lea ebp, [eax - 0x14]
lea esi, [eax + ebp]
mov edi, 0x7c
mov ebx, str...crypto_rsa_rsa_oaep.c
call fcn.1002aa90
mov edi, eax
test edi, edi
jne 0x100792cd
push 0x7f
push ebx
push 4
lea eax, [edi + 0x41]
lea ecx, [edi + 0x7a]
call fcn.1002c650
add esp, 0xc
jmp 0x100794d3
mov ebx, dword [esp + 0x18]
push ebx
lea esi, [edi + ebp]
push 0
push esi
call fcn.100b34b0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esi + ebx]
push edx
call fcn.100b3140
push 0x100f6d70
push ebp
lea eax, [esp + 0x40]
lea ecx, [esi + 0x14]
push 0x14
push eax
mov dword [esp + 0x38], ecx
call fcn.100794f0
add esp, 0x28
test eax, eax
jne 0x100794d3
mov edx, esi
lea eax, [esp + 0x20]
xor ecx, ecx
sub edx, eax
mov edi, edi
lea eax, [esp + ecx + 0x20]
movzx ebx, byte [edx + eax]
xor byte [eax], bl
movzx ebx, byte [esi + ecx + 1]
xor byte [eax + 1], bl
movzx ebx, byte [esi + ecx + 2]
xor byte [eax + 2], bl
movzx ebx, byte [esi + ecx + 3]
xor byte [eax + 3], bl
movzx ebx, byte [esi + ecx + 4]
xor byte [eax + 4], bl
add ecx, 5
cmp ecx, 0x14
jl 0x10079320
push 0x100f6d70
push 0x14
push ebp
push edi
lea ecx, [esp + 0x30]
call fcn.100794f0
add esp, 0x10
test eax, eax
jne 0x100794d3
test ebp, ebp
jle 0x1007938b
mov ecx, dword [esp + 0x10]
mov eax, edi
sub ecx, edi
mov esi, ebp
lea ecx, [ecx]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub esi, 1
jne 0x10079380
push 0x100f6d70
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
call fcn.1002bda0
add esp, 0x14
test eax, eax
je 0x100794d3
lea eax, [esp + 0x34]
mov edx, edi
mov esi, eax
mov ecx, 0x14
sub edx, esi
lea ebx, [ebx]
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x10079486
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x100793c0
cmp dword [esp + 0x14], 0
jne 0x10079486
mov eax, 0x14
cmp eax, ebp
jge 0x100793fd
lea ebx, [ebx]
cmp byte [eax + edi], 0
jne 0x100793fb
inc eax
cmp eax, ebp
jl 0x100793f0
cmp eax, ebp
je 0x10079486
cmp byte [eax + edi], 1
jne 0x10079486
inc eax
sub ebp, eax
cmp dword [esp + 0x50], ebp
jge 0x10079433
push 0xa8
mov eax, 0x6d
push str...crypto_rsa_rsa_oaep.c
push 4
lea ecx, [eax + 0xd]
call fcn.1002c650
add esp, 0xc
or ebp, 0xffffffff
jmp 0x10079444
mov ecx, dword [esp + 0x1c]
push ebp
add eax, edi
push eax
push ecx
call fcn.100b3140
add esp, 0xc
mov eax, dword [0x10114e28]
test eax, eax
je 0x10079455
push 0
push edi
call eax
add esp, 8
push edi
call dword [0x1010f130]
mov eax, dword [0x10114e28]
add esp, 4
test eax, eax
je 0x10079471
push 1
push 0
call eax
add esp, 8
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100ae60d
add esp, 0x3c
ret
push 0xb5
mov eax, 0x79
push str...crypto_rsa_rsa_oaep.c
push 4
lea ecx, [eax + 1]
call fcn.1002c650
add esp, 0xc
test edi, edi
je 0x100794d3
mov eax, dword [0x10114e28]
test eax, eax
je 0x100794b7
push 0
push edi
call eax
add esp, 8
push edi
call dword [0x1010f130]
mov eax, dword [0x10114e28]
add esp, 4
test eax, eax
je 0x100794d3
push 1
push 0
call eax
add esp, 8
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.100ae60d
add esp, 0x3c
ret