Function at 0x10003e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, edx
mov edx, ecx
mov eax, ebx
mov dword [ebp - 4], edx
and eax, 0x11000
mov dword [ebp - 0x28], eax
push esi
push edi
cmp eax, 0x1000
jne 0x10003ead
xor edx, edx
mov edi, ecx
movzx eax, bl
movzx ecx, dl
imul ecx, eax
mov al, byte [edi + edx]
sub al, cl
xor al, bl
mov byte [edi + edx], al
inc edx
cmp edx, 0x40
jb 0x10003e45
mov esi, dword [edi + 0x3c]
add esi, 0x108
cmp edx, esi
jae 0x10003e88
nop dword [eax + eax]
movzx eax, bl
movzx ecx, dl
imul ecx, eax
mov al, byte [edi + edx]
sub al, cl
xor al, bl
mov byte [edi + edx], al
inc edx
cmp edx, esi
jb 0x10003e70
mov eax, dword [edi + 0x3c]
mov esi, dword [edi + eax + 0x54]
cmp edx, esi
jae 0x10003eab
movzx eax, bl
movzx ecx, dl
imul ecx, eax
mov al, byte [edi + edx]
sub al, cl
xor al, bl
mov byte [edi + edx], al
inc edx
cmp edx, esi
jb 0x10003e93
mov edx, edi
mov eax, dword [edx + 0x3c]
add eax, edx
mov dword [ebp - 8], eax
test ebx, 0x2000
je 0x100041b0
mov eax, dword [eax + 0x90]
test eax, eax
je 0x100041ad
cmp byte [ebp + 8], 0
je 0x10003ee2
mov ecx, dword [ebp - 4]
mov edx, eax
call fcn.1000ef10
mov edx, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], eax
cmp dword [eax + 0x10], 0
je 0x100041ad
mov ecx, ebx
mov dword [ebp - 0x10], eax
and ecx, 0x10000
mov edi, eax
mov dword [ebp - 0x18], ecx
nop dword [eax + eax]
cmp byte [ebp + 8], 0
mov esi, dword [edi + 0xc]
je 0x10003f7f
mov ecx, dword [edx + 0x3c]
xor edi, edi
movzx eax, word [ecx + edx + 0x14]
add eax, 0x18
add eax, ecx
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, word [ecx + eax + 6]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10003f5b
nop dword [eax]
mov ecx, dword [edx + 0xc]
cmp ecx, esi
ja 0x10003f53
mov eax, dword [edx + 8]
add eax, ecx
cmp eax, esi
ja 0x10003f68
mov eax, dword [ebp - 0xc]
inc edi
add edx, 0x28
cmp edi, eax
jl 0x10003f40
mov edi, dword [ebp - 0x10]
xor eax, eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
jmp 0x10003f81
sub esi, ecx
cmp esi, dword [edx + 0x10]
jae 0x10003f5b
mov eax, dword [edx + 0x14]
mov edi, dword [ebp - 0x10]
add eax, esi
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
jmp 0x10003f81
mov eax, esi
lea esi, [eax + edx]
test esi, esi
je 0x10003fee
test ecx, ecx
je 0x10003fca
test bl, bl
je 0x10003fee
xor edx, edx
cmp byte [esi], dl
je 0x10003fb5
cmp edx, 0xffffffff
jae 0x10003fb5
movsx eax, bl
movsx ecx, dl
imul ecx, eax
mov al, byte [edx + esi]
xor al, bl
add cl, al
mov byte [edx + esi], cl
inc edx
cmp byte [edx + esi], 0
jne 0x10003f96
movsx eax, bl
movsx ecx, dl
imul ecx, eax
mov al, byte [edx + esi]
xor al, bl
add cl, al
mov byte [edx + esi], cl
jmp 0x10003feb
test bl, bl
je 0x10003fee
xor edx, edx
movsx eax, bl
movsx ecx, dl
imul ecx, eax
mov al, byte [edx + esi]
sub al, cl
xor al, bl
mov byte [edx + esi], al
je 0x10003feb
inc edx
cmp edx, 0xffffffff
jb 0x10003fd0
mov edx, dword [ebp - 4]
cmp byte [ebp + 8], 0
mov esi, dword [edi]
je 0x10004047
mov ecx, dword [edx + 0x3c]
xor edi, edi
movzx eax, word [ecx + edx + 0x14]
add eax, 0x18
add eax, ecx
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, word [ecx + eax + 6]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000403c
mov ecx, dword [edx + 0xc]
cmp ecx, esi
ja 0x10004029
mov eax, dword [edx + 8]
add eax, ecx
cmp eax, esi
ja 0x10004035
mov eax, dword [ebp - 0x10]
inc edi
add edx, 0x28
cmp edi, eax
jl 0x10004016
xor eax, eax
jmp 0x10004049
sub esi, ecx
cmp esi, dword [edx + 0x10]
jb 0x10004040
xor eax, eax
jmp 0x10004049
mov eax, dword [edx + 0x14]
add eax, esi
jmp 0x10004049
mov eax, esi
mov edi, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 0xc], edx
mov esi, dword [eax + edi]
lea ecx, [eax + edi]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + edi + 4]
mov eax, esi
or eax, ecx
je 0x10004189
test ecx, ecx
jl 0x10004171
jg 0x1000407a
test esi, esi
jb 0x10004171
cmp byte [ebp + 8], 0
je 0x100040e3
mov ecx, dword [edi + 0x3c]
mov eax, dword [ebp - 4]
movzx edx, word [ecx + edi + 0x14]
add edi, 0x18
movzx eax, word [ecx + eax + 6]
add edx, ecx
add edx, edi
mov dword [ebp - 0x10], eax
xor edi, edi
test eax, eax
je 0x100040bb
mov ecx, dword [edx + 0xc]
cmp ecx, esi
ja 0x100040b3
mov eax, dword [edx + 8]
add eax, ecx
cmp eax, esi
ja 0x100040c8
mov eax, dword [ebp - 0x10]
inc edi
add edx, 0x28
cmp edi, eax
jl 0x100040a0
mov edx, dword [ebp - 0xc]
xor eax, eax
mov edi, dword [ebp - 4]
mov dword [ebp - 0x10], eax
jmp 0x100040e8
sub esi, ecx
cmp esi, dword [edx + 0x10]
jae 0x100040bb
mov eax, dword [edx + 0x14]
mov edx, dword [ebp - 0xc]
add eax, esi
mov edi, dword [ebp - 4]
mov dword [ebp - 0x10], 0
jmp 0x100040e8
mov eax, esi
mov dword [ebp - 0x10], ecx
add edi, 2
add edi, eax
cmp dword [ebp - 0x18], 0
je 0x10004141
test edi, edi
je 0x1000416e
test bl, bl
je 0x1000416e
xor edx, edx
mov dword [ebp - 0x10], edx
cmp byte [edi], dl
je 0x10004126
mov esi, edi
cmp edx, 0xffffffff
jae 0x10004123
movsx eax, bl
movsx ecx, dl
inc edx
imul ecx, eax
mov al, byte [esi]
xor al, bl
add cl, al
mov byte [esi], cl
inc esi
cmp byte [esi], 0
jne 0x10004106
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + edi]
movsx eax, bl
xor dl, bl
movsx ecx, cl
imul ecx, eax
mov eax, dword [ebp - 0x10]
add dl, cl
mov byte [eax + edi], dl
jmp 0x1000416b
test edi, edi
je 0x1000416e
test bl, bl
je 0x1000416e
xor eax, eax
nop dword [eax + eax]
movsx ecx, bl
movsx edx, al
imul edx, ecx
mov cl, byte [edi + eax]
sub cl, dl
xor cl, bl
mov byte [edi + eax], cl
je 0x1000416b
inc eax
cmp eax, 0xffffffff
jb 0x10004150
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
inc edx
mov dword [ebp - 0xc], edx
mov esi, dword [eax + edx*8]
mov ecx, dword [eax + edx*8 + 4]
mov eax, esi
or eax, ecx
jne 0x10004068
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
inc eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
lea eax, [eax + eax*4]
cmp dword [ecx + eax*4 + 0x10], 0
lea edi, [ecx + eax*4]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
jne 0x10003f10
mov eax, dword [ebp - 8]
test ebx, 0x4000
je 0x100043e0
mov eax, dword [eax + 0x88]
test eax, eax
je 0x100043e0
cmp byte [ebp + 8], 0
je 0x100041f0
mov esi, dword [ebp - 4]
mov edx, eax
mov ecx, esi
call fcn.1000ef10
mov edx, dword [eax + esi + 0xc]
add eax, esi
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.1000ef10
mov edx, esi
jmp 0x100041f8
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0xc]
lea esi, [eax + edx]
mov eax, ebx
and eax, 0x10000
mov dword [ebp - 0x20], eax
test esi, esi
je 0x10004281
test eax, eax
je 0x1000425d
test bl, bl
je 0x10004281
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp byte [esi], cl
je 0x10004245
nop word [eax + eax]
cmp ecx, 0xffffffff
jae 0x10004245
mov dl, byte [ecx + esi]
movsx ecx, cl
xor dl, bl
movsx eax, bl
imul ecx, eax
add dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
inc ecx
mov dword [ebp - 0x18], ecx
cmp byte [ecx + esi], 0
jne 0x10004220
mov dl, byte [ecx + esi]
movsx eax, bl
xor dl, bl
movsx ecx, cl
imul ecx, eax
mov eax, dword [ebp - 0x18]
add dl, cl
mov byte [eax + esi], dl
jmp 0x1000427e
test bl, bl
je 0x10004281
xor edx, edx
movsx eax, bl
movsx ecx, dl
imul ecx, eax
mov al, byte [edx + esi]
sub al, cl
xor al, bl
mov byte [edx + esi], al
je 0x1000427e
inc edx
cmp edx, 0xffffffff
jb 0x10004263
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [eax + 0x18], edi
jbe 0x100043e0
cmp byte [ebp + 8], 0
mov esi, dword [eax + 0x20]
je 0x10004357
mov ecx, dword [edx + 0x3c]
xor edi, edi
movzx eax, word [ecx + edx + 0x14]
add eax, 0x18
add eax, ecx
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, word [ecx + eax + 6]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x100042db
nop
mov ecx, dword [edx + 0xc]
cmp ecx, esi
ja 0x100042d3
mov eax, dword [edx + 8]
add eax, ecx
cmp eax, esi
ja 0x10004335
mov eax, dword [ebp - 0x24]
inc edi
add edx, 0x28
cmp edi, eax
jl 0x100042c0
xor edi, edi
mov edx, dword [ebp - 4]
xor esi, esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 0x3c]
lea eax, [edx + eax*4]
mov edi, dword [eax + edi]
movzx eax, word [ecx + edx + 0x14]
add edx, 0x18
add eax, ecx
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, word [ecx + eax + 6]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1000432b
nop dword [eax]
mov ecx, dword [edx + 0xc]
cmp ecx, edi
ja 0x10004323
mov eax, dword [edx + 8]
add eax, ecx
cmp eax, edi
ja 0x10004343
mov eax, dword [ebp - 0x24]
inc esi
add edx, 0x28
cmp esi, eax
jl 0x10004310
mov edi, dword [ebp - 0x18]
xor eax, eax
mov edx, dword [ebp - 4]
jmp 0x1000435d
sub esi, ecx
cmp esi, dword [edx + 0x10]
jae 0x100042db
mov edi, dword [edx + 0x14]
add edi, esi
jmp 0x100042dd
sub edi, ecx
cmp edi, dword [edx + 0x10]
jae 0x1000432b
mov eax, dword [edx + 0x14]
mov edx, dword [ebp - 4]
add eax, edi
mov edi, dword [ebp - 0x18]
jmp 0x1000435d
lea eax, [edx + edi*4]
mov eax, dword [eax + esi]
cmp dword [ebp - 0x20], 0
lea esi, [eax + edx]
je 0x100043a8
test esi, esi
je 0x100043d0
test bl, bl
je 0x100043d0
xor edx, edx
cmp byte [esi], dl
je 0x10004393
cmp edx, 0xffffffff
jae 0x10004393
movsx eax, bl
movsx ecx, dl
imul ecx, eax
mov al, byte [edx + esi]
xor al, bl
add cl, al
mov byte [edx + esi], cl
inc edx
cmp byte [edx + esi], 0
jne 0x10004374
movsx eax, bl
movsx ecx, dl
imul ecx, eax
mov al, byte [edx + esi]
xor al, bl
add cl, al
mov byte [edx + esi], cl
jmp 0x100043cd
test esi, esi
je 0x100043d0
test bl, bl
je 0x100043d0
xor edx, edx
movsx eax, bl
movsx ecx, dl
imul ecx, eax
mov al, byte [edx + esi]
sub al, cl
xor al, bl
mov byte [edx + esi], al
je 0x100043cd
inc edx
cmp edx, 0xffffffff
jb 0x100043b2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, dword [eax + 0x18]
jb 0x10004292
mov ecx, dword [ebp - 8]
test ebx, 0x8000
je 0x10004474
mov eax, dword [ecx + 0x98]
test eax, eax
je 0x10004474
cmp byte [ebp + 8], 0
mov edi, dword [ebp - 4]
je 0x1000440e
mov edx, eax
mov ecx, edi
call fcn.1000ef10
mov ecx, dword [ebp - 8]
xor edx, edx
lea esi, [eax + edi]
mov eax, dword [ecx + 0x9c]
test ebx, 0x10000
je 0x1000444e
test eax, eax
je 0x10004477
mov edi, dword [ebp - 8]
nop dword [eax + eax]
movzx eax, bl
movzx ecx, dl
imul ecx, eax
mov al, byte [esi + edx]
xor al, bl
add cl, al
mov byte [esi + edx], cl
inc edx
cmp edx, dword [edi + 0x9c]
jb 0x10004430
jmp 0x10004471
test eax, eax
je 0x10004477
mov edi, dword [ebp - 8]
movzx eax, bl
movzx ecx, dl
imul ecx, eax
mov al, byte [esi + edx]
sub al, cl
xor al, bl
mov byte [esi + edx], al
inc edx
cmp edx, dword [edi + 0x9c]
jb 0x10004455
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 4]
cmp dword [ebp - 0x28], 0x11000
jne 0x100044ae
mov esi, dword [ecx + 0x54]
xor ecx, ecx
mov dword [ebp + 8], ecx
test esi, esi
je 0x100044ae
nop dword [eax]
mov dl, byte [edi + ecx]
movzx ecx, cl
xor dl, bl
movzx eax, bl
imul ecx, eax
add dl, cl
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], dl
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, esi
jb 0x10004490
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4