Function at 0x1017f860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022d05b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x106c15c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
xorps xmm0, xmm0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
movups xmmword [edi + 0x164], xmm0
mov dword [ebp - 4], 0
movq qword [edi + 0x174], xmm0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x190], 0
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1cc], 0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1d0], 0
mov dword [edi + 0x1d4], 0
mov dword [edi + 0x1d8], 0
mov dword [edi + 0x1dc], 0
mov dword [edi + 0x1e0], 0
mov dword [edi + 0x1e4], 0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0
mov dword [edi + 0x1f0], 0
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0
mov dword [edi + 0x1fc], 0
mov dword [edi + 0x200], 0
xor eax, eax
mov dword [edi + 0x204], 0
mov dword [edi + 0x208], 0
mov dword [edi + 0x20c], 0
mov dword [edi + 0x210], 0
mov dword [edi + 0x214], 0
mov dword [edi + 0x218], 0
mov dword [edi + 0x21c], 0
mov dword [edi + 0x220], 0
mov dword [edi + 0x224], 0
mov dword [edi + 0x228], 0
mov dword [edi + 0x22c], 0
mov dword [edi + 0x230], 0
mov dword [edi + 0x234], 0
mov dword [edi + 0x238], 0
mov dword [edi + 0x23c], 0
mov dword [edi + 0x240], 0
mov dword [edi + 0x244], eax
mov dword [edi + 0x248], eax
mov dword [edi + 0x25c], eax
mov dword [edi + 0x258], eax
mov dword [edi + 0x260], eax
mov dword [edi + 0x268], eax
mov dword [edi + 0x264], eax
mov dword [edi + 0x26c], eax
lea ecx, [edi + 0x27c]
push eax
call fcn.1017e1f0
mov byte [ebp - 4], 4
lea eax, [edi + 0x330]
mov ecx, 2
nop
mov dword [eax], 0
lea eax, [eax + 0x10]
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x1017fc60
push 0x360
push ecx
push edi
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1017fc98
mov eax, dword [0x106c40f4]
sub esi, ecx
test eax, eax
je 0x1017fcb0
inc dword [eax + 0xb0]
push dword [0x106c40f8]
inc esi
push esi
call dword [0x106bfd34]
push esi
mov esi, dword [ebp + 0xc]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, esi
mov dword [edi + 0xc], eax
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1017fcd4
sub ecx, edx
push 0
push 0
push esi
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
call fcn.10188c20
mov dword [edi + 0x10], eax
add esp, 0xc
mov esi, dword [edi + 0xec]
mov ecx, dword [edi + 0xf0]
cmp esi, ecx
jne 0x1017fda4
inc esi
test ecx, ecx
je 0x1017fd17
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1017fd1c
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1017fda4
mov eax, dword [0x106c40f4]
test eax, eax
je 0x1017fd34
inc dword [eax + 0xb0]
push dword [0x106c40f8]
lea eax, [esi*4]
push eax
call dword [0x106bfd34]
mov edx, dword [edi + 0xf4]
add esp, 8
mov dword [ebp + 0xc], eax
test edx, edx
je 0x1017fd98
mov ecx, dword [edi + 0xec]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0xf4]
add esp, 0xc
test ecx, ecx
je 0x1017fd85
mov eax, dword [0x106c40f4]
test eax, eax
je 0x1017fd85
dec dword [eax + 0xb0]
push dword [0x106c40f8]
push ecx
call dword [0x106bfd38]
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf0], esi
mov edx, dword [edi + 0xec]
mov ecx, dword [edi + 0xf4]
mov eax, dword [edi + 0x10]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xec]
mov ecx, dword [edi + 0xec]
mov eax, dword [edi + 0xf4]
push dword [eax + ecx*4 - 4]
push 0
push str.MOVE
call fcn.10188c20
mov ecx, dword [0x106c40f4]
mov esi, eax
add esp, 0xc
cmp dword [ecx + 0x3e6c], esi
jne 0x1017fdfd
push 0
push str.MOVE
push 0xb
push esi
call fcn.10185690
add esp, 0x10
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x27c]
add eax, 0x3bd0
mov dword [edi + 0x278], ecx
mov dword [edi + 0x78], esi
mov dword [edi + 0x90], 0x7f7fffff
mov dword [edi + 0x94], 0x7f7fffff
mov dword [edi + 0x98], 0x3f000000
mov dword [edi + 0x9c], 0x3f000000
mov word [edi + 0xcc], 0xffff
mov dword [edi + 0xd0], 0xffffffff
mov word [edi + 0xd9], 0
mov byte [edi + 0xd8], 0
mov dword [edi + 0xe4], 0x7f7fffff
mov dword [edi + 0xe8], 0x7f7fffff
mov dword [edi + 0xdc], 0x7f7fffff
mov dword [edi + 0xe0], 0x7f7fffff
mov dword [edi + 0x24c], 0xffffffff
mov dword [edi + 0x250], 0xbf800000
mov dword [edi + 0x270], 0x3f800000
mov dword [edi + 0x274], 0xffffffff
mov dword [ecx + 0x2c], eax
mov ecx, dword [edi + 0x278]
mov eax, dword [edi + 0xc]
mov dword [ecx + 0x30], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8