Function at 0x4c7904
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x4c790d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004070dc
lea eax, [ebp + 8]
call fcn.00405ed0
xor eax, eax
push ebp
push 0x4c836b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00407178
mov eax, dword [ebp - 0x20]
push eax
mov ecx, 0x4c8384
mov edx, dword [ebp + 8]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb0]
call fcn.00407178
mov eax, dword [ebp - 0x20]
push eax
mov ecx, 0x4c8394
mov edx, dword [ebp + 8]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00407178
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4c8316
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
dec eax
test eax, eax
jl 0x4c82f6
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
push ebx
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00407178
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x24]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c83a4
call fcn.0040c5dc
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x34]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c83c4
call fcn.0040c5dc
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x3c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c83e4
call fcn.0040c5dc
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x44]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c8404
call fcn.0040c5dc
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x4c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c8424
call fcn.0040c5dc
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x58]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x54]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c8444
call fcn.0040c5dc
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x5c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c8464
call fcn.0040c5dc
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x68]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x64]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c8490
call fcn.0040c5dc
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x6c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c84bc
call fcn.0040c5dc
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x74]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c84e8
call fcn.0040c5dc
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x80]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x7c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c8514
call fcn.0040c5dc
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x88]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x84]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c8540
call fcn.0040c5dc
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x90]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x8c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c856c
call fcn.0040c5dc
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x98]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x94]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c859c
call fcn.0040c5dc
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xd4]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x9c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c85cc
call fcn.0040c5dc
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xec]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xa4]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c85f4
call fcn.0040c5dc
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xdc]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xac]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0xac]
push eax
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c861c
call fcn.0040c5dc
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xe4]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xb4]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c8644
call fcn.0040c5dc
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x114]
call fcn.00407178
fld qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xbc]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c866c
call fcn.0040c5dc
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xf4]
call fcn.00407178
cmp word [ebp - 0xc4], 1
sbb eax, eax
inc eax
push eax
lea eax, [ebp - 0xc8]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c8690
call fcn.0040c5dc
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc8]
call fcn.00407178
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c86b4
call fcn.0040c5dc
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xd0]
call fcn.004058c8
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xa0]
call fcn.00407178
mov eax, dword [ebp - 0xd0]
push eax
lea eax, [ebp - 0xd4]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c86d4
call fcn.0040c5dc
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0xd8]
call fcn.004058c8
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xa8]
call fcn.00407178
mov eax, dword [ebp - 0xd8]
push eax
lea eax, [ebp - 0xdc]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c86f0
call fcn.0040c5dc
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00407178
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xe0]
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4c8714
call fcn.0040c5dc
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00407178
mov eax, dword [ebp - 0x20]
dec eax
test eax, eax
jl 0x4c82ec
inc eax
mov dword [ebp - 0x1c], eax
xor edi, edi
lea eax, [ebp - 0x14]
call fcn.00407068
push eax
push edi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00407178
cmp byte [ebp - 9], 0
je 0x4c82d9
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xe8]
mov ecx, 0x4c8738
mov edx, dword [ebp + 8]
call fcn.00405b8c
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf8], ebx
mov byte [ebp - 0xf4], 0
mov dword [ebp - 0xf0], edi
mov byte [ebp - 0xec], 0
lea edx, [ebp - 0xf8]
mov ecx, 1
call fcn.0040c5dc
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, esi
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004c9fa8
test al, al
jne 0x4c82dd
xor eax, eax
jmp 0x4c82df
mov al, 1
mov byte [ebp - 9], al
inc edi
dec dword [ebp - 0x1c]
jne 0x4c8259
inc ebx
dec dword [ebp - 0x18]
jne 0x4c79cd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c831d
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00407178
ret