Function at 0x1000edd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101e3e78
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1027e110]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x1027e110]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x24]
mov edi, ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc], ecx
push eax
mov ecx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
call fcn.10003ad0
lea ecx, [esp + 0x10]
push ecx
push ecx
push eax
mov dword [esp + 0x6c], 0
mov esi, dword [esi + 0x10]
push esi
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
push edi
call fcn.10010a10
add esp, 0x1c
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.101b3a72
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x28], edx
test eax, eax
je 0x1000eec7
push 0
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.101b3793
mov eax, dword [edi + 4]
test eax, eax
jbe 0x1000eea5
cmp eax, 0xffffffff
jae 0x1000eea5
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x2c]
and esi, edi
call fcn.101b37bb
test esi, esi
je 0x1000eec7
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [ebp + 0x10], 0
mov edx, dword [ebp + 0xc]
jne 0x1000ef0a
test edx, edx
je 0x1000ef01
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x1000eeeb
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x1000eeeb
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1000eef7
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x1000ef01
mov byte [ebp + 0x11], al
jmp 0x1000ef06
xor edx, edx
mov dword [ebp + 0xc], edx
mov byte [ebp + 0x10], 1
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0x14]
jne 0x1000ef42
test ecx, ecx
je 0x1000ef40
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1000ef2e
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x1000ef2e
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1000ef3b
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x1000ef42
xor ecx, ecx
test edx, edx
jne 0x1000ef72
test ecx, ecx
je 0x1000ef76
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x30]
cmp dword [esp + 0x14], ecx
je 0x1000ef7f
cmp dword [esp + 0x10], 0
jne 0x1000ef7f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
jmp 0x1000ef82
test ecx, ecx
je 0x1000ef4a
mov eax, dword [esp + 0xc]
or dword [eax], 1
jmp 0x1000ef4e
or dword [eax], 2
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101b40e2
mov esp, ebp
pop ebp
ret 0x20