Function at 0x10002db4
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006148d
call fcn.10060e94
sub esp, 0x50
push ebx
push esi
mov dword [ebp - 0x20], 0x49a3
xor esi, esi
cmp dword [ebp - 0x20], 0x4d45
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
jle 0x10002e40
mov edi, esi
mov dword [ebp - 0x1c], esi
mov ebx, esi
mov dword [ebp - 0x18], esi
mov eax, edi
mov dword [ebp - 0x14], esi
cdq
idiv ebx
mov ebx, edx
mov edi, esi
mov esi, dword [ebp - 0x14]
mov ecx, edi
mov eax, esi
shl eax, cl
mov ecx, 0x1007cfd8
xor eax, ebx
cdq
push edx
push eax
call fcn.1000703f
inc edi
cmp edi, 0x1005
jl 0x10002df5
inc esi
push 0
mov dword [ebp - 0x14], esi
cmp esi, 0x5499
pop esi
jl 0x10002df0
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
inc ebx
mov dword [ebp - 0x18], ebx
cmp ebx, 0x14a1
jl 0x10002de6
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x3938
jl 0x10002de1
mov dword [ebp - 4], esi
cmp dword [ebp - 0x20], 0x4755
jge 0x10002e5b
mov edx, str.tgh_uzklhorv_itwy_mcout_bfxlqsv_ebo_qzrueobyh_cwnnf_qyet_buniag_zmddheay_ywg
mov ecx, 0x1007cfd8
call fcn.1000b30d
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x10], 0
je 0x10003009
mov dword [ebp - 0x24], 0xe7a66fe7
mov dword [ebp - 0x14], 0x13dce9d
mov dword [ebp - 0x20], 0xc86695cd
mov dword [ebp - 0x14], 0x2329
cmp dword [ebp - 0x14], 0x2394
jle 0x10002ef2
mov edi, esi
mov dword [ebp - 0x18], esi
mov ebx, esi
mov dword [ebp - 0x1c], esi
mov ecx, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], esi
sar edi, cl
mov ebx, esi
mov esi, dword [ebp - 0x20]
mov ecx, ebx
mov eax, esi
sar eax, cl
mov ecx, 0x1007cfd8
or eax, edi
cdq
push edx
push eax
call fcn.1000703f
inc ebx
cmp ebx, 0x4b2
jl 0x10002ea7
inc esi
push 0
mov dword [ebp - 0x20], esi
cmp esi, 0x5fc6
pop esi
jl 0x10002ea2
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
inc ebx
mov dword [ebp - 0x1c], ebx
cmp ebx, 0x50b6
jl 0x10002e98
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0xf2b
jl 0x10002e93
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 4], 2
cmp dword [ebp - 0x14], 0x2160
jge 0x10002f5b
mov edx, str.asfuex_sdtkkuk_ccs_cmf_efwtdv_hgf
mov ecx, 0x1007cfd8
call fcn.1000b30d
jmp 0x10002f5b
push 3
mov dword [ebp - 0x14], esi
pop edi
jmp 0x10002f6d
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x38], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10002f63
mov dword [ebp - 0x14], esi
jmp 0x10002f81
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x44], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10002f77
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x4af12a83
je 0x10002f9f
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x3c]
setg cl
xor edx, edx
cmp ecx, eax
setg dl
sub edx, 0x161d
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, 0x9919
setne cl
xor eax, eax
cmp ecx, edi
setne al
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], esi
jne 0x10002fdb
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
xor eax, eax
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x3c], 4
jl 0x10002fef
cmp dword [ebp - 0x14], esi
je 0x10002ff1
mov esi, eax
xor eax, eax
cmp esi, 0x73ff82f
sete al
sub eax, dword [ebp - 0x24]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10003031
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
push eax
push esi
lea eax, [ebp - 0x5c]
push eax
call fcn.10007316
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.100071b4
push esi
push 1
lea ecx, [ebp - 0x5c]
call fcn.10007ea2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret