Function at 0x10111aa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1035d522
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
sub esp, 0xc
mov esi, esp
mov dword [esp + 0x24], eax
lea ebx, [edi + 0x44]
mov dword [esp + 0x24], esp
push ebx
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.10001120
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
xor ecx, ecx
sub esp, 0xc
mov esi, esp
mov dword [esp + 0x80], ecx
lea eax, [edi + 0x38]
mov dword [esp + 0x34], esp
mov dword [esi], ecx
mov dword [esi + 4], ecx
push eax
mov ecx, esi
call fcn.10001120
mov ecx, dword [edi + 0x40]
mov dword [esi + 8], ecx
lea edx, [esp + 0x5c]
push edx
mov ecx, edi
mov dword [esp + 0x84], 0xffffffff
call fcn.10111f50
lea esi, [esp + 0x2c]
lea edi, [esp + 0x44]
mov dword [esp + 0x68], 1
call fcn.100671d0
mov esi, eax
mov byte [esp + 0x68], 2
mov edi, 1
push ebx
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.10007dd0
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 8]
jne 0x10111b99
lea esi, [esp + 0x20]
lea ecx, [esp + 0x44]
call fcn.10008ae0
mov esi, eax
mov eax, 3
mov dword [esp + 0x68], eax
push ebx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.10007dd0
mov ecx, dword [esi + 8]
mov byte [esp + 0x17], 1
cmp ecx, dword [ebx + 8]
je 0x10111b9e
mov byte [esp + 0x17], 0
mov dword [esp + 0x68], 2
test byte [esp + 0x18], 2
je 0x10111bbb
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x20]
call fcn.100011a0
mov dword [esp + 0x68], edi
test byte [esp + 0x18], 1
je 0x10111bcf
lea ecx, [esp + 0x2c]
call fcn.100011a0
cmp byte [esp + 0x17], 0
je 0x10111c13
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x20]
lea esi, [esp + 0x2c]
call fcn.10008ae0
mov esi, eax
push ebx
mov ecx, esi
mov byte [esp + 0x6c], 4
call fcn.10007dd0
mov edx, dword [esi + 8]
cmp edx, dword [ebx + 8]
lea ecx, [esp + 0x2c]
sete bl
mov byte [esp + 0x68], 1
call fcn.100011a0
test bl, bl
je 0x10111c13
mov byte [edi + 0x50], 1
sub esp, 0xc
mov esi, esp
lea edi, [esp + 0x50]
mov dword [esp + 0x28], esp
call fcn.100671d0
mov ebx, dword [ebp + 8]
sub esp, 0xc
mov esi, esp
mov byte [esp + 0x80], 5
mov dword [esp + 0x30], esp
add ebx, 0x38
push ebx
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10001120
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
lea edi, [esp + 0x44]
mov byte [esp + 0x80], 1
call fcn.101129d0
mov esi, eax
mov edi, dword [ebp + 8]
add edi, 0x20
push esi
mov ecx, edi
mov byte [esp + 0x6c], 6
call fcn.10001120
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
add esi, 0xc
add edi, 0xc
push esi
mov ecx, edi
call fcn.10001120
mov edx, dword [esi + 8]
lea eax, [esp + 0x2c]
push eax
mov dword [edi + 8], edx
mov byte [esp + 0x6c], 1
call fcn.10007060
lea esi, [esp + 0x2c]
lea ecx, [esp + 0x44]
call fcn.10008ae0
mov esi, eax
push esi
mov ecx, ebx
mov byte [esp + 0x6c], 7
call fcn.10001120
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 1
call fcn.100011a0
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x6c], 0xffffffff
call fcn.10007060
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4