Function at 0x1001a75a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006262a
call fcn.10061438
sub esp, 0x6c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x2c], edi
cmp byte [ebp + 0x20], bl
je 0x1001a8de
mov dword [ebp - 0x28], 0x62a9
cmp dword [ebp - 0x28], 0x636c
jle 0x1001a7ed
mov esi, ebx
mov eax, esi
mov dword [ebp - 0x24], 0x1d57
mov dword [ebp - 0x20], eax
mov edi, eax
mov dword [ebp - 0x1c], 0x5cbe
mov dword [ebp - 0x34], ebx
mov eax, edi
mov ecx, 0x1007fdb8
xor eax, ebx
cdq
push edx
push eax
call fcn.1000e5de
inc ebx
cmp ebx, 0x5a66
jl 0x1001a7aa
dec edi
dec dword [ebp - 0x1c]
push 0
pop ebx
jne 0x1001a7a7
mov eax, dword [ebp - 0x20]
dec eax
dec dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
jne 0x1001a79e
inc esi
cmp esi, 0x9db
jl 0x1001a792
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x28], 0x5ec5
jge 0x1001a808
mov edx, str.zvnehv_mks_pgxrzs_omxhvybka_rens_xjuwragyo_obydb
mov ecx, 0x1007fdb8
call fcn.100113ff
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x14], 0
je 0x1001a84b
mov eax, dword [ebp + 0x18]
movzx eax, word [eax]
push eax
push ecx
mov ecx, edi
call fcn.1001546f
jmp 0x1001ab6d
push 0x4a0f
push ebx
push 0x7977
mov dword [ebp - 0x3c], 0xc3938dd4
lea eax, [ebp + 0x23]
push 0x4332
mov dword [ebp - 0x44], 0x566a
mov edx, 0x3b5c
push 0x437a
mov dword [ebp - 0x4c], 0x3ec752f6
xor cl, cl
push eax
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x48], 8
push 0x15fe
mov dword [ebp - 0x38], ebx
push 1
mov byte [ebp + 0x23], bl
call fcn.1001a212
lea eax, [ebp - 0x38]
mov edx, 0x1a22
push eax
lea eax, [ebp - 0x3c]
mov ecx, 0x70f1
push eax
push 0x723d
lea eax, [ebp - 0x40]
push eax
push ebx
lea eax, [ebp - 0x44]
push eax
push 0x3c87
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push 1
push eax
call fcn.1001a75a
add esp, 0x4c
jmp 0x1001ab6d
mov dword [ebp - 0x20], 0x2647
cmp dword [ebp - 0x20], 0x295e
jle 0x1001a93f
mov esi, ebx
mov edi, ebx
mov dword [ebp - 0x24], ebx
mov eax, ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
and eax, ebx
mov ecx, 0x1007fdb8
or eax, edi
or eax, esi
cdq
push edx
push eax
call fcn.1000e5de
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 0x9db
jl 0x1001a8fd
inc ebx
push 0
mov dword [ebp - 0x24], ebx
cmp ebx, 0x1e43
pop ebx
jl 0x1001a8f5
inc edi
cmp edi, 0x7cab
jl 0x1001a8f2
inc esi
cmp esi, 0x57ab
jl 0x1001a8f0
mov dword [ebp - 4], 2
cmp dword [ebp - 0x20], 0x2447
jge 0x1001a95e
mov edx, str.mhg_oeqxql_spjzp_eguextnh_icyz_kqzwi_ogisuhp_rtoq
mov ecx, 0x1007fdb8
call fcn.100113ff
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], 0x255f
cmp dword [ebp - 0x34], 0x405
jge 0x1001ab01
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push str._ld__ld
call fcn.1004835b
add esp, 0xc
mov dword [ebp - 0x50], ebx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x68], ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
push eax
push 1
call fcn.1000f649
mov dword [ebp - 4], 4
cmp dword [ebp - 0x30], 0
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
jle 0x1001aa6b
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x14]
push eax
push 0x1006b48c
call fcn.1004835b
pop ecx
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x1001aa56
lea eax, [ebp - 0x14]
cmp eax, esi
jae 0x1001aa30
cmp edi, eax
ja 0x1001aa30
sub eax, edi
sar eax, 2
mov dword [ebp - 0x34], eax
cmp esi, dword [ebp - 0x60]
jne 0x1001aa03
push ecx
lea ecx, [ebp - 0x68]
call fcn.1001d4b4
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x68]
test esi, esi
je 0x1001aa4d
mov eax, dword [edi + eax*4]
jmp 0x1001aa4b
cmp esi, dword [ebp - 0x60]
jne 0x1001aa44
push ecx
lea ecx, [ebp - 0x68]
call fcn.1001d4b4
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
test esi, esi
je 0x1001aa4d
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov ebx, dword [ebp - 0x14]
add esi, 4
mov dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 0x30]
jl 0x1001a9c4
xor ebx, ebx
or edi, 0xffffffff
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], ebx
push eax
lea ecx, [ebp - 0x68]
call fcn.1001cfec
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push ecx
inc eax
mov dword [ebp - 0x58], ebx
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.1000f649
mov esi, dword [ebp - 0x64]
mov edx, dword [ebp - 0x68]
sub esi, edx
sar esi, 2
test esi, esi
je 0x1001aac7
mov edi, dword [ebp - 0x74]
add edx, 4
mov eax, dword [edx - 8]
sub eax, dword [edx]
lea edx, [edx + 4]
mov ecx, dword [edx - 8]
neg eax
sbb eax, eax
add eax, 2
add dword [edi + ecx*4], eax
dec esi
jne 0x1001aaac
or edi, 0xffffffff
xor eax, eax
mov esi, edi
inc eax
cmp dword [ebp - 0x18], eax
jl 0x1001aae4
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + eax*4], edi
cmovg edi, dword [ecx + eax*4]
cmovg esi, eax
inc eax
cmp eax, dword [ebp - 0x18]
jle 0x1001aad4
push esi
push str._ld_n
call fcn.10048643
pop ecx
pop ecx
lea ecx, [ebp - 0x74]
call fcn.1000e943
lea ecx, [ebp - 0x68]
call fcn.1000e943
cmp byte [ebp + 0xc], 0
je 0x1001ab52
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
cmp dword [esi], ebx
je 0x1001ab31
mov ecx, dword [esi]
xor edx, edx
mov eax, dword [esi]
cmp ecx, eax
sete dl
lea eax, [edx - 0x57e3b6f9]
cmp dword [esi], eax
jle 0x1001ab31
mov esi, dword [ebp + 0x24]
mov eax, dword [esi]
jmp 0x1001ab34
mov esi, dword [ebp + 0x24]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx]
mov eax, dword [edi]
mov eax, dword [ecx]
mov eax, dword [ecx]
mov eax, dword [edx]
cmp dword [esi], ebx
je 0x1001ab4b
xor ebx, ebx
inc ebx
mov eax, dword [ebp + 0x30]
mov dword [eax], ebx
jmp 0x1001ab6d
mov edx, dword [ebp + 0x28]
mov dword [edx], ebx
cmp dword [edx], 1
jge 0x1001ab6d
mov esi, dword [ebp - 0x5c]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], ebx
inc dword [edx]
cmp dword [edx], 1
jl 0x1001ab5f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret