Function at 0x1003b006
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100619dc
call fcn.10060010
sub esp, 0x40
push ebx
push esi
mov byte [ebp - 0x14], dl
mov dword [ebp - 0x2c], 0x1dca
cmp dword [ebp - 0x2c], 0x6b1
push edi
mov dword [ebp - 0x10], esp
jge 0x1003b170
lea eax, [ebp - 0x20]
push eax
push 0x10068a4c
call fcn.1004aadb
xor ebx, ebx
pop ecx
mov edi, ebx
mov dword [ebp - 0x48], ebx
pop ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], ebx
mov eax, ebx
mov ecx, ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ebx
mov esi, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x20], esi
jle 0x1003b0b0
lea eax, [ebp - 0x1c]
push eax
push 0x10068a4c
call fcn.1004aadb
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
test eax, eax
jle 0x1003b087
lea ecx, [ebp - 0x48]
jmp 0x1003b08c
jns 0x1003b097
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x1c]
push eax
call fcn.1000775b
jmp 0x1003b09c
test eax, eax
jne 0x1003b09c
inc ebx
inc esi
cmp esi, dword [ebp - 0x20]
jl 0x1003b06b
mov edi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], ebx
xor ebx, ebx
mov esi, ecx
mov byte [ebp - 0x28], bl
push dword [ebp - 0x28]
sub esi, eax
push eax
sar esi, 2
push ecx
mov ecx, esi
mov dword [ebp - 0x30], esi
call fcn.10042e2c
add esp, 0xc
cmp dword [ebp - 0x20], 1
jne 0x1003b0e9
cmp esi, 1
jne 0x1003b0e9
mov eax, dword [ebp - 0x3c]
push dword [eax]
push str._ld_n
call fcn.1004b05d
pop ecx
jmp 0x1003b159
mov eax, dword [ebp - 0x48]
cmp eax, edi
jne 0x1003b102
cmp esi, 1
ja 0x1003b102
cmp dword [ebp - 0x24], 0
jle 0x1003b102
push 0x1006d534
jmp 0x1003b154
sub edi, eax
mov dword [ebp - 0x2c], ebx
sar edi, 2
test edi, edi
je 0x1003b12d
mov ebx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x2c]
push dword [ebx + esi*4]
push str._ld
call fcn.1004b05d
inc esi
pop ecx
pop ecx
cmp esi, edi
jb 0x1003b114
mov esi, dword [ebp - 0x30]
xor ebx, ebx
mov edi, esi
and edi, 1
cmp edi, esi
jae 0x1003b14f
mov ebx, dword [ebp - 0x3c]
push dword [ebx + edi*4]
push str._ld
call fcn.1004b05d
inc edi
pop ecx
pop ecx
cmp edi, esi
jb 0x1003b139
xor ebx, ebx
push 0x100689b9
call fcn.1004b276
pop ecx
lea ecx, [ebp - 0x3c]
call fcn.10001a83
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001a83
jmp 0x1003b172
xor ebx, ebx
cmp byte [ebp - 0x14], 0
je 0x1003b246
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003b22a
mov dword [ebp - 0x2c], 0x4041
cmp dword [ebp - 0x2c], 0x42b2
jle 0x1003b1ee
mov esi, ebx
mov edi, ebx
mov dword [ebp - 0x28], ebx
mov eax, ebx
mov dword [ebp - 0x1c], 0x2c1b
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
xor eax, edi
mov ecx, 0x1007bf98
or eax, esi
cdq
push edx
push eax
call fcn.10007154
mov eax, dword [ebp - 0x24]
add eax, ebx
dec dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jne 0x1003b1af
inc ebx
push 0
mov dword [ebp - 0x28], ebx
cmp ebx, 0x60d4
pop ebx
jl 0x1003b1a0
inc edi
cmp edi, 0x4d81
jl 0x1003b19d
inc esi
cmp esi, 0x3b3b
jl 0x1003b19b
push 1
push 0x36a5
push 0x77f2
push 0x60ba
xor dl, dl
mov cl, 1
call fcn.1003d4d8
add esp, 0x10
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x3f23
jge 0x1003b22a
mov edx, str.jdafpv_ydilnotdz_wzvk_rjszqy_uckdhxx
mov ecx, 0x1007bf98
call fcn.1000a079
jmp 0x1003b261
mov edx, dword [ebp + 0x10]
mov dword [edx], ebx
cmp dword [edx], 2
jge 0x1003b261
mov esi, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], ebx
inc dword [edx]
cmp dword [edx], 2
jl 0x1003b253
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret