Function at 0x1014f5b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1022188c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push dword [ebp + 8]
mov edi, ecx
call fcn.1014e1b0
push dword [ebp + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x480]
lea edx, [esp + 0x18]
push edx
mov ebx, dword [eax + 0xc]
sub ebx, dword [eax + 4]
mov ecx, dword [eax + 8]
inc ebx
sub ecx, dword [eax]
inc ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], ecx
lea ecx, [edi + 0x10]
mov eax, dword [ecx]
mov dword [esp + 0x18], ecx
call dword [eax + 0x44]
mov edx, eax
lea ecx, [esp + 0x28]
call fcn.1003c789
test al, al
jne 0x1014f643
mov eax, dword [edi + 0x228]
cmp eax, 0xff
je 0x1014f686
test eax, eax
je 0x1014f686
push ecx
push ecx
mov ecx, dword [esp + 0x14]
mov eax, esp
mov dword [eax], ecx
lea ecx, [edi + 0x10]
mov dword [eax + 4], ebx
mov eax, dword [ecx]
call dword [eax + 0x40]
push dword [ebp + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [eax + 0x480]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 4]
mov ecx, dword [eax + 8]
inc edx
sub ecx, dword [eax]
inc ecx
mov dword [esp + 0x2c], edx
and dword [edi + 0x228], 0
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [eax + 0x464]
push eax
lea ecx, [esp + 0x40]
call fcn.1000e87b
mov ebx, dword [ebp + 0x10]
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0xc4]
xor ecx, ecx
inc ecx
test al, al
je 0x1014f825
cmp byte [edi + 0x23c], 0
je 0x1014f7ec
push 0
push ecx
mov eax, esp
lea ecx, [esi + 0x14]
mov dword [eax], 0x1d
lea eax, [esp + 0x18]
push eax
call fcn.10003af6
and dword [esp + 0x54], 0
cmp byte [edi + 0xe2], 0
jne 0x1014f7de
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0
je 0x1014f7de
mov edi, dword [esi + 0x2c]
test edi, edi
jne 0x1014f715
mov edi, dword [0x102b7738]
jmp 0x1014f72c
cmp edi, dword [0x102b7738]
jne 0x1014f72c
push 0
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.10079533
mov edi, eax
mov ecx, dword [edi + 0x49c]
push 4
pop eax
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x1014f757
cmp ecx, 0x10
je 0x1014f751
cmp ecx, 0x20
je 0x1014f753
cmp ecx, 0x30
jne 0x1014f757
push 8
pop eax
jmp 0x1014f753
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, dword [edi + 0x58]
test ecx, ecx
push 1
pop edx
cmove ecx, edx
dec ecx
je 0x1014f776
dec ecx
je 0x1014f770
dec ecx
jne 0x1014f776
or eax, 2
jmp 0x1014f772
or eax, edx
mov dword [esp + 0xc], eax
mov ecx, dword [ebp + 8]
mov esi, dword [ebx]
push edi
call fcn.1008cc6d
push eax
mov ecx, ebx
call dword [esi + 0xc]
mov ecx, dword [edi + 0x3c]
mov eax, 0xff000000
cmp ecx, eax
cmove ecx, eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x38]
mov eax, dword [ebp + 0x14]
push 2
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
pop eax
sub ebx, eax
add edx, eax
add esi, eax
sub edi, eax
mov eax, dword [esp + 0x10]
push dword [eax + 4]
lea ecx, [eax + 8]
push ecx
push dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
mov dword [eax + 8], edi
mov eax, dword [ebx]
call dword [eax + 0x4c]
or dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.100026e7
mov eax, dword [esp + 0x38]
sub esp, 0x10
mov edx, esp
push ebx
mov dword [edx], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x58]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x28]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x3c]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc8]
xor ecx, ecx
inc ecx
pop edi
mov al, cl
mov ecx, dword [esp + 0x48]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10