Function at 0x4ec8a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, edx
push edi
mov edi, ecx
movzx eax, byte [esi + 4]
add eax, 0xfffffffc
cmp eax, 0x22
ja case.default.0x4ec8c2
movzx eax, byte [eax + 0x4ecaf0]
push ebx
jmp dword [eax*4 + 0x4ecacc]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x30]
shl eax, 2
push 0
push eax
call fcn.004f24e0
mov eax, dword [esi + 0x1c]
mov ecx, edi
mov edx, dword [esi + 0x34]
shl eax, 2
push 0
push eax
call fcn.004f24e0
mov eax, dword [esi + 0x10]
mov ecx, edi
mov edx, dword [esi + 0x2c]
shl eax, 4
push 0
push eax
call fcn.004f24e0
mov eax, dword [esi + 0x18]
mov ecx, edi
mov edx, dword [esi + 0x38]
shl eax, 2
push 0
push eax
call fcn.004f24e0
mov eax, dword [esi + 0x20]
mov ecx, edi
mov edx, dword [esi + 0x3c]
push 0
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.004f24e0
mov eax, dword [esi + 0xc]
mov ecx, edi
mov edx, dword [esi + 0x40]
shl eax, 3
push 0
push eax
call fcn.004f24e0
push 0
push 0x50
mov edx, esi
mov ecx, edi
call fcn.004f24e0
add esp, 0x38
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dl, byte [esi + 6]
xor ecx, ecx
mov dword [ebp - 4], ecx
test dl, dl
je 0x4ec997
lea ebx, [esi + 0x10]
mov edx, dword [ebx]
test edx, edx
je 0x4ec986
add dword [edx + 4], 0xffffffff
jne 0x4ec986
lea eax, [edx + 8]
cmp dword [edx], eax
jne 0x4ec986
push 0
push 0x18
mov ecx, edi
call fcn.004f24e0
mov ecx, dword [ebp - 4]
add esp, 8
mov dl, byte [esi + 6]
inc ecx
movzx eax, dl
add ebx, 4
mov dword [ebp - 4], ecx
cmp ecx, eax
jl 0x4ec962
movzx eax, dl
mov ecx, edi
push 0
mov edx, esi
lea eax, [eax*4 + 0x10]
push eax
call fcn.004f24e0
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 6]
inc eax
shl eax, 4
push 0
push eax
call fcn.004f24e0
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 0
je 0x4ec9f4
mov cl, byte [esi + 7]
mov eax, 1
mov edx, dword [esi + 0x10]
shl eax, cl
mov ecx, edi
shl eax, 5
push 0
push eax
call fcn.004f24e0
add esp, 8
mov eax, dword [esi + 8]
mov ecx, edi
mov edx, dword [esi + 0xc]
shl eax, 4
push 0
push eax
call fcn.004f24e0
push 0
push 0x20
mov edx, esi
mov ecx, edi
call fcn.004f24e0
add esp, 0x10
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x20]
mov ecx, esi
call fcn.004f1390
cmp dword [esi + 0x20], 0
je 0x4eca51
lea eax, [esi + 0x34]
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.004e8000
mov eax, dword [esi + 0x60]
mov ecx, esi
mov edx, dword [esi + 0x20]
shl eax, 4
push 0
push eax
call fcn.004f24e0
add esp, 8
push 0
push 0x7c
lea edx, [esi - 4]
mov ecx, edi
call fcn.004f24e0
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
add eax, 0x18
push 0
push eax
call fcn.004f24e0
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x10]
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x18]
dec ecx
and ecx, dword [esi + 8]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
cmp eax, esi
je 0x4ecaa0
lea ecx, [eax + 0xc]
mov eax, dword [ecx]
cmp eax, esi
jne 0x4eca97
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
mov ecx, edi
dec dword [edx + 0x1c]
mov edx, esi
movzx eax, byte [esi + 7]
jmp 0x4ecab5
mov eax, dword [esi + 0xc]
add eax, 0x11
push 0
push eax
call fcn.004f24e0
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret