Function at 0x661244
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x66124d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp + 0x10]
call fcn.004059e4
mov eax, dword [ebp + 0xc]
call fcn.004059e4
lea ebx, [ebp - 0x5c]
xor eax, eax
push ebp
push 0x661509
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
call fcn.00660e0c
lea ecx, [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
call fcn.00660fd8
lea eax, [ebp - 0x64]
mov edx, esi
call fcn.004057bc
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.0040ce1c
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x14]
call fcn.00660f70
lea eax, [ebp - 0x6c]
mov edx, edi
call fcn.004057bc
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.0040ce1c
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x18]
call fcn.00660f70
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 4]
call fcn.004057bc
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x1c]
call fcn.00660f70
mov eax, ebx
mov ecx, 8
mov edx, dword [0x7b4058]
call fcn.0040e4f0
mov eax, dword [0x7b4054]
mov dword [ebx + 8], eax
mov ax, word [0x7b4044]
mov word [ebx + 0xc], ax
mov ax, word [0x7b4044]
mov word [ebx + 0xe], ax
mov eax, dword [ebp - 0x14]
call fcn.00406c0c
mov esi, eax
mov eax, dword [ebp - 0x1c]
call fcn.00406c0c
add esi, eax
mov eax, dword [ebp - 0x18]
call fcn.00406c0c
add esi, eax
mov eax, esi
add eax, 0x40
call fcn.00635990
mov dword [ebx + 0x10], eax
mov ax, word [0x7b4048]
mov word [ebx + 0x14], ax
mov ax, word [0x7b4048]
mov word [ebx + 0x16], ax
mov eax, dword [ebp - 0x14]
call fcn.00406c0c
mov esi, eax
mov eax, dword [ebp - 0x1c]
call fcn.00406c0c
add esi, eax
mov eax, dword [ebp - 0x18]
call fcn.00406c0c
add esi, eax
mov eax, dword [ebp - 0xc]
call fcn.00406c0c
add esi, eax
mov eax, esi
add eax, 0x40
call fcn.00635990
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x14]
call fcn.00406c0c
call fcn.0063598c
mov esi, eax
mov word [ebx + 0x1c], si
mov word [ebx + 0x1e], si
mov eax, dword [0x7b404c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x1c]
call fcn.00406c0c
call fcn.0063598c
mov esi, eax
mov word [ebx + 0x24], si
mov word [ebx + 0x26], si
mov eax, dword [ebp - 0x14]
call fcn.00406c0c
add eax, 0x40
call fcn.00635990
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x18]
call fcn.00406c0c
call fcn.0063598c
mov esi, eax
mov word [ebx + 0x2c], si
mov word [ebx + 0x2e], si
mov eax, dword [ebp - 0x14]
call fcn.00406c0c
mov esi, eax
mov eax, dword [ebp - 0x1c]
call fcn.00406c0c
add esi, eax
mov eax, esi
add eax, 0x40
call fcn.00635990
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x14]
call fcn.00406c0c
mov esi, eax
add esi, 0x40
mov eax, dword [ebp - 0x1c]
call fcn.00406c0c
add esi, eax
mov eax, dword [ebp - 0x18]
call fcn.00406c0c
add esi, eax
mov eax, dword [ebp - 0xc]
call fcn.00406c0c
add esi, eax
mov eax, dword [ebp - 0x10]
call fcn.00406c0c
add esi, eax
mov eax, esi
call fcn.00635990
mov dword [ebx + 0x38], eax
mov eax, dword [0x7b4050]
mov dword [ebx + 0x3c], eax
lea ecx, [ebp - 8]
mov eax, ebx
mov edx, 0x40
call fcn.006377fc
push 0xffffffffffffffff
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.00637e94
push 0xffffffffffffffff
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
call fcn.00637e94
push 0xffffffffffffffff
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
call fcn.00637e94
push 0xffffffffffffffff
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00637e94
push 0xffffffffffffffff
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.00637e94
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [0x647fd8]
call fcn.006474a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x661510
lea eax, [ebp - 0x70]
mov edx, 5
call fcn.0040553c
lea eax, [ebp - 0x1c]
mov edx, dword [0x634bbc]
mov ecx, 6
call fcn.0040629c
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0040553c
ret