Function at 0x1000a860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100140d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1001a010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
push dword [ebp + 0x2c]
mov dword [ebp - 4], 0
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
call fcn.10009ea0
mov dword [edi], vtable.GUIParent.0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 2
lea esi, [edi + 0x34]
mov dword [ebp - 0x14], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100129dd
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x3c], 0
mov al, byte [ebp + 0x38]
mov ecx, edi
mov byte [ebp - 4], 3
mov byte [edi + 0x41], al
mov al, byte [ebp + 0x3c]
mov byte [edi + 0x43], al
mov eax, dword [edi + 0x14]
sub eax, 0x1a
mov dword [edi], vtable.GUIWindow.0
push eax
mov eax, dword [edi + 0x10]
sub eax, 8
mov byte [edi + 0x40], 0
push eax
push 0
mov byte [edi + 0x42], 0
call fcn.1000a5c0
push 0
push 0
push 1
mov ecx, edi
call fcn.1000a5c0
mov eax, dword [edi + 0x10]
mov ecx, edi
push 5
sar eax, 1
push eax
push 2
call fcn.1000a6e0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.10005660
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x30], 0x8f
mov dword [ebp - 0x2c], 0x8f
mov dword [ebp - 0x28], 0x8f
mov dword [ebp - 0x10], 2
call fcn.10005c70
movups xmm0, xmmword [ebp - 0x34]
sub esp, 0x14
mov ecx, dword [eax]
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + ecx*4]
mov eax, esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 1
mov byte [ebp - 4], 3
call fcn.10009700
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push eax
mov ecx, esi
call fcn.10005c70
cmp byte [ebp + 0x34], 0
mov ecx, dword [eax]
mov eax, dword [edi + 0x28]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
lea esi, [edx + 0x2c]
mov dword [ebp - 0x14], esi
je 0x1000aa47
mov eax, dword [esi]
mov ecx, dword [edi + 0x10]
push 1
push 0
push 1
shl eax, 4
sub ecx, eax
sub ecx, 0x10
push ecx
push edi
push 0x1000a7e0
sub esp, 0x18
mov esi, esp
push 1
push 0x10016800
push esi
mov dword [esi], 0
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0xf
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov byte [esi + 1], 0
call fcn.10008b60
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x38], 0x18
mov dword [eax + 0x30], 0x10
mov dword [eax + 0x34], 0x10
cmp byte [ebp + 0x30], 0
je 0x1000aa9c
mov eax, dword [esi]
mov ecx, dword [edi + 0x10]
push 1
push 0
shl eax, 4
sub ecx, eax
push 3
sub ecx, 0x10
push ecx
push edi
push 0x1000a820
sub esp, 0x18
mov ecx, edx
mov eax, esp
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.10008b60
mov dword [eax + 0x38], 0x92
mov dword [eax + 0x30], 0xc
mov dword [eax + 0x34], 0xc
cmp byte [ebp + 0x38], 0
je 0x1000aaf2
mov eax, dword [esi]
mov edx, dword [edi + 0x10]
mov ecx, dword [ebp - 0x10]
push 1
push 1
shl eax, 4
push 3
sub edx, eax
sub edx, 0x10
push edx
push edi
push 0x1000a840
sub esp, 0x18
mov eax, esp
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.10008b60
mov dword [eax + 0x38], 0x85
mov dword [eax + 0x30], 0xc
mov dword [eax + 0x34], 0xc
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x1000ab28
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ab1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ab1e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10012a0d
add esp, 8
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 0x38