Function at 0x10075b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [0x101d2014]
xor eax, ebp
test edi, edi
mov dword [ebp - 0x10], eax
je 0x10075daf
test ebx, ebx
js 0x10075d5e
movsx eax, word [edi + 0x28]
cmp eax, ebx
je 0x10075d5e
cmp dword [edi + 0x38], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], edx
jne 0x10075dcc
mov ecx, dword [edi + 4]
lea esi, [ebx + ebx*4]
movzx eax, word [ecx + esi*4 + 0x10]
test al, 0x20
jne 0x10075ddb
mov eax, dword [edi + 0x24]
test al, al
js 0x10075ca9
mov esi, ecx
mov ecx, dword [ebp - 0x18]
test bx, bx
js 0x10075c10
and eax, 0x20
jne 0x10075e1f
mov edx, ebx
movsx esi, dx
mov edx, 0x59
mov eax, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], eax
jle 0x10075cf6
mov dword [ebp - 0x20], edi
mov edi, ebx
mov ebx, esi
lea esi, [eax + 1]
lea eax, [eax + eax*4]
mov dword [ecx + 0x6c], esi
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x68]
mov byte [ecx + eax*4], dl
mov edx, dword [ebp - 0x24]
mov word [ecx + eax*4 + 2], 0
mov dword [ecx + eax*4 + 4], edx
mov dword [ecx + eax*4 + 8], ebx
mov ebx, edi
mov edi, dword [ebp - 0x20]
mov dword [ecx + eax*4 + 0xc], esi
mov dword [ecx + eax*4 + 0x10], 0
mov byte [ecx + eax*4 + 1], 0
cmp dword [edi + 0xc], 0
jne 0x10075c86
mov dword [ebp - 0x14], 0
lea esi, [ebx + ebx*4]
mov eax, dword [edi + 4]
mov edx, dword [eax + esi*4 + 4]
test edx, edx
jne 0x10075d0a
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
cmp byte [eax + ecx*4 + 0xd], 0x45
je 0x10075dff
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [edi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
lea ecx, [eax + 0x14]
and edx, 3
cmp edx, 2
jne 0x10075cac
movzx ecx, word [eax + 0x34]
mov edx, 0x59
test ecx, ecx
je 0x10075cde
mov esi, dword [eax + 4]
xor eax, eax
cmp word [esi], bx
je 0x10075ce9
add eax, 0x10000
add esi, 2
dec ecx
jne 0x10075cce
mov ecx, dword [ebp - 0x18]
xor esi, esi
dec esi
jmp 0x10075c1a
mov ecx, dword [ebp - 0x18]
sar eax, 0x10
mov esi, eax
jmp 0x10075c1a
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x24]
call fcn.1004e590
add esp, 0xc
jmp 0x10075c67
mov ecx, dword [ebp - 0x18]
movzx eax, byte [eax + esi*4 + 0xd]
mov ecx, dword [ecx]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
movzx esi, byte [ecx + 0x4e]
push eax
push dword [ebp - 0x24]
push esi
call fcn.10075ec0
add esp, 0xc
lea eax, [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x10075c86
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
jne 0x10075e76
mov ecx, dword [edx + 0x68]
mov edx, dword [edx + 0x6c]
lea edx, [edx + edx*4]
mov byte [ecx + edx*4 - 0x13], 0xf5
mov dword [ecx + edx*4 - 4], eax
jmp 0x10075c86
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jle 0x10075d93
lea ecx, [eax + 1]
lea eax, [eax + eax*4]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x68]
mov esi, dword [ebp - 0x1c]
mov dword [ecx + eax*4], 0x80
mov dword [ecx + eax*4 + 4], edx
mov dword [ecx + eax*4 + 8], esi
xor esi, esi
mov dword [ecx + eax*4 + 0xc], esi
mov dword [ecx + eax*4 + 0x10], esi
jmp 0x10075c97
mov eax, edx
mov ecx, esi
mov edx, 0x80
push 0
push dword [ebp - 0x1c]
push eax
call fcn.1004e590
add esp, 0xc
jmp 0x10075c97
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov ecx, esi
mov edx, 0x59
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.1004e520
mov ecx, dword [ebp - 0x18]
mov edx, 0xa7
mov esi, ebx
jmp 0x10075c1a
mov edi, dword [ebp - 0x18]
mov ebx, ecx
lea edx, [ecx + esi*4]
bt eax, 8
mov edi, dword [edi + 0xc]
jae 0x10075e89
push dword [edx]
push str.generated_column_loop_on___s_
push edi
call fcn.1000f470
jmp 0x10075da7
cmp dword [edi + 0x38], 0
jne 0x10075c97
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov edx, 0x53
push eax
push eax
push dword [ebp - 0x1c]
call fcn.1004e520
jmp 0x10075da7
movzx eax, word [esi + 0x10]
mov dword [ebp - 0x20], ebx
and eax, 0x20
test bx, bx
jle 0x10075e5a
movsx edx, word [ebp - 0x20]
xor ecx, ecx
inc ecx
test edx, edx
cmovg ecx, edx
add esi, 0x24
xor edx, edx
mov ebx, ecx
movzx eax, ax
shr eax, 5
xor eax, 1
add edx, eax
movzx eax, word [esi]
add esi, 0x14
and eax, 0x20
dec ebx
jne 0x10075e41
jmp 0x10075e5e
xor ecx, ecx
xor edx, edx
test ax, ax
je 0x10075e6b
sub ecx, edx
add cx, word [edi + 0x2c]
mov edx, ecx
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
jmp 0x10075c12
mov edx, 0xfffffff5
push eax
call fcn.1002cc10
add esp, 4
jmp 0x10075c86
mov ecx, dword [edi + 0x34]
lea esi, [ebx + esi*4 + 0x10]
or eax, 0x100
mov word [esi], ax
mov dword [ebp - 0x18], ecx
mov ecx, edi
mov ebx, dword [ebp - 0x24]
inc ebx
mov dword [edi + 0x34], ebx
push dword [ebp - 0x1c]
call fcn.10073030
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x34], eax
and byte [esi + 1], 0xfe
jmp 0x10075c97