Function at 0x10039cb2
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100635e2
call fcn.10061a48
sub esp, 0x48
mov byte [ebp - 0x18], dl
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x10039f59
push 3
lea ecx, [ebp - 0x38]
call fcn.10004e62
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], 0x1cef
cmp dword [ebp - 0x20], 0x1d0b
jle 0x10039d4e
mov edi, esi
mov ebx, esi
mov ecx, esi
mov dword [ebp - 0x24], esi
lea eax, [ebx + edi]
and eax, ecx
lea ecx, [ebp - 0x50]
cdq
push edx
push eax
call fcn.10001a95
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10039d14
mov eax, dword [eax]
push eax
call fcn.1004af7c
pop ecx
push esi
push 1
lea ecx, [ebp - 0x50]
call fcn.10005365
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x28f7
jl 0x10039cfa
inc ebx
cmp ebx, 0x2b99
jl 0x10039cf5
inc edi
cmp edi, 0x75b5
jl 0x10039cf3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x20], 0x1aa0
jge 0x10039d65
push str.xaaqcomra_zwisepzzu_jlgdztq_mojwdezf_ndepey_odiphtbax_tlf_ogmwcr_nhtql
call fcn.1004af7c
pop ecx
mov dword [ebp - 4], esi
mov edi, 0x1007d9f8
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], 0xd7d
cmp dword [ebp - 0x1c], 0xf96
jle 0x10039dc8
mov ebx, esi
mov dword [ebp - 0x20], esi
mov ecx, esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov eax, esi
shl eax, cl
mov ecx, edi
xor eax, ebx
cdq
push edx
push eax
call fcn.10004c38
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x24ca
jl 0x10039d91
inc esi
push 0
mov dword [ebp - 0x20], esi
cmp esi, 0x4e06
pop esi
jl 0x10039d89
inc ebx
cmp ebx, 0xaec
jl 0x10039d86
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 0x9fa
jge 0x10039e04
mov edx, str.lvqnjzxf_bayuxjla_fwf_mxayyj_enseoxxhp_oosri_gmo_rka_fqqptq_ska_tnqeth_ljlhg_rlwytqct_xxpufi
mov ecx, edi
call fcn.100070aa
jmp 0x10039e04
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
jmp 0x10039e1c
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
mov dword [eax + ecx*4], 0xb9b55bb2
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x10039e0c
mov dword [ebp - 0x28], 0x849
cmp dword [ebp - 0x28], 0x9f3
jle 0x10039e8e
mov ebx, esi
mov dword [ebp - 0x20], esi
mov eax, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
mov ecx, eax
mov esi, ebx
mov ebx, dword [ebp - 0x1c]
sar esi, cl
mov ecx, ebx
mov eax, esi
shl eax, cl
mov ecx, edi
cdq
push edx
push eax
call fcn.10004c38
inc ebx
cmp ebx, 0x6444
jl 0x10039e48
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x24], eax
push 0
pop esi
cmp eax, 0x434a
jl 0x10039e3c
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, 0x2618
jl 0x10039e37
push esi
push 0x1117
push esi
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x1c], esi
jmp 0x10039ea1
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2c], 0xaafbebf0
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 1
jl 0x10039e93
mov byte [ebp - 4], 5
cmp dword [ebp - 0x28], 0x6fd
jge 0x10039ede
mov edx, str.lxpp_bcmeaa_jcwk_rzceydyq_qvkrvyi_wjn_qygzl_cycj
mov ecx, edi
call fcn.100070aa
jmp 0x10039ede
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x1c], 2
jg 0x10039f4f
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x20], 0xce4b0ad8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 8]
mov dword [eax + ecx*4], edx
xor ecx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp eax, 0x7b30
setne cl
xor eax, eax
cmp ecx, 0x8d20
setne al
imul eax, dword [ebp - 0x20]
cmp eax, 0xd3bed162
mov eax, dword [ebp - 0x20]
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
mov dword [ebp - 0x2c], ecx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jle 0x10039eea
lea ecx, [ebp - 0x38]
call fcn.10004ee5
jmp 0x10039f76
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
jmp 0x10039f71
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xae9714a
inc dword [edx]
cmp dword [edx], 3
jl 0x10039f64
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret