Function at 0x1003a5ea
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005df03
call fcn.1005c6c0
sub esp, 0x110
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov esi, ecx
je 0x1003a720
cmp byte [ebp + 0x10], 0
je 0x1003a709
xor esi, esi
mov dword [edi], esi
cmp dword [edi], 3
jg 0x1003ae13
mov dword [ebp - 0x30], 0xfffffff9
mov dword [ebp - 0x30], 0x121f90ef
mov dword [ebp - 0x80], 0x3d7f1912
mov dword [ebp - 0x18], esi
jmp 0x1003a653
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x11c], 0x4a754320
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x1003a642
mov dword [ebp - 0x2c], 0x20d2
cmp dword [ebp - 0x2c], 0x222a
jle 0x1003a6cb
mov ebx, esi
mov edi, esi
mov eax, edi
lea ecx, [ebp - 0xf4]
or eax, ebx
cdq
push edx
push eax
call fcn.10001ac9
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003a689
mov eax, dword [eax]
push eax
call fcn.10045f6d
pop ecx
push esi
push 1
lea ecx, [ebp - 0xf4]
call fcn.10007132
inc edi
cmp edi, 0x242e
jl 0x1003a66d
inc ebx
cmp ebx, 0x17d2
jl 0x1003a66b
push 0x155d
push esi
push 0x120d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov edi, dword [ebp - 0x28]
push esi
push 0xa94
push 1
lea eax, [ebp - 0x80]
mov edx, 0x4044
push esi
push eax
mov ecx, 0x2aa8
call fcn.10039e03
add esp, 0x14
cmp dword [ebp - 0x2c], 0x1f8b
jge 0x1003a6fe
push str.rxlzuf_rtuhcgdgd_ipaxmbi_zfod
call fcn.10045f6d
pop ecx
or dword [ebp - 4], 0xffffffff
inc dword [edi]
jmp 0x1003a61f
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
call esi
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_SetParent]
jmp 0x1003ae13
cmp byte [ebp + 0x1c], 0
je 0x1003a78e
mov edi, dword [ebp + 0x14]
xor esi, esi
mov dword [edi], esi
jmp 0x1003a784
mov dword [ebp - 0x30], 0x9cbc21b0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x30], 0x75761ac7
mov dword [ebp - 0x30], 0xca2589d3
push 2
call fcn.10006ab6
mov dword [ebp - 0x18], esi
jmp 0x1003a769
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xd0]
mov dword [eax + ecx*4], 1
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x1003a756
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
inc dword [eax]
call fcn.10006b13
dec dword [edi]
cmp dword [edi], 0xfffffffb
jle 0x1003a72f
jmp 0x1003ae13
mov edi, dword [ebp + 0x18]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0xb0], 7
mov dword [ebp - 0xb4], ebx
mov word [ebp - 0xc4], ax
push 1
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 2
call fcn.10006ab6
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
push 0x7818
mov dword [ebp - 0x1c], 2
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x24], 0xaa41a80d
push 0x6a76
call fcn.100373e4
add esp, 0xc
mov dword [ebp - 0x38], ebx
jmp 0x1003a804
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x94], 0x8bd921b0
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 3
jl 0x1003a7f3
mov dword [ebp - 0x1c], ebx
jmp 0x1003a988
xor ecx, ecx
inc ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x84], 0xfffffffa
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x40], 0xfffffff9
mov dword [ebp - 0x3c], 0x78470ed9
mov dword [ebp - 0x18], 0xfffffffa
mov dword [ebp - 0x14], ebx
jmp 0x1003a949
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x28], 0xfffffff6
mov dword [ebp - 0x20], ebx
jmp 0x1003a865
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x58], ecx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], ecx
jl 0x1003a85b
inc dword [ebp - 0x24]
jne 0x1003a8cd
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x94]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x24]
cmp dword [ecx + edx*4], eax
mov eax, dword [ebp - 0x28]
setge bl
xor ecx, ecx
cmp ebx, eax
mov eax, dword [ebp - 0x2c]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x68]
setle dl
xor ecx, ecx
cmp edx, 0x3e629bad
setge cl
sub ecx, dword [eax]
jne 0x1003a8cd
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x84]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov eax, dword [ebp - 0x24]
add eax, ecx
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
cmp eax, 0xffff
mov eax, dword [ebp - 0x68]
push 1
sbb ecx, ecx
xor ebx, ebx
neg ecx
cmp ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0x58]
setl bl
xor edx, edx
cmp ebx, eax
mov eax, dword [ebp - 0x50]
sete dl
xor ecx, ecx
cmp eax, edx
setle cl
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
inc dword [ebp - 0x14]
xor ebx, ebx
pop ecx
cmp dword [ebp - 0x14], ebx
jle 0x1003a848
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x68]
cmp dword [eax + ecx*4], ebx
je 0x1003a96c
push ecx
lea ecx, [ebp + 0xb]
mov byte [ebp + 0xb], bl
call fcn.1003aff7
pop ecx
jmp 0x1003a985
mov dword [ebp - 0x18], ebx
jmp 0x1003a980
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x90], eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jle 0x1003a971
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jle 0x1003a812
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.10006b13
cmp esi, edi
jbe 0x1003adef
mov dword [ebp - 0xa4], 0x54320e32
lea ecx, [ebp - 0x31]
mov dword [ebp - 0x6c], 0xfffffff9
xor dl, dl
mov dword [ebp - 0xac], 0xd38c
mov dword [ebp - 0x78], 0xffffffff
mov byte [ebp - 0x31], bl
call fcn.100384ee
push 0x322f
push ebx
push 0x5fc7
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x6c]
call fcn.100369bc
add esp, 0x14
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0xc4]
push eax
push ecx
push ecx
lea ecx, [ebp - 0x48]
call fcn.1003867c
add esp, 0xc
mov dword [ebp - 0xa0], 0xffffffff
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x70], 0x891f782a
mov dword [ebp - 0xa8], 0x6968939f
mov dword [ebp - 0x9c], ebx
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x98], 0xfffffff6
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x88], 6
push eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x5c], 0xe5809974
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x74], 0x39384257
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x7c], 0xe2e4ed
push eax
push ecx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x74]
call fcn.100392e1
lea eax, [ebp - 0x7c]
mov dl, 1
push eax
push 0x7876
push 0x6d9b
push 0x5055
push 0x3fab
push 1
push ebx
lea ecx, [ebp - 0x5c]
call fcn.100378ba
mov esi, dword [ebp - 0x48]
add esp, 0x3c
cmp esi, dword [ebp - 0x4c]
jae 0x1003aae1
mov ecx, esi
add esi, 2
call fcn.10036610
movzx eax, ax
lea ecx, [ebp - 0xc4]
push eax
call fcn.1000d0ac
cmp esi, dword [ebp - 0x4c]
jb 0x1003aac0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x3c], 0x30a
cmp dword [ebp - 0x3c], 0x412
jle 0x1003ab3f
mov esi, ebx
mov dword [ebp - 0x28], ebx
mov edi, esi
mov esi, 0x7a6a
mov eax, edi
lea ecx, [ebp - 0x10c]
cdq
push edx
push eax
call fcn.10001ac9
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003ab17
mov eax, dword [eax]
push eax
call fcn.10045f6d
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x10c]
call fcn.10007132
dec edi
dec esi
jne 0x1003aafd
mov esi, dword [ebp - 0x28]
inc esi
mov dword [ebp - 0x28], esi
cmp esi, 0x77f6
jl 0x1003aaf6
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xd2eb2fc2
mov dword [ebp - 0x30], 0xfffffffd
mov dword [ebp - 0x2c], 0x5008d6d
mov dword [ebp - 0x24], 0x8ce324e8
mov dword [ebp - 0x40], 0x6015
cmp dword [ebp - 0x40], 0x6314
jle 0x1003abcc
mov dword [ebp - 0x20], ebx
mov edi, ebx
mov esi, ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
mov eax, esi
shl eax, cl
lea ecx, [edi + ebx]
xor eax, ecx
mov ecx, 0x10077cb8
cdq
push edx
push eax
call fcn.1000651b
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 0x5859
jl 0x1003ab84
inc esi
push 0
pop ebx
cmp esi, 0x95b
jl 0x1003ab7c
inc edi
cmp edi, 0x5d8c
jl 0x1003ab7a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 0x787b
jl 0x1003ab78
mov dword [ebp - 0x50], 0xfffffffc
mov byte [ebp - 4], 4
cmp dword [ebp - 0x40], 0x5f39
jge 0x1003ac0d
mov edx, str.irkpejb_wwmdfarn_yvmb_xkf_ogt_antsibt
mov ecx, 0x10077cb8
call fcn.10009581
jmp 0x1003ac0d
mov dword [ebp - 4], 2
cmp dword [ebp - 0x14], ebx
jne 0x1003ac78
mov eax, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
setle dl
add edx, dword [ebp - 0x1c]
jne 0x1003ac35
mov edx, ebx
jmp 0x1003ac38
xor edx, edx
inc edx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x14]
sete cl
xor edx, edx
cmp ecx, eax
setg dl
imul edx, dword [ebp - 0x14]
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x1c]
jne 0x1003ac6c
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jne 0x1003ac78
xor ecx, ecx
mov edx, ebx
inc ecx
jmp 0x1003ac7d
xor ecx, ecx
inc ecx
mov edx, ecx
mov eax, dword [ebp - 0x1c]
add eax, edx
je 0x1003ace1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], 0xcbaa6f4e
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
sbb ecx, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
neg ecx
sub eax, ecx
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x18]
cmp eax, 0xcb81
setle cl
xor edx, edx
cmp ecx, 0xfffffffd
setge dl
xor eax, eax
cmp edx, 0x337672a6
setge al
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
jmp 0x1003add4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ebx
jmp 0x1003acfd
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xdc], 0x9ac04bb9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1003acec
mov dword [ebp - 0x14], ebx
jmp 0x1003ad12
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x54], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1003ad08
push 0x19a1
push ebx
push 0x145d
push 0x76c8
push ecx
push 0x7b4d
push 0x1223
push 0x3738
push 0xe04
mov edx, 0x7064
lea ecx, [ebp - 0x44]
call fcn.10037204
mov eax, dword [ebp - 0x1c]
add esp, 0x24
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x20], ebx
jne 0x1003ad63
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0xd4], esi
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x44]
cmp eax, ecx
mov eax, dword [ebp - 0x24]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x54]
sete cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x54]
setne dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x24]
setle bl
xor ecx, ecx
cmp eax, esi
mov eax, dword [ebp - 0x1c]
setl cl
imul eax, ebx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x24]
setle dl
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
cmp ecx, 0x1ee328db
setg al
xor ebx, ebx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x3c], 0x92
jge 0x1003ade8
push str.sqfwcbvj_hogzyq_ezedrrqz
call fcn.10045f6d
pop ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc4]
cmp ecx, eax
je 0x1003ae05
push 0xffffffffffffffff
push ebx
push eax
call fcn.1000738c
push ebx
push 1
lea ecx, [ebp - 0xc4]
call fcn.10007591
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret