Function at 0x103f900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
cmp dword [ecx + 8], 0
je 0x103f980
mov edx, dword [ecx]
test edx, edx
je 0x103f980
mov dword [esp], 0x16171819
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0xb6
xor bl, byte [esp + eax]
add bl, 0x50
mov byte [esp + eax], bl
mov esi, eax
and esi, 1
xor eax, 1
lea eax, [eax + esi*2]
cmp eax, 6
jb 0x103f930
mov eax, dword [esp]
mov ebx, dword [0xd6aea0]
test ebx, ebx
je 0x103f9ed
xor edi, edi
mov esi, dword [0xd6aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0xddb7c3f3
je 0x103f9cc
inc edi
cmp ebx, edi
jne 0x103f970
jmp 0x103f9ed
mov dword [esp], 0x64232239
mov byte [esp + 4], 0
mov eax, 0x69
mov ecx, 0x96
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, ecx
and esi, 0x92
mov edx, eax
and edx, 0x6d
or edx, esi
xor dl, byte [esp + eax - 0x69]
xor dl, 0x92
add dl, 0xb8
mov byte [esp + eax - 0x69], dl
inc eax
dec ecx
cmp eax, 0x6e
jne 0x103f9a0
mov eax, dword [esp]
jmp 0x103fb5b
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
je 0x103f9ed
push dword [ebp + 8]
push edx
push 8
push esi
push dword [0xd6aea8]
mov esi, ecx
call fcn.01040da0
mov ecx, esi
add esp, 0x14
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x103fab4
cmp eax, 0xc000010a
jne 0x103fab4
mov edx, 0xffffd8f0
mov eax, esi
mul edx
sub edx, esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov ebx, dword [ecx]
mov dword [esp + 0xe], 0x16171819
mov word [esp + 0x12], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
add dl, 0xb6
xor dl, byte [esp + eax + 0xe]
add dl, 0x50
mov byte [esp + eax + 0xe], dl
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, 6
jb 0x103fa30
xor edi, edi
cmp esi, 0xffffffff
je 0x103fa59
mov edi, esp
mov eax, dword [esp + 0xe]
mov esi, dword [0xd6aea0]
test esi, esi
je 0x103fab4
mov dword [esp + 8], ebx
xor ebx, ebx
mov edx, dword [0xd6aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ebx*8], 0xa67d73aa
je 0x103fa90
inc ebx
cmp esi, ebx
jne 0x103fa80
jmp 0x103fab4
mov edx, dword [edx + ebx*8 + 4]
cmp edx, eax
je 0x103fab4
push edi
push 0
push dword [esp + 0x10]
push 0xc
push edx
push dword [0xd6aea8]
mov esi, ecx
call fcn.01040da0
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x103fb5b
mov edx, dword [ecx]
test edx, edx
je 0x103fb5b
mov dword [esp + 8], edx
mov dword [esp], 0x16171819
mov word [esp + 4], 0
xor ebx, ebx
nop
nop
nop
nop
nop
nop
mov edx, ebx
add dl, 0xb6
xor dl, byte [esp + ebx]
add dl, 0x50
mov byte [esp + ebx], dl
mov edx, ebx
and edx, 1
xor ebx, 1
lea ebx, [ebx + edx*2]
cmp ebx, 6
jb 0x103fae0
mov esi, dword [0xd6aea0]
test esi, esi
je 0x103fb55
mov edx, dword [esp]
xor ebx, ebx
mov edi, dword [0xd6aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebx*8], 0xb430e561
je 0x103fb30
inc ebx
cmp esi, ebx
jne 0x103fb20
jmp 0x103fb55
mov esi, dword [edi + ebx*8 + 4]
cmp esi, edx
je 0x103fb55
push dword [esp + 8]
push 4
push esi
push dword [0xd6aea8]
mov esi, ecx
mov edi, eax
call fcn.01040da0
mov eax, edi
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8