Function at 0x10006700
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004087d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov edx, dword [ecx]
push ebx
push esi
push edi
mov eax, dword [edx + 4]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], eax
cmp byte [eax + 0xd], 0
mov dword [ebp - 0x14], edi
jne 0x100067f0
mov ecx, dword [ebp + 0xc]
mov ebx, eax
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x10006753
mov esi, dword [ebp - 0x10]
cmp dword [ecx + 0x14], 8
lea edi, [ebx + 0x10]
mov dword [ebp - 0x1c], ebx
mov eax, ecx
jb 0x10006763
mov eax, dword [ecx]
cmp dword [edi + 0x14], 8
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x20], edx
jb 0x10006771
mov edi, dword [edi]
cmp esi, edx
mov ecx, edx
cmovb ecx, esi
test ecx, ecx
je 0x100067b6
movzx edx, word [edi]
movzx esi, word [eax]
cmp dx, si
jb 0x100067ba
sub edi, eax
cmp dx, si
ja 0x100067a9
cmp ecx, 1
je 0x100067b0
movzx edx, word [edi + eax + 2]
add eax, 2
dec ecx
movzx esi, word [eax]
cmp dx, si
jae 0x1000678c
or eax, 0xffffffff
jmp 0x100067c3
mov eax, 1
jmp 0x100067c3
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
cmp esi, edx
jbe 0x100067bf
or eax, 0xffffffff
jmp 0x100067c3
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x100067d4
mov ebx, dword [ebx + 8]
xor esi, esi
mov edi, dword [ebp - 0x14]
jmp 0x100067e0
mov edi, ebx
mov esi, 1
mov ebx, dword [ebx]
mov dword [ebp - 0x14], edi
cmp byte [ebx + 0xd], 0
mov ecx, dword [ebp + 0xc]
je 0x10006750
mov ecx, dword [ebp - 0x18]
cmp byte [edi + 0xd], 0
mov ebx, dword [ebp + 0xc]
jne 0x10006823
lea eax, [edi + 0x10]
push eax
push ebx
call fcn.10007150
test al, al
jne 0x10006823
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 0
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp - 0x18]
cmp dword [edi + 4], 0x3ffffff
je 0x10006917
mov dword [ebp - 0x24], edi
push 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.10017d21
mov edx, eax
add esp, 4
mov dword [edx + 0x10], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov ecx, dword [ebx]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebx + 4]
mov dword [edx + 0x14], ecx
mov ecx, edi
mov eax, dword [ebx + 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [edx + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [ebx + 0x14]
mov dword [edx + 0x24], eax
xor eax, eax
mov word [ebx], ax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov dword [edx + 0x28], eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov eax, dword [ebx + 0x18]
mov dword [edx + 0x28], eax
mov eax, dword [ebx + 0x1c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [edx + 0x30], eax
mov eax, dword [ebx + 0x24]
mov dword [edx + 0x34], eax
mov eax, dword [ebx + 0x28]
mov dword [edx + 0x38], eax
mov eax, dword [ebx + 0x2c]
mov dword [edx + 0x3c], eax
xor eax, eax
mov word [ebx + 0x18], ax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 7
push edx
mov dword [edx], eax
push esi
push dword [ebp - 0x1c]
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov word [edx + 0xc], 0
call fcn.10008f90
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.100091c0
int3