Function at 0x100a6cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1017381c
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
mov dword [ebx], vtable.izg::CPacket.0
lea eax, [ebx + 0x28]
mov ecx, eax
mov dword [esp + 0x38], 4
mov dword [esp + 0x28], eax
call fcn.100e9b80
mov eax, dword [ebx + 0x10]
mov ebp, dword [eax]
lea esi, [ebx + 0xc]
mov edi, esi
mov byte [esp + 0x38], 5
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], edi
cmp esi, edi
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
je 0x100a6d40
call fcn.100bcb20
cmp dword [esp + 0x18], ebp
je 0x100a6dc5
test edi, edi
jne 0x100a6d4f
call fcn.100bcb20
cmp ebp, dword [edi + 4]
jne 0x100a6d59
call fcn.100bcb20
mov edi, dword [ebp + 0x28]
test edi, edi
je 0x100a6daf
cmp dword [edi + 0x38], 8
jb 0x100a6d72
mov ecx, dword [edi + 0x24]
push ecx
call fcn.100bbe20
add esp, 4
xor eax, eax
mov dword [edi + 0x38], 7
mov dword [edi + 0x34], eax
mov word [edi + 0x24], ax
cmp dword [edi + 0x1c], 0x10
jb 0x100a6d94
mov edx, dword [edi + 8]
push edx
call fcn.100bbe20
add esp, 4
mov dword [edi + 0x1c], 0xf
mov dword [edi + 0x18], 0
push edi
mov byte [edi + 8], 0
call fcn.100bbe20
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.100a4a90
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x100a6d30
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.100a6520
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [eax], eax
mov eax, dword [esi + 4]
lea edi, [ebx + 0x18]
mov dword [eax + 8], eax
mov ebp, dword [edi + 8]
cmp dword [edi + 4], ebp
jbe 0x100a6dfb
call fcn.100bcb20
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x14], eax
jbe 0x100a6e10
call fcn.100bcb20
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x100a6e8a
mov ebx, dword [edi + 8]
mov ecx, ebx
sub ecx, ebp
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
cmp ebp, ebx
mov eax, dword [esp + 0x14]
lea ecx, [eax + edx*4]
mov dword [esp + 0x14], ecx
je 0x100a6e68
sub eax, ebp
mov dword [esp + 0x1c], eax
jmp 0x100a6e54
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
push ebp
lea ecx, [eax + ebp]
call fcn.10003660
add ebp, 0x1c
cmp ebp, ebx
jne 0x100a6e50
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 8]
push edx
push edi
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.100039b0
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
add esp, 0x10
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x38], 4
call fcn.100ea1a0
lea ecx, [ebx + 0x28]
mov byte [esp + 0x38], 3
call fcn.100ea4a0
mov eax, dword [edi + 4]
xor ebp, ebp
cmp eax, ebp
je 0x100a6eca
mov edx, dword [esp + 0x28]
mov ecx, dword [edi + 8]
push edx
push edi
push ecx
push eax
call fcn.100039b0
mov eax, dword [edi + 4]
push eax
call fcn.100bbe20
add esp, 0x14
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x4c], 1
call fcn.100a6990
mov eax, dword [esi + 4]
push eax
call fcn.100bbe20
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov eax, dword [ebx + 4]
add esp, 4
push eax
mov byte [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100a6f3e
mov ecx, dword [ebx + 8]
cmp ecx, ebp
je 0x100a6f21
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov esi, dword [ebx + 4]
cmp esi, ebp
mov dword [ebx + 8], ebp
je 0x100a6f3b
mov ecx, esi
call fcn.100fa2e0
push esi
call fcn.100bbe20
add esp, 4
mov dword [ebx + 4], ebp
mov dword [ebx], vtable.izg::IIZPacket.0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret