Function at 0x166cdc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x16b947b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x17ec9dc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
xor eax, eax
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 8]
call fcn.0166c880
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edx
call fcn.0166c880
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 8]
mov ecx, dword [esp + 0xc8]
mov edx, eax
push ecx
sub edx, esi
sar edx, 4
push edx
push eax
push esi
call fcn.0166c940
add esp, 0x10
mov dword [esp + 0x28], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0x9c