Function at 0x1a60690
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x1acd344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 4
push 0x3000
push esi
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
call fcn.01a22ac0
mov ebx, eax
test ebx, ebx
jns 0x1a606de
xor eax, eax
lea edi, [esi + 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x1a608e4
mov edi, dword [ebp - 8]
push 0xb
pop ecx
rep movsd dword es:[edi], dword [esi]
xor edi, edi
lea eax, [ebp - 0x14]
push edi
push edi
push edi
push 0x1f0003
push eax
call fcn.01a22de0
mov ebx, eax
test ebx, ebx
js 0x1a608e4
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 2
test al, 8
je 0x1a60715
or ecx, 4
lea eax, [ebp - 0x68]
or ecx, 1
push eax
push edi
push edi
push edi
push ecx
call fcn.01a60930
mov ebx, eax
test ebx, ebx
jne 0x1a60835
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
push 2
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x5c]
push edi
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x58]
push 0x1f0003
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x10]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [esi + 0x1c], ecx
push 0xffffffffffffffff
call fcn.01a22d20
mov ebx, eax
test ebx, ebx
jns 0x1a60772
push ebx
push dword [ebp - 0x64]
call fcn.01a22c20
jmp 0x1a608e4
push edi
push 4
lea eax, [ebp - 0x10]
push eax
push eax
push dword [ebp - 0x64]
call fcn.01a22d00
mov ebx, eax
test ebx, ebx
js 0x1a60764
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1a607d2
push 2
push edi
push 0x1f0003
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 0x64]
push eax
push 0xffffffffffffffff
call fcn.01a22d20
mov ebx, eax
test ebx, ebx
js 0x1a60764
mov eax, dword [esi + 4]
test al, 0x10
jne 0x1a607bc
mov eax, dword [esi + 0x18]
push eax
call fcn.01a22a30
push edi
push 4
lea eax, [ebp - 0xc]
push eax
push eax
push dword [ebp - 0x64]
call fcn.01a22d00
mov ebx, eax
test ebx, ebx
js 0x1a60764
push dword [ebp - 0x64]
call fcn.01a24040
push edi
push edi
push dword [ebp - 0x14]
call fcn.01a22980
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1a608e4
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x60]
push 0
mov ebx, dword [ebx + 0x14]
push eax
call fcn.01a22a20
push 0
push 0
push ebx
mov dword [ebp - 0x20], eax
call fcn.01a22980
push esi
call fcn.01a22a30
push edi
call fcn.01a22a30
push dword [ebp - 0x1c]
call fcn.01a22a30
push ebx
call fcn.01a22a30
mov ebx, dword [ebp - 0x20]
jmp 0x1a608e4
cmp ebx, 0x129
jne 0x1a608ca
mov eax, dword fs:[0x30]
push edi
mov eax, dword [eax + 0xc]
mov byte [eax + 0x28], 1
mov eax, dword [ebp - 0x10]
push eax
call fcn.01a22a20
mov eax, dword [ebp - 0x10]
push eax
call fcn.01a22a30
cmp dword [ebp - 0xc], edi
je 0x1a60878
push edi
push edi
push dword [ebp - 0xc]
call fcn.01a22980
push dword [ebp - 0xc]
call fcn.01a22a30
mov eax, dword [ebp - 8]
mov esi, dword [eax + 8]
mov eax, dword [ebp - 8]
test esi, esi
je 0x1a60895
mov eax, dword [eax + 0xc]
mov ecx, esi
push eax
call dword [0x1ac91d0]
call esi
jmp 0x1a608a4
mov eax, dword [eax + 4]
test al, 4
jne 0x1a608a4
push edi
push 0xfffffffffffffffe
call fcn.01a24450
mov eax, dword [ebp - 8]
push 0x8000
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
call fcn.01a22b40
mov ebx, eax
push ebx
push 0xffffffffffffffff
jmp 0x1a60768
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1a608e4
push edi
push eax
call fcn.01a22a20
cmp dword [ebp - 0x14], 0
je 0x1a608f2
push dword [ebp - 0x14]
call fcn.01a22a30
mov eax, dword [ebp - 8]
test eax, eax
je 0x1a60912
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x8000
push eax
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
call fcn.01a22b40
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01a24a40
mov esp, ebp
pop ebp
ret 4