Function at 0x691424
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x69142c
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x691a1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x6919f6
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0xc]
dec eax
test eax, eax
jl 0x6919e8
inc eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov dl, 1
mov eax, dword [0x683500]
call fcn.00683784
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov dword [eax + 0x234], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xd8]
mov edx, ebx
call fcn.00682284
mov edx, dword [0x683500]
call fcn.004033f0
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
jne 0x691517
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
cmp dword [eax + 0x2c], 0
jle 0x691517
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x210], 0
je 0x691517
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xf0]
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 0xf0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x214]
call fcn.004166a0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
cmp byte [eax + 0x41], 2
jne 0x691536
mov edx, dword [ebp + 8]
call fcn.00403260
jmp 0x6919de
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov esi, dword [eax + 0x234]
cmp word [esi + 0x22], 0
jbe 0x691576
mov eax, dword [ebp + 8]
cmp dword [esi + 0x3c], 0
jne 0x691576
lea ecx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
call fcn.0068c004
mov eax, dword [ebp - 0x10]
call fcn.00685a70
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, esi
call fcn.006841dc
mov byte [ebp - 1], 1
mov byte [ebp - 3], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
je 0x691617
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
cmp byte [eax + 0x42], 0
je 0x691617
mov byte [ebp - 3], 1
mov byte [ebp - 2], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov esi, dword [eax + 0x234]
mov byte [esi + 0x42], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x1e2], 0
je 0x6915fe
lea eax, [ebp - 2]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x34]
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x38]
lea eax, [ebp - 0x14]
call fcn.00404364
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov esi, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [esi + 0x1e4]
call dword [esi + 0x1e0]
cmp byte [ebp - 2], 0
jne 0x69191a
mov eax, dword [ebp + 8]
inc dword [eax - 4]
mov byte [ebp - 1], 0
jmp 0x69191a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x69191a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x69191a
inc eax
mov dword [ebp - 0xc], eax
xor esi, esi
push ebp
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00691298
pop ecx
test al, al
je 0x691910
mov byte [ebp - 3], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x168], 0
jne 0x69170d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x169], 0
jne 0x69170d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x199], 1
je 0x69170d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
jne 0x69170d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x199], 0
je 0x6916d5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x199], 2
jne 0x6918fa
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.006857c8
fstp qword [ebp - 0x24]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
call fcn.0068bf2c
fcomp qword [ebp - 0x24]
fnstsw ax
sahf
jae 0x6918fa
mov byte [ebp - 2], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
je 0x69176c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x1e2], 0
je 0x69176c
lea eax, [ebp - 2]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edi, dword [eax + 0x234]
mov ecx, dword [edi + 0x34]
mov eax, dword [ebp + 8]
mov edx, dword [edi + 0x38]
lea eax, [ebp - 0x28]
call fcn.00404364
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edi, dword [eax - 8]
mov eax, dword [edi + 0x1e4]
call dword [edi + 0x1e0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
je 0x691787
cmp byte [ebp - 2], 0
jne 0x691787
mov eax, dword [ebp + 8]
inc dword [eax - 4]
cmp byte [ebp - 2], 0
jne 0x6918e4
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
je 0x6917d3
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
call fcn.00685644
test al, al
jne 0x6917d3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
jne 0x69191a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
call fcn.00403260
mov dl, 1
mov eax, dword [0x683500]
call fcn.00683784
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 0x234], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x1f2], 0
je 0x69183a
push ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
xor ecx, ecx
mov eax, dword [edi + 0x1f4]
call dword [edi + 0x1f0]
xor eax, eax
push ebp
push 0x6918a4
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.006936d0
test al, al
je 0x69187b
mov eax, dword [ebp + 8]
push eax
mov eax, esi
call fcn.0069101c
pop ecx
jmp 0x69189a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
call fcn.00403260
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
xor edx, edx
mov dword [eax + 0x234], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6918d2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x69191a
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x69191a
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x69191a
inc esi
dec dword [ebp - 0xc]
jne 0x69164a
cmp byte [ebp - 1], 0
je 0x6919be
cmp byte [ebp - 3], 0
je 0x691955
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x1f2], 0
je 0x691955
push ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov cl, 1
mov eax, dword [esi + 0x1f4]
call dword [esi + 0x1f0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
call fcn.0069428c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 0x234]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x228]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 0x234]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x22c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x230]
inc word [eax + 0xe]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x230]
inc word [eax + 0xc]
jmp 0x6919de
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
je 0x6919de
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
call fcn.00403260
inc ebx
dec dword [ebp - 8]
jne 0x69146d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
xor edx, edx
mov dword [eax + 0x234], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x691a25
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004040ac
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004040ac
ret