Function at 0x1006f9b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
mov dword [esi + 0xc], ecx
movzx edx, byte [ebp + 8]
mov dword [esi + 0x34], esp
mov dword [esi + 0x40], 0xffffffff
lea eax, [esi + 0x38]
mov dword [esi + 0x3c], 0x1007ea20
mov ecx, dword fs:[0]
mov dword [esi + 0x38], ecx
mov ecx, edx
mov dword fs:[0], eax
mov eax, edx
dec al
cmp al, 1
ja 0x1006fd1d
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
cmp cl, 2
jne 0x1006fd58
mov edi, dword [eax + 4]
mov ecx, dword [eax]
mov eax, edi
sub eax, ecx
mov edx, edi
mov ebx, edi
sub edx, ecx
je 0x1006fa51
js 0x1006ff87
sar eax, 4
mov dword [esi + 0x40], 3
lea ecx, [esi + 0x10]
push eax
call fcn.10070040
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esi + 4], ebx
cmp edi, ebx
jne 0x1006fa8b
jmp 0x1006fab4
movzx ecx, byte [edi]
mov byte [eax], cl
movsd xmm0, qword [edi + 8]
movsd qword [eax + 8], xmm0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
add dword [esi + 0x14], 0x10
add edi, 0x10
cmp edi, ebx
je 0x1006fab4
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
jne 0x1006fa60
mov dword [esi + 0x40], 3
lea ecx, [esi + 0x10]
push edi
push eax
mov dword [esi + 8], edi
call fcn.10070330
mov ebx, dword [esi + 4]
mov edi, dword [esi + 8]
add edi, 0x10
cmp edi, ebx
jne 0x1006fa8b
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x1006fce8
mov dword [esi + 0x40], 0
nop dword [eax]
movzx eax, byte [ecx - 0x10]
mov byte [esi + 0x20], al
movsd xmm0, qword [ecx - 8]
movsd qword [esi + 0x28], xmm0
mov byte [ecx - 0x10], 0
mov dword [ecx - 4], 0
mov dword [ecx - 8], 0
mov ecx, dword [esi + 0x14]
movzx eax, byte [ecx - 0x10]
add ecx, 0xfffffff8
mov dword [esi + 0x40], 0
push eax
call fcn.1006f9b0
add dword [esi + 0x14], 0xfffffff0
movzx eax, byte [esi + 0x20]
cmp eax, 1
je 0x1006fbf0
cmp eax, 2
jne 0x1006fcc6
mov eax, dword [esi + 0x28]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esi + 4], edi
cmp edx, edi
jne 0x1006fb6b
jmp 0x1006fb94
movzx ecx, byte [edx]
mov byte [eax], cl
movsd xmm0, qword [edx + 8]
movsd qword [eax + 8], xmm0
mov byte [edx], 0
mov dword [edx + 0xc], 0
mov dword [edx + 8], 0
add dword [esi + 0x14], 0x10
add edx, 0x10
cmp edx, edi
je 0x1006fb94
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
jne 0x1006fb40
mov dword [esi + 0x40], 4
lea ecx, [esi + 0x10]
push edx
push eax
mov dword [esi + 8], edx
call fcn.10070330
mov edi, dword [esi + 4]
mov edx, dword [esi + 8]
add edx, 0x10
cmp edx, edi
jne 0x1006fb6b
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
cmp ecx, edx
je 0x1006fcc6
mov dword [esi + 0x1c], eax
mov dword [esi + 0x40], 1
nop word cs:[eax + eax]
movzx eax, byte [ecx]
add ecx, 8
mov dword [esi + 8], ecx
push eax
call fcn.1006f9b0
mov ecx, dword [esi + 8]
add ecx, 8
cmp ecx, dword [esi + 4]
jne 0x1006fbc0
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
jmp 0x1006fcc6
mov eax, dword [esi + 0x28]
mov edx, dword [eax]
mov eax, dword [edx]
mov dword [esi + 4], edx
nop word [eax + eax]
cmp eax, edx
je 0x1006fca0
mov edi, eax
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
je 0x1006fc40
movzx ecx, byte [edi + 0x28]
mov byte [eax], cl
movsd xmm0, qword [edi + 0x30]
movsd qword [eax + 8], xmm0
mov byte [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
add dword [esi + 0x14], 0x10
jmp 0x1006fc5d
lea edx, [edi + 0x28]
mov dword [esi + 0x40], 4
lea ecx, [esi + 0x10]
push edx
push eax
mov dword [esi + 8], edi
call fcn.10070330
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [edi + 8]
cmp byte [ecx + 0xd], 0
je 0x1006fc90
nop word cs:[eax + eax]
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x1006fc00
mov ecx, edi
mov edi, eax
cmp ecx, dword [eax + 8]
je 0x1006fc70
mov eax, edi
jmp 0x1006fc00
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1006fc90
jmp 0x1006fc00
mov edi, dword [esi + 0x28]
mov ebx, dword [edi]
mov ecx, edi
push dword [ebx + 4]
push edi
call fcn.100705f0
mov dword [ebx + 4], ebx
mov dword [ebx], ebx
mov dword [ebx + 8], ebx
mov dword [edi + 4], 0
mov dword [esi + 0x40], 2
movzx eax, byte [esi + 0x20]
mov dword [esi + 0x40], 2
lea ecx, [esi + 0x28]
push eax
call fcn.1006f9b0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
jne 0x1006fad0
test eax, eax
je 0x1006fd19
mov ecx, dword [esi + 0x18]
sub ecx, eax
cmp ecx, 0x1000
jb 0x1006fd0f
mov edx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, edx
cmp eax, 0x20
jae 0x1006ff82
add ecx, 0x23
mov eax, edx
push ecx
push eax
call fcn.101ac81b
add esp, 8
movzx ecx, byte [ebp + 8]
movzx eax, cl
dec eax
cmp eax, 7
ja case.0x1006fd2a.4
jmp dword [eax*4 + 0x10070020]
mov ebx, dword [esi + 0xc]
mov edi, dword [ebx]
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.100705f0
push 0x38
push dword [edi]
call fcn.101ac81b
add esp, 8
push 8
push dword [ebx]
jmp 0x1006ff67
mov edx, dword [eax + 4]
test edx, edx
je 0x1006fd80
cmp edx, 0x10000000
jae 0x1006ff93
mov dword [esi + 0x40], 3
lea ecx, [esi + 0x10]
push edx
call fcn.10070040
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
mov eax, dword [edx]
mov dword [esi + 4], edx
nop word [eax + eax]
cmp eax, edx
je 0x1006fab4
mov edi, eax
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
je 0x1006fdd0
movzx ecx, byte [edi + 0x28]
mov byte [eax], cl
movsd xmm0, qword [edi + 0x30]
movsd qword [eax + 8], xmm0
mov byte [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
add dword [esi + 0x14], 0x10
jmp 0x1006fded
lea edx, [edi + 0x28]
mov dword [esi + 0x40], 3
lea ecx, [esi + 0x10]
push edx
push eax
mov dword [esi + 8], edi
call fcn.10070330
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [edi + 8]
cmp byte [ecx + 0xd], 0
je 0x1006fe20
nop word cs:[eax + eax]
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x1006fd90
mov ecx, edi
mov edi, eax
cmp ecx, dword [eax + 8]
je 0x1006fe00
mov eax, edi
jmp 0x1006fd90
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1006fe20
jmp 0x1006fd90
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x1006fe6b
mov ecx, dword [edi]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jb 0x1006fe61
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1006ff82
add eax, 0x24
mov ebx, eax
mov ecx, edx
push ebx
push ecx
call fcn.101ac81b
add esp, 8
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
push 0x18
mov eax, dword [esi + 0xc]
push dword [eax]
jmp 0x1006ff67
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x1006ff14
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
cmp ecx, eax
je 0x1006fecf
mov dword [esi + 0x1c], edi
mov dword [esi + 0x40], 5
nop dword [eax + eax]
movzx eax, byte [ecx]
add ecx, 8
mov dword [esi + 8], ecx
push eax
call fcn.1006f9b0
mov ecx, dword [esi + 8]
add ecx, 8
cmp ecx, dword [esi + 4]
jne 0x1006feb0
mov edi, dword [esi + 0x1c]
mov ecx, dword [edi]
mov eax, dword [edi + 8]
sub eax, ecx
cmp eax, 0x1000
jb 0x1006fef1
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1006ff82
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.101ac81b
add esp, 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
push 0xc
jmp 0x1006ff66
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x1006ff64
mov eax, dword [edi + 8]
sub eax, ecx
cmp eax, 0x1000
jb 0x1006ff41
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1006ff82
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.101ac81b
add esp, 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
push 0x20
push edi
call fcn.101ac81b
add esp, 8
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.10378384
mov dword [esi + 0x40], 3
call fcn.10058730
mov dword [esi + 0x40], 3
call fcn.10058730
nop
push ebp
sub esp, 8
lea esi, [ebp - 0x44]
mov ebp, dword [esi + 0x30]
call fcn.10366462
nop
push ebp
sub esp, 8
lea esi, [ebp - 0x44]
mov ebp, dword [esi + 0x30]
lea ecx, [esi + 0x20]
call fcn.1006e0a0
add esp, 8
pop ebp
ret