Function at 0x1004b440
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x3c
call fcn.1008ba80
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
push ebx
push ebp
xor ebp, ebp
sub eax, 1
cmp eax, 0x29
push edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebp
jl 0x1004b6df
mov edi, eax
sub edi, dword [esp + 0x58]
jns 0x1004b49c
mov dword [esp + 0x10], 1
xor edi, edi
mov dword [esp + 0x58], eax
lea ebx, [eax - 0x14]
push 0x79
add eax, ebx
push str..crypto_rsa_rsa_oaep.c
push eax
call fcn.10014f10
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x1004b4e1
push 0x7c
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x7a
push 4
call fcn.100129f0
add esp, 0x14
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1007a730
add esp, 0x3c
ret
push esi
push edi
lea esi, [ebx + ebp]
push 0
push esi
call fcn.10081610
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esi + edi]
push eax
call fcn.10086400
lea edi, [esi + 0x14]
mov dword [esp + 0x28], edi
call fcn.100194a0
push eax
push ebx
push edi
lea ecx, [esp + 0x44]
push 0x14
push ecx
call fcn.1004b0e0
mov edi, esi
lea edx, [esp + 0x4c]
add esp, 0x2c
xor ecx, ecx
sub edi, edx
lea esp, [esp]
lea eax, [esp + ecx + 0x20]
movzx edx, byte [edi + eax]
xor byte [eax], dl
movzx edx, byte [esi + ecx + 1]
xor byte [eax + 1], dl
movzx edx, byte [esi + ecx + 2]
xor byte [eax + 2], dl
movzx edx, byte [esi + ecx + 3]
xor byte [eax + 3], dl
movzx edx, byte [esi + ecx + 4]
xor byte [eax + 4], dl
add ecx, 5
cmp ecx, 0x14
jl 0x1004b530
call fcn.100194a0
push eax
push 0x14
lea eax, [esp + 0x28]
push eax
push ebx
push ebp
call fcn.1004b0e0
add esp, 0x14
test ebx, ebx
jle 0x1004b594
mov esi, dword [esp + 0x10]
mov eax, ebp
sub esi, ebp
mov edi, ebx
mov cl, byte [esi + eax]
xor byte [eax], cl
add eax, 1
sub edi, 1
jne 0x1004b587
push 0
call fcn.100194a0
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x70]
push 0
lea edx, [esp + 0x40]
push edx
push eax
push ecx
call fcn.1001ee50
add esp, 0x18
mov eax, 0x14
lea ecx, [esp + 0x34]
mov edx, ebp
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1004b5d8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1004b5c0
test eax, eax
je 0x1004b635
movzx edi, byte [ecx]
movzx esi, byte [edx]
sub esi, edi
jne 0x1004b627
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1004b635
movzx edi, byte [ecx]
movzx esi, byte [edx]
sub esi, edi
jne 0x1004b627
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1004b635
movzx edi, byte [ecx]
movzx esi, byte [edx]
sub esi, edi
jne 0x1004b627
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1004b635
movzx eax, byte [ecx]
movzx esi, byte [edx]
sub esi, eax
je 0x1004b635
test esi, esi
mov eax, 1
jg 0x1004b637
or eax, 0xffffffff
jmp 0x1004b637
xor eax, eax
test eax, eax
pop esi
jne 0x1004b6df
cmp dword [esp + 0x10], eax
jne 0x1004b6df
mov eax, 0x14
cmp eax, ebx
jge 0x1004b662
cmp byte [eax + ebp], 0
jne 0x1004b660
add eax, 1
cmp eax, ebx
jl 0x1004b653
cmp eax, ebx
je 0x1004b6df
cmp byte [eax + ebp], 1
jne 0x1004b6df
add eax, 1
sub ebx, eax
cmp dword [esp + 0x50], ebx
jge 0x1004b6b1
push 0xa2
push str..crypto_rsa_rsa_oaep.c
push 0x6d
push 0x7a
push 4
call fcn.100129f0
add esp, 0x14
push ebp
or ebx, 0xffffffff
call fcn.100150c0
add esp, 4
pop edi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1007a730
add esp, 0x3c
ret
mov ecx, dword [esp + 0x18]
push ebx
add eax, ebp
push eax
push ecx
call fcn.10086400
add esp, 0xc
push ebp
call fcn.100150c0
add esp, 4
pop edi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1007a730
add esp, 0x3c
ret
push 0xaf
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0x7a
push 4
call fcn.100129f0
add esp, 0x14
test ebp, ebp
je 0x1004b704
push ebp
call fcn.100150c0
add esp, 4
mov ecx, dword [esp + 0x44]
pop edi
pop ebp
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.1007a730
add esp, 0x3c
ret