Function at 0x6db678
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x6db681
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x6dbac7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x34]
call fcn.0040b9dc
mov eax, ebx
call fcn.0040b9dc
lea eax, [ebx + 4]
call fcn.0040b9dc
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov byte [ebx + 0x30], 0
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x506da8]
call fcn.004b9f70
mov dword [ebp - 0x28], eax
call fcn.0042c354
fstp qword [ebp - 0x30]
wait
xor ecx, ecx
push ebp
push 0x6dba96
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x24]
call fcn.0060423c
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0064586c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6db736
mov eax, dword [eax - 4]
test eax, eax
jne 0x6db747
lea eax, [ebp - 0x1c]
mov edx, 0x6dbae4
call fcn.0040be14
or ecx, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, 0x6dbae4
call fcn.00645728
mov edi, eax
mov ecx, 1
mov edx, dword [ebp - 0x1c]
mov eax, 0x6dbaf4
call fcn.0040cd60
mov esi, eax
cmp edi, esi
jge 0x6db784
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.0040cc0c
mov ecx, 1
mov edx, dword [ebp - 0x1c]
mov eax, 0x6dbb04
call fcn.0040cd60
mov esi, eax
test esi, esi
jle 0x6db7b0
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.0040cc0c
mov eax, dword [ebp - 0x28]
mov word [eax + 0x18], 0x3b
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.004ba118
mov dl, 1
mov eax, dword [ebp - 0x28]
call fcn.004b741c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
call fcn.004b8d6c
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x6db7ee
call fcn.0040b17c
jmp 0x6dba9d
lea ecx, [ebp - 0x3c]
xor edx, edx
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x3c]
mov ecx, 1
mov edx, eax
mov eax, 0x6dbb14
call fcn.0040cd60
test eax, eax
jne 0x6db81d
call fcn.0040b17c
jmp 0x6dba9d
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x6db85b
inc eax
mov dword [ebp - 0x34], eax
xor esi, esi
lea ecx, [ebp - 0x44]
mov edx, esi
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00427e58
mov ecx, dword [ebp - 0x40]
mov edx, esi
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0x20]
inc esi
dec dword [ebp - 0x34]
jne 0x6db830
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x20]
call fcn.0040bdcc
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x24]
call fcn.0040bdcc
mov byte [ebx + 0x31], 0
lea ecx, [ebp - 0x48]
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.004b7fa0
mov edx, dword [ebp - 0x48]
mov eax, ebx
call fcn.0040bdcc
lea ecx, [ebp - 0x4c]
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.004b8f34
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 4]
call fcn.0040bdcc
lea ecx, [ebp - 0x54]
mov edx, 0x6dbb24
mov eax, dword [ebp - 0x28]
call fcn.004b8214
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.0060423c
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x14]
call fcn.0040bdcc
lea ecx, [ebp - 0x5c]
mov edx, 0x6dbb3c
mov eax, dword [ebp - 0x28]
call fcn.004b8214
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.0060423c
mov edx, dword [ebp - 0x58]
lea eax, [ebx + 0x10]
call fcn.0040bdcc
lea ecx, [ebp - 4]
mov edx, 0x6dbb58
mov eax, dword [ebp - 0x28]
call fcn.004b8214
cmp dword [ebp - 4], 0
je 0x6db912
mov eax, dword [ebp - 4]
call fcn.006db080
fstp qword [ebx + 8]
wait
lea ecx, [ebp - 4]
mov edx, 0x6dbb74
mov eax, dword [ebp - 0x28]
call fcn.004b8214
cmp dword [ebp - 4], 0
je 0x6db945
mov eax, dword [ebp - 4]
call fcn.006034a0
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fld xword [0x6dbb84]
fmulp st(1)
fadd qword [ebp - 0x30]
fstp qword [ebx + 8]
wait
fld qword [ebp - 0x30]
fld qword [ebx + 8]
fucompp
wait
fnstsw ax
sahf
jb 0x6db957
mov byte [ebx + 0x30], 1
fldz
fld qword [ebx + 8]
fucompp
wait
fnstsw ax
sahf
jbe 0x6db980
fld qword [ebx + 8]
fld qword [ebp - 0x30]
fucompp
wait
fnstsw ax
sahf
jbe 0x6db980
lea eax, [ebx + 4]
call fcn.0040b9dc
mov byte [ebx + 0x31], 1
jmp 0x6db98c
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x1c], eax
mov edx, 0x6dbb9c
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x58]
dec eax
setge al
mov byte [ebx + 0x29], al
mov edx, 0x6dbbb8
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x58]
dec eax
setge al
mov byte [ebx + 0x2a], al
cmp dword [ebx + 0x10], 0
je 0x6db9fa
mov eax, dword [ebx + 0x10]
cmp word [eax], 0x2e
jne 0x6db9d5
lea eax, [ebx + 0x10]
mov ecx, 1
mov edx, 1
call fcn.0040cc54
mov eax, dword [ebx + 0x10]
mov ecx, 1
mov edx, dword [ebp - 0x14]
call fcn.0040cd60
test eax, eax
jge 0x6dba09
mov eax, ebx
call fcn.0040b9dc
call fcn.0040b17c
jmp 0x6dba9d
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x14]
call fcn.0040bdcc
mov byte [ebx + 0x28], 1
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6dba13
mov eax, dword [eax - 4]
test eax, eax
jne 0x6dba22
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x1c]
call fcn.0040bdcc
mov eax, dword [ebx + 0x14]
cmp word [eax], 0x22
jne 0x6dba3d
lea eax, [ebx + 0x14]
mov ecx, 1
mov edx, 1
call fcn.0040cc54
mov edx, dword [ebx + 0x14]
mov eax, edx
test eax, eax
je 0x6dba49
mov eax, dword [eax - 4]
mov ecx, dword [ebx + 0x14]
cmp word [ecx + eax*2 - 2], 0x22
jne 0x6dba68
mov eax, edx
test eax, eax
je 0x6dba5d
mov eax, dword [eax - 4]
mov edx, eax
dec edx
lea eax, [ebx + 0x14]
call fcn.0040c9c4
mov eax, dword [ebx + 0x14]
cmp word [eax], 0x2f
je 0x6dba7e
lea eax, [ebx + 0x14]
mov edx, 0x6dbae4
call fcn.0040bdcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dba9d
mov eax, dword [ebp - 0x28]
call fcn.00409bc8
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dbace
lea eax, [ebp - 0x5c]
mov edx, 0xa
call fcn.0040ba3c
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040ba3c
pop eax
jmp eax