Function at 0x100356e5
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005c46f
call fcn.1005abe8
sub esp, 0x98
cmp byte [ebp + 0x1c], 0
mov eax, edx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x18], cl
je 0x100359b5
cmp byte [ebp + 0xc], 0
je 0x10035742
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x10035720
mov edx, dword [ecx]
jmp 0x10035722
mov edx, ecx
mov eax, dword [ebp + 0x10]
movzx esi, word [eax]
mov eax, dword [ecx + 0x10]
cmp word [edx + eax*2 - 2], si
je 0x10035a6c
push esi
push ecx
call fcn.100314fb
jmp 0x10035a6c
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x10], ebx
je 0x1003599c
mov dword [ebp - 0x20], 0x3519
cmp dword [ebp - 0x20], 0x36ae
jle 0x100357be
mov edi, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], 0x44dd
mov esi, ebx
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
mov ecx, 0x10076fd8
and eax, esi
or eax, edi
cdq
push edx
push eax
call fcn.100045e5
inc esi
cmp esi, 0x294b
jl 0x1003577d
mov esi, dword [ebp - 0x2c]
add ebx, esi
dec dword [ebp - 0x44]
push 0
mov dword [ebp - 0x1c], ebx
pop ebx
jne 0x10035778
inc esi
mov dword [ebp - 0x2c], esi
cmp esi, 0xfbc
jl 0x1003576e
inc edi
cmp edi, 0x44cb
jl 0x1003576b
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0x346c
jge 0x100357f8
mov edx, str.inmsyb_kzjtzteet_qktn_rtjku
mov ecx, 0x10076fd8
call fcn.10006ac3
jmp 0x100357f8
push 0x2e
pop eax
push 2
mov dword [ebp - 4], ebx
mov ecx, ebx
pop esi
push 7
mov byte [ebp - 0x28], bl
mov dword [ebp - 0x27], 0x3d26042f
mov word [ebp - 0x23], 0xedf
mov word [ebp + 0x1c], ax
mov dword [ebp - 0x1c], ecx
pop edi
cmp esi, 2
jne 0x1003582c
push 5
pop ecx
push ecx
mov dword [ebp - 0x1c], ecx
pop esi
jmp 0x1003585e
movzx edx, byte [ebp + esi - 0x27]
mov eax, esi
sub eax, ecx
movzx eax, byte [ebp + eax - 0x2a]
movzx eax, word [ebp + eax*2 + 0x1c]
mov ecx, eax
and eax, edx
or ecx, edx
sub ecx, eax
movzx eax, byte [ebp + esi - 0x28]
mov word [ebp + eax*2 + 0x1c], cx
lea eax, [ebp - 0x1c]
push eax
call fcn.100361f6
pop ecx
mov ecx, dword [ebp - 0x1c]
add esi, 2
cmp esi, edi
jb 0x1003581d
xor eax, eax
mov dword [ebp - 0x6c], edi
mov word [ebp + 0x1e], ax
lea ecx, [ebp - 0x80]
mov word [ebp - 0x80], ax
lea eax, [ebp + 0x1c]
push eax
mov dword [ebp - 0x70], ebx
call fcn.1000fb5d
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.1003427f
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
call fcn.10004d85
mov edi, dword [ebp - 0x34]
mov eax, edi
mov esi, dword [ebp - 0x38]
sub eax, esi
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp + 0x1c], ebx
test eax, eax
jne 0x1003598d
push 0x2d
pop eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x3e], ax
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x58], ebx
call fcn.1000fb5d
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 6
call fcn.1003427f
pop ecx
mov esi, eax
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x10035926
mov ecx, eax
call fcn.10037935
mov ecx, dword [esi]
mov dword [ebp - 0x38], ecx
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x30], eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea ecx, [ebp - 0x8c]
call fcn.10037935
push ebx
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.10004d85
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
jmp 0x1003598d
push esi
lea ecx, [ebp - 0xa4]
call fcn.100046fa
push ecx
push 1
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xa4]
mov ecx, 0x11e8
push 0x4fc3
push eax
call fcn.1003459a
add esp, 0x14
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
push ebx
push 1
call fcn.10004d85
add esi, 0x18
cmp esi, edi
jne 0x10035948
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.10037935
mov ecx, dword [ebp + 0x24]
lea eax, [ebp - 0x50]
push eax
call fcn.100376df
lea ecx, [ebp - 0x50]
call fcn.10037a0e
jmp 0x10035a6c
mov dword [ebp - 0x20], 0x5f7e
xor ebx, ebx
cmp dword [ebp - 0x20], 0x6129
jle 0x100359ff
mov esi, ebx
mov edi, ebx
mov dword [ebp - 0x2c], ebx
mov eax, ebx
mov ecx, 0x10076fd8
and eax, edi
xor eax, esi
cdq
push edx
push eax
call fcn.100045e5
inc ebx
cmp ebx, 0x1969
jl 0x100359ce
inc edi
push 0
pop ebx
cmp edi, 0x7fe3
jl 0x100359cb
inc esi
cmp esi, 0x7370
jl 0x100359c9
mov dword [ebp - 4], 9
cmp dword [ebp - 0x20], 0x5dd7
jge 0x10035a3c
mov edx, str.lgkf_ouopobf_nsnydt_imxj_qrzsk_zjobbg_wbbkqiego_nsmzfgbh
mov ecx, 0x10076fd8
call fcn.10006ac3
jmp 0x10035a3c
cmp byte [ebp - 0x18], 0
je 0x10035a63
mov edx, dword [ebp + 0x18]
mov dword [edx], ebx
cmp dword [edx], 1
jge 0x10035a6c
mov esi, dword [ebp + 0x14]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xfffffffd
inc dword [edx]
cmp dword [edx], 1
jl 0x10035a4f
jmp 0x10035a6c
mov eax, dword [ebp + 0x20]
mov dword [eax], 0xfffffff7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret