Function at 0x10037f40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x74
call fcn.1010fe20
mov eax, dword [0x1017cf40]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x94]
push edi
mov edi, dword [esp + 0x94]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], 0
call fcn.100067f0
add esp, 4
test edi, edi
jne 0x10037f9f
mov dword [esp + 0x1c], ebp
push ebp
call fcn.10006370
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x18], edi
jl 0x10038305
mov eax, dword [esp + 0x9c]
cmp eax, 0xffffffff
jne 0x10038012
mov dword [esp + 0x9c], edi
mov edx, dword [ebx + 0x10]
push edx
call fcn.100274d0
mov ebp, eax
sub ebp, 1
push ebx
and ebp, 7
call fcn.1001d180
mov ecx, ebp
mov edx, 0xff
shl edx, cl
mov cl, byte [esi]
add esp, 8
test cl, dl
je 0x10038042
push 0x76
push str..crypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.10005d40
add esp, 0x14
jmp 0x10038305
cmp eax, 0xfffffffe
jne 0x10038020
mov dword [esp + 0x9c], eax
jmp 0x10037fc9
jge 0x10037fc9
push 0x6f
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.10005d40
add esp, 0x14
jmp 0x10038305
test ebp, ebp
jne 0x1003804c
add esi, 1
sub eax, 1
mov edx, dword [esp + 0x9c]
lea ecx, [edi + edx + 2]
cmp eax, ecx
jge 0x10038078
push 0x7e
push str..crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.10005d40
add esp, 0x14
jmp 0x10038305
cmp byte [esi + eax - 1], 0xbc
je 0x100380a2
push 0x82
push str..crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.10005d40
add esp, 0x14
jmp 0x10038305
sub eax, edi
sub eax, 1
mov edi, eax
push 0x87
lea edx, [esi + edi]
push str..crypto_rsa_rsa_pss.c
push edi
mov dword [esp + 0x20], edx
call fcn.10002040
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x100380e9
push 0x89
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.10005d40
add esp, 0x14
jmp 0x100382f8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push edi
push ebx
call fcn.10038890
add esp, 0x14
test eax, eax
jl 0x100382f8
test edi, edi
jle 0x10038121
mov eax, ebx
sub esi, ebx
mov ecx, edi
mov dl, byte [esi + eax]
xor byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x10038114
test ebp, ebp
je 0x10038135
mov ecx, 8
sub ecx, ebp
mov eax, 0xff
sar eax, cl
and byte [ebx], al
xor esi, esi
cmp byte [ebx], 0
jne 0x1003814d
lea eax, [edi - 1]
nop
cmp esi, eax
jge 0x1003814d
add esi, 1
cmp byte [esi + ebx], 0
je 0x10038140
mov cl, byte [esi + ebx]
add esi, 1
cmp cl, 1
je 0x1003817b
push 0x94
push str..crypto_rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call fcn.10005d40
add esp, 0x14
jmp 0x100382f8
mov eax, dword [esp + 0x9c]
test eax, eax
jl 0x100381b1
mov edx, edi
sub edx, esi
cmp edx, eax
je 0x100381b1
push 0x98
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.10005d40
add esp, 0x14
jmp 0x100382f8
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.10006840
add esp, 0xc
test eax, eax
je 0x100382f8
push 8
lea edx, [esp + 0x2c]
push 0x101535b8
push edx
call fcn.100069f0
add esp, 0xc
test eax, eax
je 0x100382f8
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push ebp
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.100069f0
add esp, 0xc
test eax, eax
je 0x100382f8
sub edi, esi
je 0x10038225
push edi
add esi, ebx
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.100069f0
add esp, 0xc
test eax, eax
je 0x100382f8
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.10006a00
add esp, 0xc
test eax, eax
je 0x100382f8
cmp ebp, 4
mov ecx, dword [esp + 0x14]
mov eax, ebp
lea edx, [esp + 0x40]
jb 0x10038264
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x10038268
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10038250
test eax, eax
je 0x100382c5
movzx edi, byte [ecx]
movzx esi, byte [edx]
sub esi, edi
jne 0x100382b7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100382c5
movzx edi, byte [ecx]
movzx esi, byte [edx]
sub esi, edi
jne 0x100382b7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100382c5
movzx edi, byte [ecx]
movzx esi, byte [edx]
sub esi, edi
jne 0x100382b7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100382c5
movzx eax, byte [ecx]
movzx esi, byte [edx]
sub esi, eax
je 0x100382c5
test esi, esi
mov eax, 1
jg 0x100382c7
or eax, 0xffffffff
jmp 0x100382c7
xor eax, eax
test eax, eax
je 0x100382f0
push 0xa6
push str..crypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.10005d40
add esp, 0x14
mov dword [esp + 0x10], 0
jmp 0x100382f8
mov dword [esp + 0x10], 1
test ebx, ebx
je 0x10038305
push ebx
call fcn.100021f0
add esp, 4
lea ecx, [esp + 0x28]
push ecx
call fcn.10006a80
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010f1c0
add esp, 0x74
ret