Function at 0x10036e8a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10061234
call fcn.1005fa90
sub esp, 0x44
mov byte [ebp - 0x14], cl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x10036f82
mov dword [ebp - 0x1c], 0xbfb
xor esi, esi
cmp dword [ebp - 0x1c], 0xca0
jle 0x10036f02
mov edi, esi
mov dword [ebp - 0x18], esi
mov ebx, esi
mov dword [ebp - 0x20], esi
mov ecx, ebx
mov esi, edi
mov edi, dword [ebp - 0x20]
sar esi, cl
mov eax, esi
mov ecx, 0x1007fc58
xor eax, edi
cdq
push edx
push eax
call fcn.10002dd1
inc edi
cmp edi, 0x1499
jl 0x10036ecd
mov edi, dword [ebp - 0x18]
inc ebx
push 0
pop esi
cmp ebx, 0x3d19
jl 0x10036ec1
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x76f
jl 0x10036ebf
cmp byte [ebp + 0x10], 0
je 0x10036f29
mov edx, dword [ebp + 0x18]
mov dword [edx], esi
cmp dword [edx], 4
jge 0x10036f48
mov edi, dword [ebp + 0x14]
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x5bb08661
inc dword [edx]
cmp dword [edx], 4
jl 0x10036f15
jmp 0x10036f48
mov edx, dword [ebp + 8]
mov dword [edx], esi
cmp dword [edx], 3
jge 0x10036f48
mov edi, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0xfddd3f46
inc dword [edx]
cmp dword [edx], 3
jl 0x10036f36
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], 0xba8
jge 0x10036f63
mov edx, str.mhd_vpvfk_tbwlhh
mov ecx, 0x1007fc58
call fcn.10004788
jmp 0x100370ca
push 2
pop edi
test cl, cl
je 0x100370a9
push edi
lea ecx, [ebp - 0x2c]
call fcn.100022ea
mov dword [ebp - 4], edi
xor esi, esi
mov dword [ebp - 0x18], 0xaafe30f5
mov dword [ebp - 0x20], 0xef8a6ebb
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x13af
cmp dword [ebp - 0x1c], 0x1741
jle 0x10037003
mov ebx, esi
mov edi, esi
mov eax, ebx
lea ecx, [ebp - 0x50]
cdq
idiv edi
mov eax, edx
cdq
push edx
push eax
call fcn.10004d43
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10036fdc
mov eax, dword [eax]
push eax
call fcn.10047823
pop ecx
push esi
push 1
lea ecx, [ebp - 0x50]
call fcn.100031ae
inc edi
cmp edi, 0x3114
jl 0x10036fc0
inc ebx
cmp ebx, 0x151d
jl 0x10036fbe
push 2
pop edi
mov dword [ebp - 0x18], esi
jmp 0x10037016
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x38], 8
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x10037008
cmp dword [ebp - 0x1c], 0x1365
jge 0x10037030
push str.syz_cxauspi_jrvva_fqhhmu_plf_huryo_xazcifczo_qli
call fcn.10047823
pop ecx
mov dword [ebp - 0x18], esi
jmp 0x10037045
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov dword [eax + ecx*4], 0xf9c28ade
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10037035
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], esi
mov eax, dword [ecx + 4]
inc dword [ecx + 4]
cmp dword [ecx + 4], 3
mov dword [ebp + eax*4 - 0x38], 0xffffffff
jl 0x10037050
mov dword [ecx], 1
xor ecx, ecx
mov dword [ebp - 0x18], 0x9ed9ba07
mov eax, dword [ebp - 0x18]
test eax, eax
sets cl
xor edx, edx
add ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
cmp ecx, 0xffffffff
setl dl
xor ecx, ecx
cmp edx, eax
setl cl
xor eax, eax
dec ecx
cmp ecx, 0x4d81
lea ecx, [ebp - 0x2c]
setne al
mov dword [ebp - 0x20], eax
call fcn.10002347
jmp 0x100370ca
mov edx, dword [ebp + 0x1c]
mov dword [edx], 0
cmp dword [edx], edi
jge 0x100370ca
mov esi, dword [ebp + 0x20]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 1
inc dword [edx]
cmp dword [edx], edi
jl 0x100370b9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret