Function at 0x100a1970
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10001840]
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 0x100a19cc
mov edx, str.WARNING:
mov ecx, 0x100e6440
call fcn.10022310
mov edx, str.Empty_input__no_delta_window_produced
mov ecx, eax
call fcn.10022310
push eax
call fcn.100950e0
add esp, 4
cmp byte [0x100e7774], 0
je 0x100a1c2e
jmp 0x100a1c7f
call fcn.100a18f0
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0xc], eax
call fcn.100a48d0
xor ecx, ecx
mov edi, eax
call fcn.100a48d0
mov ecx, dword [esp + 0xc]
mov esi, eax
call fcn.100a48d0
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 0x100a1a19
push 5
jmp 0x100a1a1b
push 1
call dword [eax + 0xc]
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x10]
call fcn.100a4940
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.100a4940
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.100a4940
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.100a4940
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.100a4940
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.100a4940
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.100a4940
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 0x100a1b1c
push 0
push dword [esi + 0x94]
lea ecx, [esp + 0x20]
call fcn.100a4b00
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 0x100a1b27
mov ecx, dword [esi + 0x24]
jmp 0x100a1b2a
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 0x100a1b40
mov ecx, dword [esi + 8]
jmp 0x100a1b43
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 0x100a1b5b
mov ecx, dword [edi]
jmp 0x100a1b5d
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 0x100a1bd0
push eax
push ecx
push ecx
push ecx
mov edx, str.ERROR:
mov ecx, 0x100e6440
call fcn.10022310
mov edx, str.Internal_error:_calculated_length_of_the_delta_encoding__
mov ecx, eax
call fcn.10022310
add esp, 4
mov ecx, eax
call fcn.100497b0
mov edx, str.__does_not_match_actual_length__
mov ecx, eax
call fcn.10022310
add esp, 4
mov ecx, eax
call fcn.100497b0
push eax
call fcn.100950e0
add esp, 4
cmp byte [0x100e7774], 0
jne 0x100a1c90
cmp dword [esi + 0x38], 0x10
lea eax, [esi + 0x24]
mov dword [eax + 0x10], 0
jb 0x100a1be2
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 8]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x100a1bf7
mov eax, dword [eax]
mov byte [eax], 0
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x100a1c09
mov edi, dword [edi]
mov byte [edi], 0
cmp dword [esi + 0x80], 0
jne 0x100a1c2e
mov edx, str.WARNING:
mov ecx, 0x100e6440
call fcn.10022310
mov edx, str.Empty_target_window
jmp 0x100a19aa
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x7c]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x100a1c6b
mov edx, str.ERROR:
mov ecx, 0x100e6440
call fcn.10022310
mov edx, str.Internal_error:_calling_Init___to_reset_VCDiffCodeTableWriter_state_failed
mov ecx, eax
call fcn.10022310
push eax
call fcn.100950e0
add esp, 4
cmp byte [0x100e7774], 0
jne 0x100a1c7f
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100acd5e
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x100e6440
call fcn.10026460
push 1
call fcn.100af072
mov ecx, 0x100e6440
call fcn.10026460
push 1
call fcn.100af072
int3