Function at 0x100e4eb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x1c]
movzx ecx, word [esi + 0x6274]
mov edx, dword [esi]
xor eax, eax
push edi
mov edi, dword [esp + 0x24]
push eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
push edi
push eax
call ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x1c]
push eax
call ecx
add esp, 0x10
test eax, eax
jne 0x100e50d3
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x1c]
push eax
call ecx
add esp, 4
sub eax, 0x4d
jne 0x100e50d3
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x1c]
push eax
call ecx
add esp, 4
sub eax, 0x52
jne 0x100e50d3
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x1c]
push eax
call ecx
imul eax, eax, 0x101
push esi
mov word [esi + 0x6274], ax
call fcn.100cd410
mov edx, dword [esi]
mov ecx, dword [edx + 0x18]
lea edi, [eax + edi + 8]
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x14], edi
call ecx
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x20], eax
jge 0x100e50af
push ebx
push ebp
xor edi, edi
lea ebx, [edi + 4]
lea ebx, [ebx]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x1c]
push eax
call ecx
shl edi, 8
add esp, 4
or edi, eax
sub ebx, 1
jne 0x100e4f70
push esi
call fcn.100cd410
add esp, 4
mov ebp, eax
cmp edi, 0x505244
je 0x100e504f
cmp edi, 0x545457
je 0x100e502e
cmp edi, 0x574247
jne 0x100e507b
push esi
call fcn.100cd410
add esp, 4
mov ecx, str.DiMAGE_A200
lea eax, [esi + 0x64c5]
jmp 0x100e4fd0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100e4ff0
test dl, dl
je 0x100e4fec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100e4ff0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100e4fd0
xor eax, eax
jmp 0x100e4ff5
sbb eax, eax
sbb eax, 0xffffffff
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 3
mov ebx, eax
xor edi, edi
push esi
call fcn.100cd370
movzx edx, ax
mov eax, edi
sar eax, 1
mov dword [esp + 0x20], edx
xor eax, edi
xor eax, ebx
fild dword [esp + 0x20]
inc edi
add esp, 4
cmp edi, 4
fstp dword [esi + eax*4 + 0xe774]
jl 0x100e5003
jmp 0x100e507b
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [ecx + 0x18]
push edx
call eax
push eax
push esi
call fcn.100e48b0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x65c0], ecx
jmp 0x100e507b
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 8]
push 1
push 8
push eax
call ecx
push esi
call fcn.100cd370
movzx edx, ax
push esi
mov dword [esp + 0x28], edx
call fcn.100cd370
movzx eax, ax
add esp, 0x14
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esi]
lea eax, [edx + ebp + 8]
mov edx, dword [esi + 4]
push 0
push eax
mov eax, dword [ecx + 8]
push edx
call eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [ecx + 0x18]
push edx
call eax
add esp, 0x10
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
jl 0x100e4f65
pop ebp
pop ebx
mov cx, word [esp + 0xc]
mov dx, word [esp + 0x10]
mov ax, word [esp + 0x18]
mov word [esi + 0x66b0], cx
mov word [esi + 0x66b2], dx
mov word [esi + 0x6274], ax
pop edi
pop esi
add esp, 0x14
ret