Function at 0x1002164d
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005a74e
call fcn.10059860
sub esp, 0x58
push ebx
push esi
mov byte [ebp - 0x14], dl
xor ebx, ebx
mov dword [ebp - 0x30], 0x9d4
cmp dword [ebp - 0x30], 0xa85
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
jle 0x100216cf
mov dword [ebp - 0x28], ebx
mov edi, ebx
mov dword [ebp - 0x24], 0x48af
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], 0x5c70
mov esi, ebx
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
mov ecx, 0x10075ef8
xor eax, esi
cdq
push edx
push eax
call fcn.10001a90
inc esi
cmp esi, 0x62ce
jl 0x10021693
dec ebx
dec dword [ebp - 0x20]
push 0
mov dword [ebp - 0x1c], ebx
pop ebx
jne 0x1002168e
mov esi, dword [ebp - 0x28]
add edi, esi
dec dword [ebp - 0x24]
jne 0x10021684
inc esi
mov dword [ebp - 0x28], esi
cmp esi, 0x230a
jl 0x1002167b
cmp byte [ebp - 0x14], 0
je 0x1002185b
mov dword [ebp - 0x1c], 0x7e72
cmp dword [ebp - 0x1c], 0x8241
jle 0x10021766
mov esi, ebx
mov dword [ebp - 0x20], ebx
mov edi, ebx
mov dword [ebp - 0x24], ebx
mov eax, ebx
mov dword [ebp - 0x28], ebx
lea ecx, [eax + edi]
mov dword [ebp - 0x34], ebx
mov edi, esi
mov esi, ebx
shl edi, cl
mov ecx, esi
mov eax, edi
shl eax, cl
lea ecx, [ebp - 0x4c]
cdq
push edx
push eax
call fcn.10003ca8
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002171f
mov eax, dword [eax]
push eax
call fcn.100430bc
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.10001f32
inc esi
cmp esi, 0x39d2
jl 0x10021704
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
inc eax
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
cmp eax, 0x1496
jl 0x100216f8
inc edi
mov dword [ebp - 0x24], edi
cmp edi, 0x6949
jl 0x100216f3
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x2305
jl 0x100216ee
cmp dword [ebp - 0x1c], 0x7c07
jge 0x1002177a
push str.aokqgtp_xxpvo_yfi_rzrtfrbm_jkmbyhl_kzwcnc_qka_tqd_sbdxm_fkenfmt
call fcn.100430bc
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], 0xbf9
cmp dword [ebp - 0x1c], 0xd65
jle 0x10021805
mov esi, ebx
mov dword [ebp - 0x20], ebx
mov edi, ebx
mov dword [ebp - 0x24], ebx
mov ecx, edi
mov dword [ebp - 0x34], ebx
xor ecx, esi
mov esi, ebx
mov dword [ebp - 0x28], ecx
mov edi, ebx
lea eax, [edi + esi]
or eax, ecx
lea ecx, [ebp - 0x64]
cdq
push edx
push eax
call fcn.10003ca8
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100217c0
mov eax, dword [eax]
push eax
call fcn.100430bc
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.10001f32
mov ecx, dword [ebp - 0x28]
inc edi
cmp edi, 0x5d8f
jl 0x100217a6
inc esi
cmp esi, 0x66fd
jl 0x100217a4
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x24], edi
cmp edi, 0x6d1e
jl 0x10021798
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x6f6f
jl 0x10021793
mov eax, dword [ebp - 0x2c]
cmp dword [eax], ebx
jbe 0x10021845
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
call fcn.1001f345
push 0x34
pop ecx
xor edx, edx
div ecx
push 0x1a
mov eax, edx
pop ecx
cmp eax, ecx
jge 0x1002182c
movsx edx, byte [esi]
jmp 0x10021832
cdq
idiv ecx
movsx eax, byte [edi]
mov ecx, dword [ebp + 8]
add edx, eax
push edx
call fcn.10021cd0
mov eax, dword [ebp - 0x2c]
inc ebx
cmp ebx, dword [eax]
jb 0x10021812
cmp dword [ebp - 0x1c], 0x93d
jge 0x10021874
push str.zss_hwee_hwexa_crfau_qzzygme_meybamex_emluzjo
call fcn.100430bc
pop ecx
jmp 0x10021874
push 0x4d8
sub esp, 0xc
mov byte [ebp - 0x15], bl
lea eax, [ebp - 0x15]
push 1
push eax
call fcn.100214c7
add esp, 0x18
mov dword [ebp - 4], 4
cmp dword [ebp - 0x30], 0x9a3
jge 0x10021893
mov edx, str.dgbphd_nnofgda_fzgorq_syt_ewlhz_dtb_etnrzxcd_tye_zaee_zxhrzy_wydne_hjkvnwjkc
mov ecx, 0x10075ef8
call fcn.1000350c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret