Function at 0x1003e30a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10062cc7
call fcn.100612c8
sub esp, 0xb4
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x60], esi
je 0x1003e357
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1003e9d2
push 1
push 0x6001
push 0x5ff3
mov edx, 0x3cf5
mov cl, 1
call fcn.1003b4c6
add esp, 0xc
jmp 0x1003e9d2
mov edi, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x18], 0xfffffffc
mov dword [ebp - 0x1c], 0x45c17473
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x18], ebx
jmp 0x1003e3aa
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x58], 0x7b332e0c
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 1
jl 0x1003e39c
mov dword [ebp - 0x20], 0x611
cmp dword [ebp - 0x20], 0x94f
jle 0x1003e401
mov esi, ebx
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0x1fee
mov eax, esi
mov ecx, 0x1007cab8
xor eax, ebx
cdq
push edx
push eax
call fcn.10001cb3
add ebx, edi
dec dword [ebp - 0x1c]
jne 0x1003e3ce
inc edi
push 0
pop ebx
cmp edi, 0x16c4
jl 0x1003e3c4
inc esi
cmp esi, 0xed4
jl 0x1003e3c2
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp - 0x14]
sub eax, 0xa
mov dword [ebp - 0x18], eax
je 0x1003e4a0
cmp dword [ebp - 0x14], ebx
je 0x1003e418
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], ebx
jne 0x1003e438
cmp dword [ebp - 0x14], ebx
jne 0x1003e438
mov ecx, ebx
jmp 0x1003e43b
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp ecx, eax
setne dl
sub edx, dword [ebp - 0x14]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
cmp eax, edx
mov eax, dword [ebp - 0x14]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x18]
setg cl
sub eax, ecx
mov ecx, 0xcbd6cd53
neg eax
sbb eax, eax
inc eax
cmp ecx, eax
sbb eax, eax
neg eax
cmp eax, dword [ebp - 0x14]
jl 0x1003e491
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], ebx
je 0x1003e4a0
cmp dword [ebp - 0x1c], ebx
je 0x1003e4a0
xor ecx, ecx
inc ecx
jmp 0x1003e4a2
mov ecx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
cmp ecx, eax
setge dl
xor ecx, ecx
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x14]
cmp edx, eax
sete cl
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x20], 0x4c4
jge 0x1003e4d8
mov edx, str.rrcxz_gmfxjyv_nwyat_zazmukqv_keszta_xoni_zjqnzhu_nmolja_brcikkwgo_lnms
mov ecx, 0x1007cab8
call fcn.100036f5
xor ecx, ecx
inc ecx
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], ebx
jmp 0x1003e514
mov dword [ebp - 0x58], ebx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x10
je 0x1003e50e
mov eax, dword [esi + 0x10]
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x2c], 0xfffffffb
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 0x1c], 0xcf415d72
mov dword [ebp - 0x1c], 0x66d210ec
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x1c], 0xc946b43d
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x1c], 0xab551fa4
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x2c], 0xfffffffa
mov dword [ebp - 0x24], eax
jle 0x1003e621
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x8c], 0xa6b42be1
mov dword [ebp - 0x18], ebx
jmp 0x1003e59c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xc0], 0xb963ab19
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x1003e58b
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], 0xa
jl 0x1003e611
mov dword [ebp - 0x94], 0x2121f90e
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x18], ebx
jmp 0x1003e5ce
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xb0], ebx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ecx
jl 0x1003e5c1
push 0xfec
push ecx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x2c]
push eax
push ecx
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x8c]
push eax
push ecx
lea eax, [ebp - 0x94]
push 0x4113
push eax
call fcn.1003e0ea
add esp, 0x28
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xa
push 1
pop ecx
jge 0x1003e5ab
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0xfffffffa
jg 0x1003e576
mov edx, dword [ebp + 0x18]
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x1003e62c
mov esi, dword [esi]
push eax
push ebx
push esi
mov ecx, edx
call fcn.10020077
mov esi, ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], eax
cmp esi, 0xffffffff
je 0x1003e9bb
cmp esi, dword [ebp - 0x24]
jae 0x1003e9bb
cmp eax, 0xffffffff
jne 0x1003e9e3
mov dword [ebp - 0x30], 0x4e2db58
mov dword [ebp - 0x88], 0x173948b0
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x30], ebx
jmp 0x1003e70f
mov dword [ebp - 0x9c], 1
lea ecx, [ebp - 0xa8]
push 2
call fcn.10001dc8
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 5
push eax
push 0x22b9
push 0x3ef4
lea eax, [ebp - 0xac]
xor dl, dl
push 0x63aa
push eax
mov cl, 1
call fcn.1003b488
add esp, 0x14
lea eax, [ebp - 0x9c]
mov edx, 0x53a2
lea ecx, [ebp - 0x64]
push eax
push 1
push 0x7bca
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xa8]
push eax
push ebx
push 0x690b
lea eax, [ebp - 0x88]
push 0x1118
push eax
call fcn.1003b3bc
add esp, 0x24
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x64], ebx
jne 0x1003e71b
call fcn.10001e25
dec dword [ebp - 0x30]
cmp dword [ebp - 0x30], 0xfffffffe
je 0x1003e679
jmp 0x1003e720
call fcn.10001e25
push 1
push 0x63f3
push 0x49a0
push 0x6819
push ebx
push 0x7475
lea eax, [ebp - 0x44]
mov ecx, edi
push 1
push eax
lea edx, [ebp - 0x7c]
call fcn.1003b941
add esp, 0x20
lea ecx, [ebp - 0x70]
push 3
call fcn.10001dc8
mov byte [ebp - 4], 6
push 2
pop ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x34], ebx
jmp 0x1003e781
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x40], 0xfffffffd
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], ecx
jl 0x1003e773
push 0x551b
push 1
lea eax, [ebp - 0x70]
mov ecx, 0x6cd9
push eax
push ebx
lea edx, [ebp - 0x34]
call fcn.1003b21e
add esp, 0x10
mov dword [ebp - 0x3c], 3
cmp dword [ebp - 0x3c], 0xffffffee
jge 0x1003e90f
xor ecx, ecx
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], ebx
inc ecx
jmp 0x1003e7d0
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x5c], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1003e7c2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x18], ebx
je 0x1003e7f9
mov byte [ebp - 0x25], bl
cmp byte [ebp - 0x25], 0
je 0x1003e7f4
sub esp, 0x1c
call fcn.1003bee9
add esp, 0x1c
dec dword [ebp - 0x3c]
jmp 0x1003e7a9
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x40]
inc dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x14]
cmp eax, 0x2002
setge cl
xor eax, eax
cmp edx, ecx
setg al
xor edx, edx
cmp eax, dword [esi + 4]
mov eax, dword [ebp - 0x14]
setne dl
xor ecx, ecx
cmp edx, eax
setl cl
add ecx, dword [ebp - 0x3c]
mov dword [esi + 4], ecx
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
jl 0x1003e7f4
mov dword [ebp - 0x1c], 0x5f10
cmp dword [ebp - 0x1c], 0x60e7
jle 0x1003e8bd
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov esi, ebx
mov ecx, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ebx
shl edi, cl
mov eax, edi
mov ecx, 0x1007cab8
and eax, ebx
cdq
push edx
push eax
call fcn.10001cb3
inc ebx
cmp ebx, 0x5507
jl 0x1003e87b
mov edi, dword [ebp - 0x20]
inc esi
push 0
pop ebx
cmp esi, 0x972
jl 0x1003e871
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0xef0
jl 0x1003e86f
push 0x944
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp dword [ebp - 0x3c], ebx
jne 0x1003e7f4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1c], 0x5da0
jge 0x1003e900
mov edx, str.ela_exgwcwjr_ygyievcx
mov ecx, 0x1007cab8
call fcn.100036f5
jmp 0x1003e900
mov dword [ebp - 4], 6
dec dword [ebp - 0x18]
jmp 0x1003e855
mov dword [ebp - 0x14], ebx
jmp 0x1003e9a5
mov dword [ebp - 0x1c], 0xe5de2cae
xor edx, edx
mov dword [ebp - 0x24], 4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x50], 0xfff7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
imul edx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x50]
cmp edx, eax
setl cl
imul ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
neg ecx
sbb ecx, ecx
neg ecx
cmp ecx, 1
sbb ecx, ecx
xor edx, edx
neg ecx
cmp eax, ecx
mov eax, dword [ebp - 0x70]
setle dl
mov dword [eax + esi*4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x50], ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x14]
sub edx, dword [eax + 4]
mov eax, dword [ebp - 0x70]
mov dword [eax + ecx*4], edx
mov dword [ebp - 0x24], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jle 0x1003e917
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.10001e25
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x7c]
push eax
call fcn.100409dd
lea ecx, [ebp - 0x7c]
call fcn.10040ee7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, esi
je 0x1003ea0d
push ebx
push 0x4389
push 0x47c0
lea eax, [ebp - 0x44]
push eax
push 0x3b25
push edi
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x38]
call fcn.1003f080
mov eax, dword [ebp - 0x38]
add esp, 0x18
mov ecx, dword [ebp - 0x98]
mov esi, dword [ebp - 0x20]
add esi, eax
mov dword [ebp - 0x44], esi
cmp dword [ecx + 0x14], 8
jb 0x1003ea25
mov eax, dword [ecx]
jmp 0x1003ea27
mov eax, ecx
push dword [ecx + 0x10]
mov ecx, edi
push esi
push eax
call fcn.10020077
jmp 0x1003e63b