Function at 0x10006670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100cae3a
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100f4034]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x54]
lea esi, [esp + 0x1c]
call 0xffe0490
xor edi, edi
mov dword [esp + 0x48], edi
mov esi, 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x48], 1
call 0x1002ae20
mov dword [esp + 0x28], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], eax
mov eax, dword [esp + 0x28]
mov dword [eax + 8], eax
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x50]
mov byte [esp + 0x48], 2
or ebx, 0xffffffff
cmp dword [eax + 0xc], esi
je 0x10006742
mov eax, dword [0x100f7b70]
cmp eax, edi
push edi
push 0x80
push 3
push edi
push 7
push 0x80000000
push ebp
jne 0x1000671c
call dword [0x100d4224]
jmp 0x1000671e
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10006742
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x4c], 1
call 0xffe1110
lea esi, [esp + 0x30]
call 0x100854d0
jmp 0x100069b6
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x20], edi
call fcn.10005bc0
cmp eax, edi
jl 0x10006725
cmp dword [esp + 0x18], edi
je 0x1000687d
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
cmp eax, edi
mov edx, dword [esp + 0x54]
mov ebx, dword [edx]
jne 0x100067bb
cmp ecx, edi
jne 0x100067bb
cmp ebx, edi
je 0x100067bb
lea eax, [esp + 0x38]
push eax
push esi
push 0xc
mov dword [esp + 0x3c], esi
call dword [0x100d40e8]
push eax
call dword [0x100d401c]
test eax, eax
je 0x100067a8
call dword [0x100d403c]
push ebx
call dword [0x100d4000]
test eax, eax
je 0x100067bb
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov eax, dword [0x100f7b70]
cmp eax, edi
push edi
push 0x80
push 3
push edi
push 7
push 0x80000000
push ebp
jne 0x100067dd
call dword [0x100d4224]
jmp 0x100067df
call eax
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10006725
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
push edx
push ebp
lea edi, [esp + 0x2c]
call 0xffe1270
mov eax, dword [0x100f7b70]
test eax, eax
push 0
push 0x80
push 3
push 0
push 7
push 0x80000000
push ebp
jne 0x1000681f
call dword [0x100d4224]
jmp 0x10006821
call eax
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100068b9
push ebp
lea edi, [esp + 0x28]
call 0xffe1440
cmp dword [esp + 0x34], 0
je 0x10006843
call dword [0x100d403c]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1000685d
push eax
call dword [0x100d4000]
mov eax, dword [esp + 0x38]
push eax
call dword [0x100d424c]
add dword [esp + 0x54], 4
xor eax, eax
xor ecx, ecx
lea esi, [eax + 1]
xor edi, edi
sub dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
jne 0x10006773
mov eax, dword [esp + 0x50]
cmp dword [eax + 0xc], esi
je 0x10006960
push edi
push ebp
lea edi, [esp + 0x2c]
call 0xffe1270
mov eax, dword [0x100f7b70]
test eax, eax
push 0
push 0x80
push 3
push 0
push 7
push 0x80000000
push ebp
jne 0x10006912
call dword [0x100d4224]
jmp 0x10006914
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x4c], 1
call 0xffe1110
lea esi, [esp + 0x30]
call 0x100854d0
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x1c], 0
je 0x100069f7
mov ecx, dword [0x100f7a40]
test ecx, ecx
mov eax, dword [esp + 0x20]
mov esi, eax
jne 0x10006956
push 0x100d5e48
push 0x100d5e0c
call dword [0x100d41d8]
push eax
call dword [0x100d41f0]
test eax, eax
jmp 0x100069ed
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000695e
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x4c], 1
call 0xffe1110
lea esi, [esp + 0x30]
call 0x100854d0
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x1c], 0
je 0x100069f7
mov ecx, dword [0x100f7a40]
test ecx, ecx
mov eax, dword [esp + 0x20]
mov esi, eax
je 0x100068f4
push eax
call ecx
jmp 0x100069f7
xor edi, edi
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x4c], 1
call 0xffe1110
cmp dword [esp + 0x30], edi
je 0x100069a3
cmp dword [esp + 0x34], edi
je 0x10006981
call dword [0x100d403c]
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x1000699b
push eax
call dword [0x100d4000]
mov eax, dword [esp + 0x38]
push eax
call dword [0x100d424c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x100069b6
push eax
call dword [0x100d424c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x1c], edi
je 0x100069f7
mov ecx, dword [0x100f7a40]
cmp ecx, edi
mov eax, dword [esp + 0x20]
mov esi, eax
jne 0x10006956
push 0x100d5e48
push 0x100d5e0c
call dword [0x100d41d8]
push eax
call dword [0x100d41f0]
cmp eax, edi
mov dword [0x100f7a40], eax
je 0x100069f7
push esi
call eax
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8