Function at 0x10015815
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10060785
call fcn.1005fa90
sub esp, 0xbc
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x50], ecx
je 0x1001590f
mov dword [ebp - 0x18], 0xa1c
xor edi, edi
cmp dword [ebp - 0x18], 0xc77
jle 0x100158b1
mov esi, edi
mov dword [ebp - 0x20], edi
mov ebx, edi
mov dword [ebp - 0x14], edi
mov eax, esi
mov dword [ebp - 0x1c], edi
cdq
idiv ebx
mov ebx, edx
mov esi, edi
mov edi, dword [ebp - 0x1c]
mov eax, esi
mov ecx, 0x1007fc58
xor eax, edi
or eax, ebx
cdq
push edx
push eax
call fcn.10002dd1
inc esi
cmp esi, 0x4702
jl 0x10015868
inc edi
push 0
mov dword [ebp - 0x1c], edi
cmp edi, 0x349f
pop edi
jl 0x10015863
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
inc ebx
mov dword [ebp - 0x14], ebx
cmp ebx, 0x2611
jl 0x10015859
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x7067
jl 0x10015854
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], 0x93a
jge 0x100158ea
mov edx, str.zwnfw_duqj_oyik
mov ecx, 0x1007fc58
call fcn.10004788
jmp 0x100158ea
mov edx, dword [ebp + 0x18]
mov dword [edx], edi
cmp dword [edx], 4
jge 0x10015cff
mov esi, dword [ebp - 0x50]
mov ecx, dword [edx]
mov eax, dword [esi]
or dword [eax + ecx*4], 0xffffffff
inc dword [edx]
cmp dword [edx], 4
jl 0x100158fb
jmp 0x10015cff
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push 3
pop esi
push esi
mov eax, dword [eax]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], eax
call fcn.100022ea
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 2
push eax
push ecx
xor edi, edi
mov dword [ebp - 0x2c], 0xffffffff
push edi
push ecx
mov dword [ebp - 0x18], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100142a3
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x18], 1
push eax
call fcn.100165f5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
add esp, 0x14
call fcn.10002347
lea eax, [ebp - 0x28]
push 2
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x4c], eax
call fcn.100022ea
lea eax, [ebp - 0x74]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], 6
xor dl, dl
push eax
mov ecx, 0x2577
call fcn.100172cf
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
xor ecx, ecx
cmp dword [eax], 0x4df6
sete cl
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
sub eax, 0x2c32
je 0x10015bba
mov dword [ebp - 0x18], 0x6afa
cmp dword [ebp - 0x18], 0x6dd3
jle 0x10015a04
mov ebx, edi
mov esi, edi
lea eax, [esi + ebx]
mov ecx, 0x1007fc58
cdq
push edx
push eax
call fcn.10002dd1
inc esi
cmp esi, 0x5b98
jl 0x100159df
inc ebx
cmp ebx, 0x661c
jl 0x100159dd
push 3
pop esi
mov dword [ebp - 0x38], 0xfffffffe
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0x687d
jge 0x10015a4e
mov edx, str.mxgmnft_nmxzs_vhmeqxod
mov ecx, 0x1007fc58
call fcn.10004788
jmp 0x10015a4e
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x38], 0x65e4bc79
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0x3e1fe01a
mov dword [ebp - 0x18], 0x3b8cd6c3
mov dword [ebp - 0x14], edi
jmp 0x10015a85
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x88], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10015a74
mov dword [ebp - 0x14], edi
jmp 0x10015aa0
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x98], 0x6ae4d7d9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10015a8f
lea eax, [ebp - 0x30]
mov cl, 1
push eax
push 0x2e10
push 0x76ea
call fcn.10017179
mov dword [ebp - 0x20], 0xc45
add esp, 0xc
cmp dword [ebp - 0x20], 0x1016
jle 0x10015b2f
push 0x2271
push 0x2a2
push edi
push edi
push 0xae3
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov esi, edi
mov ebx, edi
mov eax, esi
lea ecx, [ebp - 0xb0]
cdq
idiv ebx
mov eax, edx
cdq
push edx
push eax
call fcn.10004d43
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10015b08
mov eax, dword [eax]
push eax
call fcn.10047823
pop ecx
push edi
push 1
lea ecx, [ebp - 0xb0]
call fcn.100031ae
inc ebx
cmp ebx, 0x5c11
jl 0x10015ae9
inc esi
cmp esi, 0x2a2e
jl 0x10015ae7
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
test eax, eax
je 0x10015b9c
mov eax, dword [ebp - 0x1c]
dec eax
neg eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp dword [esi + 4], eax
mov eax, dword [ebp - 0x44]
setg cl
xor edx, edx
cmp ecx, dword [eax]
mov eax, dword [ebp - 0x38]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x44]
setne cl
xor edx, edx
cmp ecx, dword [eax]
setg dl
add edx, dword [esi + 4]
mov dword [ebp - 0x18], edx
je 0x10015b9c
xor eax, eax
inc eax
jmp 0x10015b9e
mov eax, edi
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x20], 0xb8f
jge 0x10015bd7
push str.mszptel_bus_lnm_riceus_hqyqau_gtbigkaqr_qzpluk
call fcn.10047823
pop ecx
jmp 0x10015bd7
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0xc4f4
push eax
lea eax, [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x44]
xor cl, cl
call fcn.10014f43
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10002347
mov ebx, edi
mov dword [ebp - 0x20], edi
cmp ebx, 4
jae 0x10015cf7
mov dword [ebp - 0x14], edi
jmp 0x10015c04
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x6c], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10015bf6
mov dword [ebp - 0x18], 0x27b7
cmp dword [ebp - 0x18], 0x27c3
jle 0x10015c97
mov dword [ebp - 0x14], edi
mov edx, edi
mov dword [ebp - 0x1c], edi
mov esi, edi
mov ebx, edi
mov ecx, ebx
mov eax, esi
sar eax, cl
lea ecx, [ebp - 0xc8]
and eax, edx
or eax, dword [ebp - 0x14]
cdq
push edx
push eax
call fcn.10004d43
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10015c49
mov eax, dword [eax]
push eax
call fcn.10047823
pop ecx
push edi
push 1
lea ecx, [ebp - 0xc8]
call fcn.100031ae
mov edx, dword [ebp - 0x1c]
inc ebx
cmp ebx, 0x2e2a
jl 0x10015c26
inc esi
cmp esi, 0x570b
jl 0x10015c24
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 0x71a1
jl 0x10015c22
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x532d
jl 0x10015c1d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edi
jmp 0x10015caa
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x7c], 0xe1265ab3
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10015c9c
cmp dword [ebp - 0x18], 0x2510
jge 0x10015cc4
push str.bggvufbqe_tjdxd_gvopc_gzpbpmx_rolejs_akf_fttb_yxnxxgvpk_abpnmwtlm_vswxpvgw_dlahg
call fcn.10047823
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x64], edi
jmp 0x10015cd7
mov dword [ebp - 0x7c], 1
inc dword [ebp - 0x64]
cmp dword [ebp - 0x64], 0xf
jg 0x10015ccd
mov cl, byte [ebp + ebx - 0x28]
mov dl, 0x29
call fcn.1001fee6
mov ecx, dword [ebp - 0x4c]
mov byte [ebx + ecx], al
inc ebx
mov dword [ebp - 0x20], ebx
jmp 0x10015be8
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret