Function at 0x100a4040
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10001850]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
cmp dword [esi + 0x18], 0
jne 0x100a409c
mov edx, str.WARNING:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.Empty_input__no_delta_window_produced
mov ecx, eax
call fcn.10015c40
push eax
call fcn.1001a500
add esp, 4
cmp byte [0x100ea58c], 0
je 0x100a42fe
jmp 0x100a434f
call fcn.100a3fc0
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0xc], eax
call fcn.100a7fb0
xor ecx, ecx
mov edi, eax
call fcn.100a7fb0
mov ecx, dword [esp + 0xc]
mov esi, eax
call fcn.100a7fb0
mov edx, dword [ebx]
add eax, esi
add eax, edi
mov ecx, ebx
mov edi, dword [esp + 0xc]
inc eax
add eax, edi
push eax
call dword [edx + 0x10]
mov esi, dword [esp + 0x10]
mov ecx, ebx
mov eax, dword [ebx]
cmp byte [esi + 0x90], 0
je 0x100a40e9
push 5
jmp 0x100a40eb
push 1
call dword [eax + 0xc]
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x10]
call fcn.100a8020
mov edx, dword [ebx]
lea ecx, [esp + 0x15]
sub ecx, eax
push eax
push ecx
mov ecx, ebx
call dword [edx + 4]
lea edx, [esp + 0x10]
xor ecx, ecx
call fcn.100a8020
mov edx, dword [ebx]
lea ecx, [esp + 0x15]
sub ecx, eax
push eax
push ecx
mov ecx, ebx
call dword [edx + 4]
lea edx, [esp + 0x10]
mov ecx, edi
call fcn.100a8020
mov edx, dword [ebx]
lea ecx, [esp + 0x15]
sub ecx, eax
push eax
push ecx
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ecx, dword [esi + 0x80]
lea edx, [esp + 0x18]
mov dword [esp + 0x10], eax
call fcn.100a8020
mov edx, dword [ebx]
lea ecx, [esp + 0x1d]
sub ecx, eax
push eax
push ecx
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0xc]
mov ecx, dword [esi + 0x34]
lea edx, [esp + 0x18]
call fcn.100a8020
mov edx, dword [ebx]
lea ecx, [esp + 0x1d]
sub ecx, eax
push eax
push ecx
mov ecx, ebx
call dword [edx + 4]
mov ecx, dword [esi + 0x18]
lea edx, [esp + 0x18]
call fcn.100a8020
mov edx, dword [ebx]
lea ecx, [esp + 0x1d]
sub ecx, eax
push eax
push ecx
mov ecx, ebx
call dword [edx + 4]
mov ecx, dword [esi + 0x50]
lea edx, [esp + 0x18]
call fcn.100a8020
mov edx, dword [ebx]
lea ecx, [esp + 0x1d]
sub ecx, eax
push eax
push ecx
mov ecx, ebx
call dword [edx + 4]
cmp byte [esi + 0x90], 0
je 0x100a41ec
push 0
push dword [esi + 0x94]
lea ecx, [esp + 0x20]
call fcn.100a81e0
mov edx, dword [ebx]
lea ecx, [esp + 0x29]
add esp, 8
sub ecx, eax
push eax
push ecx
mov ecx, ebx
call dword [edx + 4]
cmp dword [esi + 0x38], 0x10
jb 0x100a41f7
mov ecx, dword [esi + 0x24]
jmp 0x100a41fa
lea ecx, [esi + 0x24]
push dword [esi + 0x34]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 4]
cmp dword [esi + 0x1c], 0x10
jb 0x100a4210
mov ecx, dword [esi + 8]
jmp 0x100a4213
lea ecx, [esi + 8]
push dword [esi + 0x18]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 4]
cmp dword [esi + 0x54], 0x10
lea edi, [esi + 0x40]
jb 0x100a422b
mov ecx, dword [edi]
jmp 0x100a422d
mov ecx, edi
push dword [esi + 0x50]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp ecx, eax
je 0x100a42a0
push eax
push ecx
push ecx
push ecx
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.Internal_error:_calculated_length_of_the_delta_encoding__
mov ecx, eax
call fcn.10015c40
add esp, 4
mov ecx, eax
call fcn.10012f00
mov edx, str.__does_not_match_actual_length__
mov ecx, eax
call fcn.10015c40
add esp, 4
mov ecx, eax
call fcn.10012f00
push eax
call fcn.1001a500
add esp, 4
cmp byte [0x100ea58c], 0
jne 0x100a4360
cmp dword [esi + 0x38], 0x10
lea eax, [esi + 0x24]
mov dword [eax + 0x10], 0
jb 0x100a42b2
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 8]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x100a42c7
mov eax, dword [eax]
mov byte [eax], 0
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x100a42d9
mov edi, dword [edi]
mov byte [edi], 0
cmp dword [esi + 0x80], 0
jne 0x100a42fe
mov edx, str.WARNING:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.Empty_target_window
jmp 0x100a407a
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x7c]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x100a433b
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.Internal_error:_calling_Init___to_reset_VCDiffCodeTableWriter_state_failed
mov ecx, eax
call fcn.10015c40
push eax
call fcn.1001a500
add esp, 4
cmp byte [0x100ea58c], 0
jne 0x100a434f
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x100e9268
call fcn.1002d2f0
push 1
call fcn.100b18e2
mov ecx, 0x100e9268
call fcn.1002d2f0
push 1
call fcn.100b18e2
int3