Function at 0x100a00d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181285
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x101e6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], edx
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
mov eax, dword [edi + 0xc]
push 0
push dword [esi + 0x30]
mov dword [ebp - 0x3c], 0
push dword [esi + 0x58]
call eax
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x6c], ecx
test ecx, ecx
je 0x100a034a
mov dword [ebp - 0x58], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [esi + 0xc]
movups xmmword [ebp - 0x54], xmm0
movq qword [ebp - 0x44], xmm0
push dword [eax + 0xc]
push ecx
lea ecx, [ebp - 0x54]
call fcn.1007bda0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x38], vtable.libzpaq::StringBuffer.1.0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x34], vtable.libzpaq::StringBuffer.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0x80
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push dword [esi + 0x74]
mov edx, edi
mov dword [ebp - 0x18], 0
push eax
push dword [ebp - 0x68]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], 0xffffffff
push eax
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1009ee60
add esp, 0x18
cmp byte [esi + 0xd78], 0
jne 0x100a029d
cmp eax, 1
je 0x100a02f1
cmp eax, 4
jne 0x100a0255
mov eax, dword [0x101c5980]
lea ecx, [ebp - 0x64]
push 0x1018c594
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.1000bc60
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
push eax
push 0xa0000035
push dword [ebp - 0x14]
mov ecx, edi
push 1
call fcn.1009eaa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x100a023d
cmp eax, dword [0x101c5980]
je 0x100a023d
push eax
call fcn.10154f5a
add esp, 4
mov eax, dword [0x101c5980]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
jmp 0x100a0267
cmp eax, 2
je 0x100a0367
cmp eax, 3
je 0x100a02f1
push dword [esi + 0x74]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xffffffff
push eax
push dword [ebp - 0x68]
lea eax, [ebp - 0x38]
mov edx, edi
push eax
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1009ee60
add esp, 0x18
cmp byte [esi + 0xd78], 0
je 0x100a01d7
mov eax, dword [0x101c5980]
lea ecx, [ebp - 0x64]
push 0x1018c594
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.1000bc60
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
push 0xa0000017
push dword [ebp - 0x14]
mov ecx, edi
push 1
call fcn.1009eaa0
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x100a02f1
cmp eax, dword [0x101c5980]
je 0x100a02f1
push eax
call fcn.10154f5a
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], vtable.libzpaq::StringBuffer.1.0
mov dword [ebp - 0x34], vtable.libzpaq::StringBuffer.0
test eax, eax
je 0x100a030f
push eax
call fcn.10154f5a
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], vtable.libzpaq::Writer.0
mov dword [ebp - 0x38], vtable.libzpaq::Reader.0
mov dword [ebp - 0x54], vtable.ZpaqInput.0
test eax, eax
je 0x100a0339
push 0x14fc
push eax
call fcn.10151441
add esp, 8
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x54], vtable.libzpaq::Reader.0
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10151433
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101c5980]
lea ecx, [ebp - 0x64]
push 0x1018c594
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.1000bc60
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 5
push eax
push 0xa0000063
jmp 0x100a02cd