Function at 0x4ec200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0x98], ebp
mov edi, dword [ebp + 0x14]
lea ecx, [esi + 0xa0]
mov dword [ecx - 4], esp
xor eax, eax
dec eax
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0x437c30
mov edx, dword fs:[0]
mov dword [ecx], edx
mov edx, dword [ebp + 0x10]
mov dword fs:[0], ecx
mov ecx, edi
mov edi, edx
sub ecx, edx
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
mov dword [esi + 0x90], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
mov dword [esi + 0x10], 0
cmp ecx, 0x65
mov dword [esi + 0xc], ecx
jb 0x4ec2ae
push ecx
call fcn.0049e790
add esp, 4
mov ebx, eax
mov dword [esi + 4], eax
test eax, eax
jne 0x4ec2b8
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xa8], eax
call fcn.004fdc00
lea ebx, [esi + 0x30]
mov dword [esi + 4], 0
mov ecx, dword [ebp + 0x14]
cmp edi, ecx
mov dword [esi + 0x14], ebx
je 0x4ec2fa
mov dword [esi + 0x10], 0
cmp byte [edi + 0xb], 0
js 0x4ec2ea
mov ecx, edi
call fcn.0048bea0
mov ecx, dword [ebp + 0x14]
test eax, eax
je 0x4ec2ef
mov byte [ebx], 1
add edi, 0xc
inc ebx
cmp edi, ecx
jne 0x4ec2c9
jmp 0x4ec2fa
mov eax, dword [edi + 4]
jmp 0x4ec2d9
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 0x10]
jmp 0x4ec2e0
mov dword [esi + 0xa8], 0
xor ebx, ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xa8], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0048c490
mov ecx, dword [ebp + 0x14]
test al, al
jne 0x4ec542
cmp dword [esi + 0xc], 0
je 0x4ec542
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x4ec4d2
mov al, byte [eax]
mov dword [esi + 0x18], eax
cmp byte [ebp + 0x20], 0
jne 0x4ec38f
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xa8], 0
movsx eax, byte [esi + 0x18]
mov ecx, ebx
push eax
call edi
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x14]
mov ebx, dword [esi + 0x1c]
lea edi, [ebx + 1]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], 0
mov edi, edx
cmp eax, ecx
je 0x4ec459
cmp byte [edi], 1
je 0x4ec3ba
add eax, 0xc
inc edi
jmp 0x4ec3a7
mov dword [esi + 0x20], eax
mov ecx, eax
push ebx
call fcn.0048d0b0
mov bl, byte [eax]
cmp byte [ebp + 0x20], 0
je 0x4ec3d2
mov ecx, dword [ebp + 0x14]
jmp 0x4ec410
mov dword [esi + 0x2c], edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xa8], 0
movsx eax, bl
mov ecx, dword [ebp + 0x18]
push eax
call edi
mov ecx, dword [ebp + 0x14]
mov ebx, eax
mov edi, dword [esi + 0x2c]
mov eax, dword [esi + 0x20]
cmp byte [esi + 0x18], bl
jne 0x4ec446
cmp byte [eax + 0xb], 0
mov ebx, dword [esi + 0x1c]
js 0x4ec454
mov ecx, eax
call fcn.0048bea0
mov ecx, dword [ebp + 0x14]
mov dl, 1
mov dword [esi + 0x28], edx
cmp eax, dword [esi + 0x24]
jne 0x4ec43e
mov byte [edi], 2
dec dword [esi + 0xc]
inc dword [esi + 0x10]
mov eax, dword [esi + 0x20]
jmp 0x4ec3b4
mov byte [edi], 0
dec dword [esi + 0xc]
mov ebx, dword [esi + 0x1c]
jmp 0x4ec3b4
mov eax, dword [eax + 4]
jmp 0x4ec42b
mov ebx, dword [esi + 0x24]
test byte [esi + 0x28], 1
je 0x4ec306
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x4ec50f
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
add eax, edx
mov edx, dword [esi + 0x24]
mov ebx, edx
cmp eax, 2
mov edi, dword [ebp + 0x10]
jb 0x4ec306
mov ebx, edx
cmp edi, ecx
je 0x4ec306
mov ebx, dword [esi + 0x14]
cmp byte [ebx], 2
jne 0x4ec4c3
cmp byte [edi + 0xb], 0
js 0x4ec4cd
mov ecx, edi
call fcn.0048bea0
mov edx, dword [esi + 0x24]
mov ecx, dword [ebp + 0x14]
cmp eax, edx
je 0x4ec4c3
mov byte [ebx], 0
dec dword [esi + 0x10]
add edi, 0xc
inc ebx
cmp edi, ecx
jne 0x4ec4a1
jmp 0x4ec508
mov eax, dword [edi + 4]
jmp 0x4ec4b9
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xa8], 0
mov ecx, edi
call ebx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
jmp 0x4ec350
mov ebx, edx
jmp 0x4ec306
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xa8], 0
mov ecx, edi
call ebx
mov ecx, dword [ebp + 0x14]
jmp 0x4ec47b
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0048c490
mov ecx, dword [ebp + 0x14]
test al, al
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x1c]
je 0x4ec564
or byte [ebx], 2
cmp eax, ecx
mov edx, dword [esi + 4]
mov edi, dword [esi + 0x14]
je 0x4ec57b
cmp byte [edi], 2
je 0x4ec5a5
add eax, 0xc
inc edi
cmp eax, ecx
jne 0x4ec56e
or byte [ebx], 4
test edx, edx
je 0x4ec58f
push edx
mov edi, ecx
call fcn.0049e7e0
mov ecx, edi
add esp, 4
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
jmp 0x4ec57e