Function at 0x774d6ea1
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
and dword [esp + 4], 0
and dword [esp], 0
mov eax, dword [0x775387fc]
push ebx
push esi
xor esi, esi
push edi
mov edi, 0xc0000001
test eax, eax
je 0x774d6ed8
cmp dword [0x775358d8], 0xffffffff
je 0x774d6ed8
xor eax, eax
jmp 0x774d71bd
cmp dword [0x775387f8], esi
jne 0x774d6eef
call fcn.774d724e
mov dword [0x775387f8], eax
mov eax, dword [0x775387fc]
test eax, eax
jne 0x774d7183
and dword [esp + 0xc], esi
lea eax, [esp + 0x1c]
push 4
push 0x1000
push eax
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 0x22c
push eax
push 0xffffffffffffffff
call fcn.77492ac0
mov edi, eax
test edi, edi
js 0x774d71ab
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
add eax, esi
mov dword [esp + 0x18], eax
lea ebx, [esi + 0x22c]
cmp ebx, eax
jbe 0x774d6f49
mov edi, 0xc0000023
jmp 0x774d7191
mov eax, dword fs:[0x30]
mov edx, 0x104
mov eax, dword [eax + 0x10]
movzx eax, word [eax + 0x38]
shr eax, 1
mov dword [esp + 0x28], eax
mov eax, dword fs:[0x30]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
push eax
mov dword [esp + 0x28], eax
call fcn.774d6d9e
test eax, eax
jns 0x774d6f8a
cmp eax, 0x8007007a
jne 0x774d7191
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ecx, [edi - 1]
lea ecx, [edx + ecx*2]
jmp 0x774d6faa
movzx eax, word [ecx]
cmp eax, 0x5c
je 0x774d6fb0
cmp eax, 0x2f
je 0x774d6fb0
sub ecx, 2
cmp ecx, edx
ja 0x774d6f9a
jmp 0x774d6fb3
add ecx, 2
mov eax, ecx
sub eax, edx
sar eax, 1
sub edi, eax
mov edx, edi
call fcn.774d6d14
mov ecx, dword fs:[0x30]
xor edx, edx
mov dword [esi + 0x208], eax
lea eax, [esp + 0x38]
push eax
mov ecx, dword [ecx + 8]
call fcn.77479035
mov eax, dword [esp + 0x38]
mov dword [esi + 0x214], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x20c], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x210], eax
lea eax, [esp + 0x10]
push eax
push 8
push 0xffffffffffffffff
call fcn.77493b30
mov edi, eax
test edi, edi
js 0x774d7191
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
sub eax, ebx
push eax
push ebx
push 1
push dword [esp + 0x20]
mov dword [esp + 0x28], eax
call fcn.77492b70
mov edi, eax
test edi, edi
js 0x774d7191
mov eax, dword [esp + 0x14]
add eax, 3
shr eax, 2
lea eax, [ebx + eax*4]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x18]
ja 0x774d6f3f
mov eax, dword [ebx]
mov dword [esi + 0x218], eax
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x28]
mov dword [esi + 0x224], 0x40000000
push eax
push 0x12
push dword [esp + 0x20]
call fcn.77492b70
test eax, eax
js 0x774d70bf
cmp dword [esp + 0x20], 2
jne 0x774d7095
mov dword [esi + 0x224], 0xc0000000
jmp 0x774d70bf
cmp dword [esp + 0x20], 1
jne 0x774d70bf
mov ecx, dword [ebx]
movzx eax, byte [ecx + 1]
cmp dword [ecx + eax*4 + 4], 0x1f4
jne 0x774d70b8
mov dword [esi + 0x224], 0x80000000
jmp 0x774d70bf
and dword [esi + 0x224], 0
lea eax, [esp + 0x2c]
push eax
push dword [esi + 0x218]
call fcn.7745c7e0
mov edi, eax
test edi, edi
js 0x774d7191
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0x21c]
mov ecx, dword [esp + 0x28]
xor eax, eax
mov word [ebx], ax
mov dword [esi + 0x220], ecx
lea eax, [edi + 0x5a]
mov word [esi + 0x21e], ax
movzx eax, ax
add eax, ecx
cmp eax, dword [esp + 0x18]
ja 0x774d6f3f
push 0x77424f58
push ebx
call fcn.7745ccf0
xor eax, eax
mov word [esp + 0x32], di
mov word [esp + 0x30], ax
movzx ecx, word [ebx]
mov eax, dword [esi + 0x220]
shr ecx, 1
push 0
lea eax, [eax + ecx*2]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push dword [esi + 0x218]
push eax
call fcn.7745c830
mov edi, eax
test edi, edi
js 0x774d7191
mov ax, word [esp + 0x30]
add word [ebx], ax
push 0x7742f718
push ebx
call fcn.7745ccf0
mov edi, eax
test edi, edi
js 0x774d7191
call fcn.774d72d2
mov dword [esi + 0x228], eax
mov ecx, esi
mov edx, 0x775387fc
xor eax, eax
lock cmpxchg dword [edx], ecx
neg eax
sbb eax, eax
and esi, eax
mov eax, dword [0x775358d8]
inc eax
neg eax
sbb eax, eax
not eax
and edi, eax
test esi, esi
je 0x774d71ab
push 0x8000
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
call fcn.77492b40
cmp dword [esp + 0x10], 0
je 0x774d71bb
push dword [esp + 0x10]
call fcn.77492a30
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret