Function at 0x4c77d0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x32c8]
test eax, eax
je 0x4c77e7
cmp eax, 1
jne 0x4c78e8
mov ecx, 0x7cd25c
call fcn.00461db0
test al, al
je 0x4c7895
fld dword [esi + 0x48b8]
fcomp dword [0x59e440]
fnstsw ax
test ah, 5
jp 0x4c7818
mov dword [esi + 0x48b8], 0
jmp 0x4c7835
fld dword [esi + 0x48b8]
fcomp dword [0x59e7ec]
fnstsw ax
test ah, 0x41
jne 0x4c7835
mov dword [esi + 0x48b8], 0x40a00000
fld qword [0x8afe90]
fsubr dword [esi + 0x48b8]
fst dword [esi + 0x48b8]
fcomp dword [0x59e440]
fnstsw ax
test ah, 0x41
je 0x4c78e8
mov eax, dword [esi + 0x4894]
push 0xbf800000
push eax
mov ecx, 0x7cd25c
call fcn.00462ff0
fld st(0)
fchs
fstp dword [esp + 4]
fadd dword [esi + 0x48b8]
fld dword [esp + 4]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4c788f
fstp st(0)
fld dword [esp + 4]
fstp dword [esi + 0x48b8]
mov eax, dword [0x83ee60]
cmp eax, 0x3ff
jge 0x4c78cf
mov ecx, dword [0x8aae64]
inc eax
mov dword [0x83ee60], eax
mov eax, ecx
add ecx, 0x1b0
mov dword [0x8aae64], ecx
push eax
mov ecx, esi
call fcn.004c71c0
lea ecx, [esi + 0xc]
pop esi
add esp, 4
jmp 0x4ef2e0
mov eax, dword [0x8aae64]
push eax
mov ecx, esi
call fcn.004c71c0
lea ecx, [esi + 0xc]
pop esi
add esp, 4
jmp 0x4ef2e0
pop esi
pop ecx
ret
sub esp, 0x2c
fld qword [0x8afea0]
push ebx
mov ebx, ecx
fstp dword [esp + 4]
fld dword [ebx + 0x1018]
push ebp
fsubr dword [esp + 8]
push esi
push edi
fcom dword [0x59e4e0]
fnstsw ax
test ah, 5
jnp 0x4ef4d9
fcomp dword [0x59e46c]
fnstsw ax
test ah, 0x41
jne 0x4ef3ca
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x1018], eax
mov eax, dword [0x83ee60]
cmp eax, 0x3ff
jge 0x4ef351
mov edx, eax
mov eax, dword [0x8aae64]
inc edx
mov esi, eax
add eax, 0x1b0
mov dword [0x83ee60], edx
mov dword [0x8aae64], eax
jmp 0x4ef357
mov esi, dword [0x8aae64]
lea ecx, [ebx + 0x6e4]
call fcn.004e2760
mov edi, dword [eax]
lea ecx, [esi + 8]
mov edx, ecx
mov dword [edx], edi
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
mov edi, dword [eax + 8]
mov dword [edx + 8], edi
mov edi, dword [eax + 0xc]
mov dword [edx + 0xc], edi
mov ax, word [eax + 0x10]
mov word [edx + 0x10], ax
mov al, byte [ecx + 6]
test al, al
jne 0x4ef39a
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4ef39a
mov eax, 1
jmp 0x4ef39c
xor eax, eax
fld qword [0x8afea0]
neg al
push 0
push ecx
mov ecx, dword [ebx + 4]
fstp dword [esp]
push ecx
mov ecx, esi
sbb eax, eax
and eax, 0xfffffff4
add eax, 0x12
push eax
push 2
push 2
call fcn.004b33b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
lea edx, [ebx + 0x101c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + 0xc]
mov dx, word [edx + 0x10]
mov dword [esp + 0x34], ecx
lea ecx, [ebx + 0x6e4]
mov dword [esp + 0x30], eax
mov word [esp + 0x38], dx
call fcn.004e2760
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x18], edx
mov dx, word [eax + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, 9
lea edi, [esp + 0x14]
lea esi, [esp + 0x28]
xor eax, eax
mov dword [esp + 0x1c], ebp
mov word [esp + 0x24], dx
repe cmpsw word [esi], word es:[edi]
je 0x4ef4db
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x1018], ecx
mov eax, dword [0x83ee60]
cmp eax, 0x3ff
jge 0x4ef46d
mov edx, eax
mov eax, dword [0x8aae64]
inc edx
mov esi, eax
add eax, 0x1b0
mov dword [0x83ee60], edx
mov dword [0x8aae64], eax
jmp 0x4ef473
mov esi, dword [0x8aae64]
mov al, byte [esp + 0x1a]
test al, al
jne 0x4ef486
test ebp, ebp
jne 0x4ef486
mov eax, 1
jmp 0x4ef488
xor eax, eax
fld qword [0x8afea0]
mov edx, dword [ebx + 4]
neg al
push 0
push ecx
fstp dword [esp]
push edx
mov ecx, esi
sbb eax, eax
and eax, 0xfffffff4
add eax, 0x12
push eax
push 2
push 2
call fcn.004b33b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esi, 8
mov dword [esi], eax
mov ax, word [esp + 0x24]
mov dword [esi + 4], ecx
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edx
pop edi
mov word [esi + 0x10], ax
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret