Function at 0x660e5a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x660e63
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.0040725a
xor eax, eax
push ebp
push 0x66106d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x28]
lea ecx, [ebp - 0x14]
mov edx, 0x661084
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea ecx, [ebp - 0x1c]
mov edx, 0x66109c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov edx, 0x6610b4
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
mov dl, byte [edx + 0x250]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov edx, 0x6610d0
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
mov dl, byte [edx + 0x251]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x27c]
call fcn.0065eb72
dec eax
test eax, eax
jl 0x6610ec
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
mov edx, 0x6610ec
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
mov edx, 0x661104
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x3c]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x27c]
call fcn.0065eb8e
mov edx, dword [eax + 8]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
mov edx, 0x661114
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x27c]
call fcn.0065eb8e
mov edx, dword [eax + 0x10]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x4c]
mov edx, 0x661124
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x4c]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x27c]
call fcn.0065eb8e
mov dl, byte [eax + 0x14]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
mov edx, 0x661134
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x54]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x27c]
call fcn.0065eb8e
xor edx, edx
mov dl, byte [eax + 0xc]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
mov edx, 0x661148
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x5c]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x27c]
call fcn.0065eb8e
mov edx, dword [eax + 0x18]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x27c]
call fcn.0065eb8e
mov eax, dword [eax + 4]
mov edx, 0x661154
call fcn.004165c2
test al, al
je 0x6610cc
lea ecx, [ebp - 0x64]
mov edx, 0x66116c
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x64]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x27c]
call fcn.0065eb8e
mov edx, dword [eax + 4]
lea eax, [ebp - 0x68]
mov ecx, 0x661154
call fcn.0040722a
mov eax, dword [ebp - 0x68]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
jmp 0x6610e0
mov ecx, 0x91b
mov edx, 0x661184
mov eax, 0x6611cc
call fcn.00404faa
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0x660f3b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x280]
call fcn.0065edca
dec eax
test eax, eax
jl 0x661212
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x20]
mov edx, 0x661228
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x70]
mov edx, 0x661104
lea ecx, [ebp - 0x6c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x6c]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x280]
call fcn.0065ede6
mov edx, dword [eax + 8]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x78]
mov edx, 0x661114
lea ecx, [ebp - 0x74]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x74]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x280]
call fcn.0065ede6
mov edx, dword [eax + 0xc]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x280]
call fcn.0065ede6
mov eax, dword [eax + 4]
mov edx, 0x661154
call fcn.004165c2
test al, al
je 0x6611f2
lea ecx, [ebp - 0x7c]
mov edx, 0x661240
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x7c]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x280]
call fcn.0065ede6
mov edx, dword [eax + 4]
lea eax, [ebp - 0x80]
mov ecx, 0x661154
call fcn.0040722a
mov eax, dword [ebp - 0x80]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
jmp 0x661206
mov ecx, 0x92a
mov edx, 0x661184
mov eax, 0x661258
call fcn.00404faa
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0x66110e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x661077
lea eax, [ebp - 0x80]
call fcn.004071e6
lea eax, [ebp - 0x7c]
call fcn.004071e6
lea eax, [ebp - 0x78]
call fcn.004071e6
lea eax, [ebp - 0x74]
call fcn.004071e6
lea eax, [ebp - 0x70]
call fcn.004071e6
lea eax, [ebp - 0x6c]
call fcn.004071e6
lea eax, [ebp - 0x68]
call fcn.004071e6
lea eax, [ebp - 0x64]
call fcn.004071e6
lea eax, [ebp - 0x60]
call fcn.004071e6
lea eax, [ebp - 0x5c]
call fcn.004071e6
lea eax, [ebp - 0x58]
call fcn.004071e6
lea eax, [ebp - 0x54]
call fcn.004071e6
lea eax, [ebp - 0x50]
call fcn.004071e6
lea eax, [ebp - 0x4c]
call fcn.004071e6
lea eax, [ebp - 0x48]
call fcn.004071e6
lea eax, [ebp - 0x44]
call fcn.004071e6
lea eax, [ebp - 0x40]
call fcn.004071e6
lea eax, [ebp - 0x3c]
call fcn.004071e6
lea eax, [ebp - 0x38]
call fcn.004071e6
lea eax, [ebp - 0x34]
call fcn.004071e6
lea eax, [ebp - 0x30]
call fcn.004071e6
lea eax, [ebp - 0x2c]
call fcn.004071e6
lea eax, [ebp - 0x28]
call fcn.004071e6
lea eax, [ebp - 0x20]
mov edx, dword [0x506d08]
mov ecx, 4
call fcn.00405e22
lea eax, [ebp - 0xc]
call fcn.004071e6
ret