Function at 0x10074b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x103c4120]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
cmp dword [edx], 0
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x17c], ebx
je 0x10074b79
xor ecx, ecx
jmp 0x10074b8e
mov eax, dword [ebx]
dec eax
je 0x10074b89
mov edi, edi
cmp dword [edx + eax*4], 0
jne 0x10074b75
dec eax
jne 0x10074b80
mov ecx, 1
cmp dword [edx + 0x48], 0
lea esi, [edx + 0x48]
je 0x10074b9b
xor eax, eax
jmp 0x10074bae
mov eax, dword [ebx]
dec eax
je 0x10074ba9
cmp dword [esi + eax*4], 0
jne 0x10074b97
dec eax
jne 0x10074ba0
mov eax, 1
test ecx, ecx
je 0x10074bf2
test eax, eax
je 0x10074bf2
mov eax, dword [ebx]
mov esi, dword [ebp - 0x184]
shl eax, 2
push eax
push edi
push esi
call fcn.101c6b90
mov eax, dword [ebx]
shl eax, 2
push eax
lea eax, [edi + 0x48]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.101c6b90
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101c6a5b
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edi], 0
je 0x10074c03
mov dword [ebp - 0x170], 0
jmp 0x10074c1b
mov eax, dword [ebx]
dec eax
je 0x10074c11
cmp dword [edi + eax*4], 0
jne 0x10074bf7
dec eax
jne 0x10074c08
mov dword [ebp - 0x170], 1
cmp dword [edi + 0x48], 0
lea ecx, [edi + 0x48]
je 0x10074c28
xor eax, eax
jmp 0x10074c3e
mov eax, dword [ebx]
dec eax
je 0x10074c39
lea ecx, [ecx]
cmp dword [ecx + eax*4], 0
jne 0x10074c24
dec eax
jne 0x10074c30
mov eax, 1
cmp dword [ebp - 0x170], 0
je 0x10074c84
test eax, eax
je 0x10074c84
mov eax, dword [ebx]
mov edi, dword [ebp - 0x184]
shl eax, 2
push eax
push edx
push edi
call fcn.101c6b90
mov eax, dword [ebx]
shl eax, 2
push eax
lea eax, [edi + 0x48]
push esi
push eax
call fcn.101c6b90
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101c6a5b
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebx]
lea eax, [ebx*4]
mov dword [ebp - 0x178], eax
sub eax, 4
mov dword [ebp - 0x170], eax
jb 0x10074cbd
mov edi, edi
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x10074cc6
mov eax, dword [ebp - 0x170]
add edx, 4
add edi, 4
sub eax, 4
mov dword [ebp - 0x170], eax
jae 0x10074ca0
cmp eax, 0xfffffffc
je 0x10075022
mov al, byte [edx]
cmp al, byte [edi]
jne 0x10074d0f
cmp dword [ebp - 0x170], 0xfffffffd
je 0x10075022
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x10074d0f
cmp dword [ebp - 0x170], 0xfffffffe
je 0x10075022
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x10074d0f
cmp dword [ebp - 0x170], 0xffffffff
je 0x10075022
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x10075022
mov edi, dword [ebp - 0x174]
lea edx, [ebp - 0xdc]
mov esi, dword [ebp - 0x180]
neg ebx
mov ecx, edi
lea eax, [ebx*4]
sub ecx, eax
sub edx, eax
sub esi, eax
mov dword [ebp - 0x170], edx
sub esi, ecx
sub dword [ebp - 0x170], ecx
lea edx, [eax + ecx]
mov ecx, dword [ebp - 0x170]
lea esp, [esp]
mov eax, dword [esi + edx]
lea edx, [edx + 4]
xor eax, dword [edx - 4]
mov dword [ecx + edx - 4], eax
inc ebx
jne 0x10074d50
mov ebx, dword [ebp - 0x17c]
lea eax, [ebp - 0xdc]
mov ecx, dword [ebp - 0x188]
push dword [ebx]
push dword [ebx + 0x10]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.10075580
mov esi, dword [ebx]
lea edx, [ebp - 0xdc]
mov ecx, dword [ebp - 0x180]
neg esi
mov eax, 0x12
sub eax, esi
shl eax, 2
add ecx, eax
mov dword [ebp - 0x178], ecx
lea ecx, [eax + edi]
mov edi, dword [ebp - 0x178]
lea eax, [esi*4]
sub edi, ecx
sub edx, eax
mov dword [ebp - 0x170], edx
lea edx, [eax + ecx]
sub dword [ebp - 0x170], ecx
mov ecx, dword [ebp - 0x170]
nop
mov eax, dword [edi + edx]
lea edx, [edx + 4]
xor eax, dword [edx - 4]
mov dword [ecx + edx - 4], eax
inc esi
jne 0x10074dd0
push dword [ebx]
mov ecx, dword [ebp - 0x188]
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x16c]
push eax
push eax
call fcn.1007de90
push dword [ebx]
mov ecx, dword [ebp - 0x188]
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.1007e300
mov esi, dword [ebx]
lea ecx, [ebp - 0x16c]
neg esi
lea edx, [ebp - 0x4c]
lea ebx, [ebp - 0xdc]
lea eax, [esi*4]
sub ecx, eax
sub edx, eax
sub ebx, eax
mov dword [ebp - 0x170], edx
sub ebx, ecx
sub dword [ebp - 0x170], ecx
lea edx, [eax + ecx]
mov ecx, dword [ebp - 0x170]
mov edi, edi
mov eax, dword [ebx + edx]
lea edx, [edx + 4]
xor eax, dword [edx - 4]
mov dword [ecx + edx - 4], eax
inc esi
jne 0x10074e50
mov ebx, dword [ebp - 0x17c]
lea ecx, [ebp - 0x4c]
mov esi, dword [ebx]
neg esi
lea eax, [esi*4]
sub ecx, eax
mov dword [ebp - 0x170], ecx
mov ecx, dword [ebp - 0x180]
sub ecx, eax
lea edx, [eax + ecx]
mov eax, dword [ebp - 0x170]
mov edi, eax
sub edi, ecx
sub eax, ecx
mov ecx, eax
mov eax, dword [edi + edx]
lea edx, [edx + 4]
xor eax, dword [edx - 4]
mov dword [ecx + edx - 4], eax
inc esi
jne 0x10074e95
mov edx, dword [ebx]
lea esi, [ebp - 0x4c]
mov edi, dword [ebp - 0x174]
neg edx
lea eax, [edx*4]
sub edi, eax
sub esi, eax
mov ebx, esi
sub ebx, edi
sub esi, edi
lea ecx, [eax + edi]
mov eax, dword [ebx + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [esi + ecx - 4], eax
inc edx
jne 0x10074ec6
mov ebx, dword [ebp - 0x17c]
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0xdc]
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
neg esi
xor dword [ebp - 0x4c], eax
lea eax, [esi*4]
sub ecx, eax
sub edx, eax
mov dword [ebp - 0x178], ecx
mov ecx, dword [ebp - 0x180]
mov edi, dword [ebp - 0x178]
sub ecx, eax
mov dword [ebp - 0x174], edx
sub edi, ecx
sub dword [ebp - 0x174], ecx
lea edx, [eax + ecx]
mov ecx, dword [ebp - 0x174]
mov eax, dword [edi + edx]
lea edx, [edx + 4]
xor eax, dword [edx - 4]
mov dword [ecx + edx - 4], eax
inc esi
jne 0x10074f25
push dword [ebx]
mov ecx, dword [ebp - 0x188]
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0xdc]
push eax
push eax
call fcn.1007de90
mov esi, dword [ebx]
lea ecx, [ebp - 0x4c]
neg esi
lea ebx, [ebp - 0xdc]
lea edi, [ebp - 0x124]
lea eax, [esi*4]
sub ecx, eax
sub ebx, eax
sub edi, eax
sub ebx, ecx
sub edi, ecx
mov dword [ebp - 0x178], edi
mov edi, dword [ebp - 0x180]
lea edx, [eax + ecx]
mov ecx, dword [ebp - 0x178]
lea ebx, [ebx]
mov eax, dword [ebx + edx]
lea edx, [edx + 4]
xor eax, dword [edx - 4]
mov dword [ecx + edx - 4], eax
inc esi
jne 0x10074f90
mov ebx, dword [ebp - 0x17c]
lea esi, [ebp - 0x124]
mov eax, 0x12
mov edx, dword [ebx]
neg edx
sub eax, edx
lea ecx, [edx*4]
sub esi, ecx
lea eax, [edi + eax*4]
mov edi, esi
add ecx, eax
sub edi, eax
sub esi, eax
jmp 0x10074fd0
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [esi + ecx - 4], eax
inc edx
jne 0x10074fd0
mov eax, dword [ebx]
mov esi, dword [ebp - 0x184]
shl eax, 2
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.101c6b90
mov eax, dword [ebx]
shl eax, 2
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.101c6b90
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101c6a5b
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp - 0x178]
mov edx, edi
sub edx, 4
jb 0x10075041
nop
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10075046
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10075030
cmp edx, 0xfffffffc
je 0x100750af
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x10075073
cmp edx, 0xfffffffd
je 0x100750af
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10075073
cmp edx, 0xfffffffe
je 0x100750af
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x10075073
cmp edx, 0xffffffff
je 0x100750af
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x100750af
mov ebx, dword [ebp - 0x184]
push edi
push 0
push ebx
call fcn.101c6a70
mov eax, dword [ebp - 0x17c]
mov eax, dword [eax]
shl eax, 2
push eax
lea eax, [ebx + 0x48]
push 0
push eax
call fcn.101c6a70
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101c6a5b
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x188]
push eax
push dword [ebp - 0x180]
push edi
call fcn.10075310
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101c6a5b
mov esp, ebp
pop ebp
ret 0x10